Submit  XML - FTP Server wants username and password

I am new to Livecycle and very excited about the product.
I would like the Acrobat 8 users of my PDF form (that was created in Livecycle 8.2) to submit their XML data to my ftp server when they hit my submit button.
I have create a submit button and entered into the object URL:ftp://xxx.com/home/wildedge/public_html/docs/
Submit as: XML Data (XML)
Data Encoding: UTF-8
My ftp server wants a username and password to be entered before it will allow a file transfer. How do I submit my username and password with this submit button?

Here is the PHP Script I ended up using on this project to make it all work, I called XMLupload.php. Just in case someone has the same questions I had.
<br />
<br /><?<br /?>
require_once("configuration.php");
<br /> $conf=new JConfig();
<br /> $con=mysql_connect($conf-&gt;host,$conf-&gt;user,$conf-&gt;password);
<br /> mysql_select_db('wilder_joomla',$con);
<br />
<br /> define('ADMIN_ROOT_DIR',dirname(__FILE__));
<br /> $xml_uploaddir = ADMIN_ROOT_DIR."/administrator/xml/";
<br /> $pdf_uploaddir = ADMIN_ROOT_DIR."/administrator/pdf/";
<br />
<br /> function random($length)
<br /> {
<br /> $hash =date('YmdHis',time()+8*3600)."_";
<br /> $chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyz';
<br /> $max = strlen($chars) - 1;
<br /> mt_srand((double)microtime() * 1000000);
<br /> for($i = 0; $i &lt; $length; $i++)
<br /> {
<br /> $hash .= $chars[mt_rand(0, $max)];
<br /> }
<br /> return $hash;
<br /> }
<br /> function get24hTime($time){
<br /> if(strpos($time, "am")){
<br /> $time = trim(str_replace("am","",$time));
<br /> $temp = split(":",$time);
<br /> return substr("0".$temp[0],strlen($temp[0])-1).":".$temp[1];
<br /> }else if(strpos($time, "pm")){
<br /> $time = trim(str_replace("pm","",$time));
<br /> if(substr($time,0,2)=="12") return $time;
<br /> return strval(intval(substr($time,0,strpos($time,':')))+12).substr($time,strpos($time,':'));
<br /> }
<br /> }
<br />
<br /> $file_path = $xml_uploaddir.random(10).".xml";
<br /> $temp = split("/",$file_path);
<br /> $xml_path = $temp[count($temp)-2]."/".$temp[count($temp)-1];
<br />
<br /> $body = file_get_contents("php://input");
<br /> $fp=fopen($file_path,"w");
<br /> fwrite($fp,$body);
<br /> fclose($fp);
<br />
<br /> $xml=simplexml_load_file($file_path);
<br /> $nodes=$xml-&gt;xpath("/form1/P1");
<br /> $xml_groupname=$nodes[0]-&gt;group_name[0];
<br /> $xml_groupname=addslashes($xml_groupname);
<br /> $xml_checkin_date=$xml-&gt;DateofArrival;
<br /> $xml_checkin_time=get24hTime($xml-&gt;ArrivalHour);
<br /> $xml_checkin_date.=" ".$xml_checkin_time.":00";
<br /> $xml_contact_person=$nodes[0]-&gt;contact_name[0];
<br /> $xml_contact_email=$nodes[0]-&gt;contact_email[0];
<br />
<br /> /*
<br /> print_r("FilePath: $file_path
<br />");
<br /> print_r("GroupName: $xml_groupname
<br />");
<br /> print_r("checkin_date: $xml_checkin_date
<br />");
<br /> print_r("contact_person: $xml_contact_person
<br />");
<br /> print_r("contact_email: $xml_contact_email
<br />");
<br /> */
<br />
<br /> $sql = "insert into jos_xml_files (status,file_path,pdf_path,group_name,checkin_date,contact_person,userid,add_time,email) values (0,'$xml_path','','$xml_groupname','$xml_checkin_date','$xml_contact_person',0,now(),'$xm l_contact_email')";
<br /> mysql_query($sql);
<br /> $message ='
<ul class="noindent">
<li>XML file is uploaded successfully.</li>
<li style="list-style: none">';
<br /> mysql_close($con);
<br />?&gt;
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br /></li>
</ul>
<div id="showmsgmain">
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<table width="57%" align="center" style="border:1px solid #e5e5e5">
<tr>
<td height="25" bgcolor="#E5E5E5">&#160;Information suggested!</td>
</tr>
<tr>
<td height="122">
<br />
<div style="margin-left: 2em; color:#0066CC;">
<br /> <?php echo $message;?>
<br /></div>
<br /></td>
</tr>
</table>
<br /></div>
<br />
<br />

