on 03-20-2008 7:00 AM
We have to connect up to a customers FTP server to send files to them. They gave us the IP address, user ID and password, but no target directory. I asked them to provide this but they told us there was no need for this and gave a code example to show how the FTP session should work:
C:\>ftp *.***.com
Connected to *.****.com.
220 Welcome to ****** FTP
User (*.****.com:(none)): <your Service ID>
331 User name okay, need password.
Password:<your password>
230 User logged in, proceed.
ftp> bin
200 Type set to I
ftp> put INVOICE.xml
200 PORT command successful.
150 Opening I mode data connection for INVOICE.xml.
226 Transfer completed for "INVOICE.xml".
ftp: 8330 bytes sent in 0,00Seconds 8330000,00Kbytes/sec.
ftp> bye
221 Logged out, closing control connection.
Question is, given I don't have any information for the directory to use, what do I put to the Target Directory field of the FTP adapter, since it is a mandatory field?
hi
check the below link
note:reward points if solution found helpfull.....
regards
chandrakanth.k
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think the customer wants u to write the file on ftp root folder
in this case, it would be
target directory = /
thats is,, this should write file on root of ftp server
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.