cancel
Showing results for 
Search instead for 
Did you mean: 

What to do when FTP Target Directory not needed

Former Member
0 Kudos

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?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

hi

check the below link

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6945da7d-0c01-0010-1792-dd7...

note:reward points if solution found helpfull.....

regards

chandrakanth.k

Former Member
0 Kudos

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