cancel
Showing results for 
Search instead for 
Did you mean: 

FTP File Issue

Former Member
0 Kudos

Hi,

I am working on the File to IDoc scenario. I have configured an FTP server in the local machine as specified in the blog https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/4120. [original link is broken] [original link is broken] [original link is broken]

But in the communication channel monitoring i am getting the error as "Error occurred while connecting to the FTP server "10.201.140.161:21": java.net.SocketException: Connection timed out:could be due to invalid address".

"Error occurred while connecting to the FTP server "10.201.140.161:21": java.net.ConnectException: Socket connection timed out: 10.201.140.161:21"

How to resolve this issue?

Regards

Sowmya

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

check this in explorer or using ftp client and c if it works

ftp://10.201.140.161

if this is successful then c if a firewall is preventing the access

Former Member
0 Kudos

Hi Arvind,

I am able to open the FTP connection using the explorer. How can i remove the firewall settings to access the FTP server.

How to check that the firewall setting is preventing this access..?

Former Member
0 Kudos

Hi,

Check with control pannel----windows fire walls

make sure that you have selected Off radio button .

Ask your network admin to enable the permission to access the folder.

ask them to give the read,,write,,,permissions

Regards

Giri

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Sowmya,

Are you using the ftp server given in the blog(GuildFtp) ?

If yes, then after putting file in source folder check in ftp server control screen that whether the user specified in Comm. channel is logging in to the ftp.

If not then check his credentials in the CC. and the access rights of the folder.

Follow this approach.

I faced the same error and I had given wrong credentials.

I am also using the same GuildFTP.

It works fine.

Please revert back in case of further issues.

Regards,

Sumit

Former Member
0 Kudos

Hi Sowmya,

First check whether u can ping the ftp server from ur XI system. And also check the authorization of the user for the FTP server.

Troubleshooting

/people/shabarish.vijayakumar/blog/2007/07/26/troubleshooting-the-file-adapter-last-updated-on-02-july10

Regards,

Kumar.S

Former Member
0 Kudos

HI,

R u able to ping the server from command prompt.

go to run write cmd

then write a command ping server address.

check whether it is pinging to the server.

Check the LAN conncetion parameter from IE.

Thnx

Chirag

Former Member
0 Kudos

HI,

I think its not able to login on to the local FTp server check the username and password and the FTP conncetion parameters in the file adapter comm channel alos chekc the directory path of the file.

Thnx

Chirag