cancel
Showing results for 
Search instead for 
Did you mean: 

SAP-PI server connection to FTP server

Former Member
0 Kudos

Hi Experts,

I have a pricking issue with my SAP-PI 7.30 server not able to connect the FTP server ECC -> PI 7.30 -> FTP server.

Details of FTP server:

Link : ftps://ftpserver.name.com/testfolder/

Port : 900

Tried with options and it worked.

1.When tried FTP url, port 900 and with the user name and password, I am able to see the target directory using the tool FILE ZILLA CLIENT

in the same network of SAP-PI server .

Options with Error:

1.In Tx SM69 of PI server , used the PING command to ping ftps://ftpserver.name.com/testfolder/ it shows error

Ping request could not find host ftps://ftpserver.name.com/testfolder/. Please check ther name and try again.

External program terminated with exit code 1

2.So changed to ftpserver.name.com and now i get the error

Pinging ftpserver.name.com [81.239.*.***] with 32 bytes of data:                                                                                                                                                                                   

Request timed out.                                                                                                                                                                                                                                           

Request timed out.                                                                                                                                                                                                                                            

Request timed out.                                                                                                                                                                                                                                            

Request timed out.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Ping statistics for 81.239.*.***:                                                                                                                                                                                                                                 

Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),                                                                                                                                                                                                    

External program terminated with exit code 1

3.Now using the CMD tool and command telnet ftpserver.name.com 900

Error : Could not open connection to the host , on port 23: Coonect failed.

4.Maintained the parameters in Receiver File Communication Channel like

Host Name : ftpserver.name.com

Port : 21

User : sasasa

Pwd : ******

 

Error : FTP connection to host ftpserver.name.com and port 21 can not be created.

4.When testing connection from FTPJDBC tool (SAP Note : 1085539), it shows

IOException Occurred while reading from socket.

Regards

Alice

Accepted Solutions (1)

Accepted Solutions (1)

markangelo_dihiansan
Active Contributor
0 Kudos

Hello Alice,

In Tx SM69 of PI server , used the PING command to ping ftps://ftpserver.name.com/testfolder/ it shows error

Ping request could not find host ftps://ftpserver.name.com/testfolder/. Please check ther name and try again.

External program terminated with exit code 1

Have you tried telnet in SM69? Please use IP instead of hostname.

Maintained the parameters in Receiver File Communication Channel like

Host Name : ftpserver.name.com

Port : 21

User : sasasa

Pwd : ******

Error : FTP connection to host ftpserver.name.com and port 21 can not be created.

You are using port 900 and not 21

Regards,

Mark

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Alice,

Just a few more suggestions...

Some possible causes:

- It may be that the 'ping' and 'telnet' facilities may be disabled on the FTP server.

- It can also be a firewall issue between PI server and ftp server.

- Maybe also an issue resolving the hostname.

Try the following from the PI server:

- Get the IP address of the FTP server, you can pick this up from the FileZilla client before it connects to the FTP server - you'l see it resolving the hostname to an IP address in the "log" before it says connected. Then try a ping just using the hostname (ftpserver.name.com). If that fails try a ping with just the IP address.

- If the above fails, it could mean that pinging is disabled on the ftp server or there's something blocking your view from the PI server to the FTP server (firewall).

Next step would be trying to issue an FTPs command from the command line - OS level on PI server(if you have Unix OS). Maybe a Basis activity. Something like:

curl --ftp-ssl ftp://ftpserver.name.com/testfolder/

Still no luck - revert it to all back to Basis to establish connectivity between PI and FTP server.

Regards, Trevor