Similar Messages

  • Hi guys, I was presented with iPhone and then I rewrote the program, but right now, the ability to such a problem ..... want username and password

    hi guys, I was presented with iPhone and then I rewrote the program, but right now, the ability to such a problem ..... want username and password

    I don't understand. What "program" do you mean, and what do you mean by "rewrote"? If you mean that the iPhone has Activation Lock - that is, you restored the iPhone and now it's asking for the previous owner's Apple ID and password to activate the device - then you will need that information, or you'll need to get the previous owner to remove the device from his/her iCloud account:
    http://support.apple.com/kb/PH2702
    If you can't reach the previous owner or he/she is unwilling to cooperate, then the device is unusable by you.
    Regards.

  • Can not specify the SMTP server port, username and password for my SharePoint 2013 web application

    We have our SMTP server under port number 141 and we should add username and password. but inside SharePoint 2013, I can only define the SMTP server name , from email, reply-to . But there are not fields to define the port number , the username and password.
    So can anyone advice from where I can define the port number and other field settings for the SMTP server ?
    Thanks

    i am no sure about user name and password. i never saw that option.
    check this guide:
    http://blogs.technet.com/b/tirumals/archive/2012/03/17/step-by-step-configuration-of-outgoing-emails-from-sharepoint-to-microsoft-online.aspx
    http://blog.fpweb.net/configuring-an-smtp-server-for-sharepoint/#.UuANoxAo6M8
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog
    thanks for the reply, but in our case the SMTP is  a separate server , and to connect to it i need to define the ; server IP /Name , port number, username & password. but in SharePoint there is no option to define the port number , and the links you
    provide are regarding configuring SMTP server, while we already have an SMTP server but i need to connect SP with it . can you advice please?

  • HT1843 I'm using manual proxy setting for my wifi network, how can i save my manual proxy setting , in maual HTTP Proxy i have give server,port username and password details but it asking again and again pop window( Authentication for HTTPS proxy) how can

    give me soluiton.

    Hi,
    My thought is to check the current IP of the server, as your smb.conf has the line interfaces = 192.168.1.109 which means samba will only listen on that interface for requests. If the IP of the server has changed, that would explain why samba isn't working.

  • Copying files from local computer to a remote server which is not in Domain and with username and password?

    "I have one workstation with static IP, Wants to create batch file to log in to this,using user name and password, copy back up files from that workstation to my desktop with batch file, please help
    I am currently using batch file for back up for domain servers with robocopy commands in batch file  but one of the workstation is not in domain and has static ip , also it has username and password,
    Wants to create batch file on my desktop to log in this server---with username and password,, copy files from particular folder and paste it on my desktop in particular folder or auto create that folder,
    please help, "
    P Dave

    JRV,
    I can understand that, 1stly I am not a scripting guy, I know very very basic of this,
    2ndly, I need help , I am not asking anyone here to write code for me, I have already wrote that but its not doing which its suppose to do,
    check below screen shot, after running suggested script, it has mapped drive ,
    now I do not want to do that, I want just files to copy from that machine to my machine, and want script which I can run from any PC,
    Tried with UNC PATH as well, but not making any difference, its keep mapping that server drive to my computer
    P Dave
    JRV,
    I can understand that, 1stly I am not a scripting guy, I know very very basic of this,
    2ndly, I need help , I am not asking anyone here to write code for me, I have already wrote that but its not doing which its suppose to do,
    check below screen shot, after running suggested script, it has mapped drive ,
    now I do not want to do that, I want just files to copy from that machine to my machine, and want script which I can run from any PC,
    Tried with UNC PATH as well, but not making any difference, its keep mapping that server drive to my computer
    P Dave
    Bill - he still sees that "connection" although it isn't mapped it is attached temporarily.
    P - Log off and log back on and the attached connection will be gone.  It is temporary.   Again - knowing the basics of WIndows would let you know this.
    We have given you all of the answers that are possible.  There is no other way unless you have installed things like PowerShell and PowerShell remoting or an FTP server.
    If you do use a drive it can be just as easily deleted after you have finished the copy.
    Again: "NET USE /?" will tell you all of the options.
    Saying you know nothing is not an excuse for not thinking or looking more deeply into the suggestions made by those trying to help you.  This is not a MIcrosoft support forum or help desk.  It is a forum for admiinistrative scripting and assumes
    that those coming here are technically trained or experienced in the basics of Windows technology.
    ¯\_(ツ)_/¯

  • I have AirPrint on my Ipad...when I try to printected my printer, a box comes up asking for username and password.  What do I do?

    I have AirPrint on my Ipad...when I try to print, a box opens and wants username and password.  HELP!!

    What is the content of the target field of that shortcut if you open the properties via the right-click context menu?

  • Reg : How can I get  Username and Password in FTP Server in HANA

    Hi All,
      Any one can you please guide me....How can i get username and Password of FTP Server in SAP HANA?
    Regards,
    Arjun

    Hi Arjun,
    Are you looking for external authentication(External ID option) in HANA Studio instead of logging by entering HANA User and Pwd(which is internal)?
    You can look for the following Security guide which will give you some insight on this.
    http://help.sap.com/hana/hana1_sec_en.pdf
    Rgds,
    Murali

  • HP 8500 PLUS-scan to email - "SMTP server want approval- control SAMTP username and password"

    I have this brand new PRO 8500 PLUS machine, and everything is working except for the "scan to email" function.
    I did the setup in the web interface, in which I configured my GMAIL account to be the outgoing account in the printer.
    In the end I pressed "save and test" and it reported OK! I used my full GMAIL adress as SMTP username, and my GMAIL password as password.
    However, when I scan a paper and try send it to myself (same adress as confgured as outgoing in printer) it says something like(bad translation...)
     "SMTP server demands approval - check that SAMTP username and password is set" 
    Network config is:
    IP adress: 192.168.0.183
    Subnett mask: 255.255.255.0
    Standard gateway: 192.168.0.1
    DHCP
    Primary DNS server: 192.168.0.1
    Secundary DNS server: 0.0.0.0
    Printer is connected wirelessly to a DLINK DIR 655 .
    This question was solved.
    View Solution.

    Hey Cartman9090,
    Alright i did a little bit of researching and this is what i was able to come up with. There are two separate settings that perform two different actions.
    1. Under settings in the printer EWS you have email servers and individual settings for alerts. The email server settings under setting in the ews allow you to set up the product to send problem and status alerts to anyone through e-mail messages. When this function is configured, alerts are automatically triggered about supplies, paper-path status, and other service and advisory information.
    2. Under scan when configuring the scan to email in the EWS this is for configuring the e-mail address which will appear in the FROM portion of the e-mail message sent by the printer. The device allows you to scan documents and send them to one or more e-mail addresses as attachments—without additional scanning software. You do not need to scan files from your computer and attach them to e-mail messages. In addition to send scanned files as emails the device must use a outgoing email profile configured with an outgoing email account.
    **Click the KUDOS star on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.
    (Although I am employed by HP, I am speaking for myself and not for HP)

  • How easy to sniff a public FTP/HTTP username and password?

    Hi IT Colleagues,
    I understand that using plain FTP/HTTP , it is possible to sniff username and password using sniffer like wireshark.
    However, I just to want know how easy to do it.
    I know that in order to sniff , you should be in the same network or subnet as the website or ftp site.
    Regards,
    Jhun

    It is trivially easy to sniff credentials out of FTP and HTTP due to the fact there is no encryption at play. One should also not simply consider the risks of someone running a sniffer on your local area network, or on the local area network of the remote
    server, website or ftp site, but should consider the possibility for traffic to be sniffed along the way. The NSA is doing a rather good job of sniffing all of our traffic, credentials and all! Don't just worry about someone like the NSA though, a malicious
    user on an ISP network, or an administrator of a proxy server could just as easily sniff the plain text traffic.
    Kieran Jacobsen @kjacobsen http://aperturescience.su

  • How do I connect to an SMTP server that requires a username and password?

    Hi,
    I am currently working on a project for university which requires me to send and receive email. I was until this week able to send mail no problem, but now the SMTP server has been upgraded so that each time a mail is sent it requires the username and password.
    Ideally the connection should be made using TLS/SSL, and not use the Authenticator method. I want to pass the username and password directly if possible.
    I've been trying to use the following but have been getting handshake, and other exceptions:
    SMTPSSLTransport smtpSSLtransport = new SMTPSSLTransport(session,
                        new URLName("smtp", smtpHost, port, null-File,
                        "USERNAME", "PASSWORD"));
            smtpSSLtransport.setStartTLS(true);
            smtpSSLtransport.connect(new Socket(smtpHost, port));
            smtpSSLtransport.sendMessage(smtpMessage,                                                     message.getAllRecipients());
            smtpSSLtransport.close();Can anyone correct this piece of code for me or point me in the right direction of what classes and methods I should be using?
    Many thanks in advance,
    Gordon

    I always wonder what misleads people to do things this way.
    Was there some example you saw that suggested that instantiating
    an SMTPSSLTransport was the correct approach? I hope not.
    See the smtpsend.java demo program for how to use SMTP
    authentication. If you need to use SSL, see the SSLNOTES.txt
    file for hints on using the "smtps" protocol. smtpsend.java also
    illustrates use of SSL, but you'll need to fix a bug in it to use the
    correct property names ("mail.smtps.auth", etc.).

  • Username and Password for Pushes to a Team Foundation Server

    Hello,
    I have a team foundation server with a collection of projects, all of which use Git for their version control.  One of my projects, is basically a bunch of Excel files with macros, so I do all my source code editing in Excel's VBA editor and not in
    Visual Studio.  I want to push my local changes to the server using Git Gui, but when I try to do so, the gui asks me for a username and password.  I am the sole administrator of this server and all its projects, so I should have access to the username
    and password, but I have no idea what they are or where to find/change them online.  Does anyone know where I can find this information?
    Thanks in advance!

    To delete an offered choice for the username, select the entry in the drop-down list and press the "'''Del'''" key.

  • FTP Usernames and Password issues in DW 8 for Macintosh

    Hi,
    I have an issues in DW8 on Mac OS 10.4.9. Every so often, my
    FTP usernames and passwords in the Dreamweaver site definitions
    will swap. That means that the username from one site will now be
    in the site def for another site. Nothing else ever swaps, e.g.,
    the local paths, passwords, and other settings are fine. It is just
    the usernames that seem to move from site to site at random. If I
    have a test server set up for a site, it also happens there. I've
    looked everywhere and can't find anybody else who has had this
    problem. I know there is a similar issue on Windows with IE7, but
    haven't seen anything on the Mac. This happens on both my G5 tower
    and iBook. If anyone has any thoughts or suggestions, I would
    appreciate it. It's not too big of an inconvenience, but it is
    annoying. Thanks in advance!
    Brian

    Although it may not be the solution, have you installed the
    8.0.2 updater?
    http://www.adobe.com/support/dreamweaver/downloads_updaters.html
    Regards
    John Waller

  • Submit Button - Username and PassWord

    Hi Experts,
    I have a wsdl file and created a data connection and placed the submit button at the end of the form.
    I want to submit the data to sap by cliking , and according to my rek we need to enter the username and password before the data going to SAP.
    What to do for this.
    Thanks in Advance,
    Praveen

    Praveen,
    Check out Juergen's reply in following thread:
    Authenticating an R/3 web service in adobe form
    And check step 10 from Lisha's blog : /people/lisha.peter/blog/2007/10/16/purely-offline-adobe-scenario-for-bapi-call
    Chintan

  • Ftp username and password when downloading ?

    Hi,
    I'm asked an username and password when trying to download JEE edition 5 (name for ftp://ftp.sap.com).
    What does it mean ?
    Thanks for Help.
    Etienne
    PS : server seems to be busy with more than 150 simultaneous connection....

    Hi Etienne!
    Our official download location is the one <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn?rid=/library/uuid/da699d27-0b01-0010-99b0-f11458f31ef2">on SDN</a>. Or is there anything that limits you to the use of the FTP protocoll?
    Best Regards,
    Robin

  • How to configure JMS-Server to use username and password

    Hi
    Maybe this is a real stupid question, but please help me, I'm not very experienced using JMS:
    I'm using JMS (provided by OC4J / Application Server 10.1.3). I configured a ConnectionFactory (without username and password) and a Queue and there is also a application, which successfully opens the JMS-Connections.
    This works well as long as I do not provide a username und password in the ConnectionFactory (EnterpriseManager: OC4J/Admin/Services/JMS-provider...). If I do this, my application terminates with the following stacktrace:
    javax.jms.JMSSecurityException: JMSServer[aplora2:12602]: failed to authenticate "myuser/mypassword", no such user.
         at com.evermind.server.jms.JMSUtils.make(JMSUtils.java:1034)
         at com.evermind.server.jms.JMSUtils.toJMSSecurityException(JMSUtils.java:1090)
         at com.evermind.server.jms.JMSServer.getJMSServer(JMSServer.java:1237)
         at com.evermind.server.jms.JMSServer.getJMSServer(JMSServer.java:1213)
         at com.evermind.server.jms.InContainerProxy.getJMSServer(InContainerProxy.java:93)
         at com.evermind.server.jms.EvermindConnection.<init>(EvermindConnection.java:103)
         at com.evermind.server.jms.EvermindQueueConnection.<init>(EvermindQueueConnection.java:62)
         at com.evermind.server.jms.EvermindQueueConnectionFactory.unprivileged_createQueueConnection(EvermindQueueConnectionFactory.java:98)
         at com.evermind.server.jms.EvermindQueueConnectionFactory.access$000(EvermindQueueConnectionFactory.java:42)
         at com.evermind.server.jms.EvermindQueueConnectionFactory$1.execute(EvermindQueueConnectionFactory.java:78)
         at com.evermind.server.jms.InContainerProxy.doSecureOp(InContainerProxy.java:157)
         at com.evermind.server.jms.EvermindQueueConnectionFactory.createQueueConnection(EvermindQueueConnectionFactory.java:75)
         at com.evermind.server.jms.EvermindQueueConnectionFactory.createQueueConnection(EvermindQueueConnectionFactory.java:66)
         at sam.model.messages.MessageManager.<init>(MessageManager.java:74)
    where "myuser" and "mypassword" are the username and password I entered in the ConnectionFactory. (My Application certainly uses the same username and password)
    I expected, that by entering username and password here I would configure my Queue to be protected by them. But obviously there are some very basic things I didn't understand. Can anyone give me a hint, how I can protect the (OC4J-) JMS-Server or the Queue by username and password?
    Thanks for your help
    Frank Brandstetter

    Hey Frank -
    Assuming you've set up users in the "Security Manager" for your application, you can specify what JNDI resources they can "read" (and thus also connect to) via the orion-application.xml file. Look at the following snippet from the orion-application.xml file:
         <namespace-access>
    <read-access>
    <namespace-resource root="jms/firstQueue">
    <security-role-mapping impliesAll="false" name="jmsSecurity">
    <user name="scooter"/>
    </security-role-mapping>
    </namespace-resource>
    </read-access>
    <read-access>
    <namespace-resource root="delme">
    <security-role-mapping impliesAll="false" name="jmsSecurity">
    <group name="messagingUsers"/>
    </security-role-mapping>
    </namespace-resource>
    </read-access>
    </namespace-access>
    This would say that only the user "scooter" that you've set up would have access to the Queue whose JNDI name begins with jms/firstQueue. Anyone you've set up and added to a messagingUsers group would have access to any Queues whose JNDI name begins with "delme". (I'm honestly not sure what exactly this line does: <security-role-mapping impliesAll="false" name="jmsSecurity">)
    This is the only way I've found to limit access to a particular Queue.
    HTH.
    Scott

Maybe you are looking for

  • A/P Down payment invoice cannot be drawn to credit memo

    Hi Experts When i try to draw a A/P down payment invoice into a A/P credit memo, it gives me an error like Basetype mismatch what could be the reason for this ? Thanks & Regards Kanishka Wickrama

  • How to programmatically wait for child LOV to refresh

    Folks, I have a parent/child (i.e., cascading) pair of LOVs; they work great.  But I need to be able to set the values of the two LOVs programmatically w/ JavaScript.  I have the following JS function: function setHostID_DatabaseID (aHostID, aDatabas

  • EA1 - Manage Database doesn't work

    Environment: Windows 2000 Connected to Oracle 10.2 or 9.2 (Using oracle spatial) Right click on a connection and go Manage Database. It brings up a tab with this text in the middle of it Only Oracle connections are currently supported to display stat

  • Logic Pro 9 documents not opening after installation of Lion (10.7)

    Since I installed Lion (OSX 10.7), I'm having a problem opening my Logic Pro (9.1.4) files. Any file I open, I receive the following error message: "The Document (name XXXX) could not be opened". I have to find another logic document or the original

  • Why is Firefox for Android and Nook HD+ such garbage?

    it's very annoying, u can't save pages, the menu system sucks, the top is stupidly designed to hide after a few seconds, the tab system is stupidly hidden and confusing and hard to use! make it the way it is in windows, not this simpleton trendy crap