cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

Hi,

Would you please tell me how I can give the right FTP file access Source Directory, when I use FTP to pick up a file in specific directory? My XI is installed in Unix.

for example, my user name is myang and is in /home/. FTP server is installed in /ftproot/. My file is in /usr/SAP/globlal/ and the file name is input.txt. I use FTP to pick up the file and send to somewhere. Then in "File Access Parameters" tab in FTP sender communication channel, what do I write in the "source Directory"? Thank you very much!

Meiying

0 Likes
View Entire Topic
Former Member
0 Likes

Source Directory: /usr/SAP/global/

File Name: input.txt

and in the FTP Connection Parameter specify the

Server, Port:21, uncheck the anonymous login and specify your username and password.

Hope this helps.

Tirumal

Former Member
0 Likes

Tirumal,

Thank you for your reply! But It does not work. It says "ConnectException: Connection refused".

Meiying

Former Member
0 Likes

Can you check if its a problem with firewall.

See if Port 21 for FTP Connection is closed. May be that could be the problem.

Thanks,

Tirumal

henrique_pinto
Active Contributor
0 Likes

Usually, unix servers only enable sFTP (which is accessed through port 22), not regular FTP.

Regards,

Henrique.

Former Member
0 Likes

I am having our system administrator check it now. He has not anser yet.

Meiying