cancel
Showing results for 
Search instead for 
Did you mean: 

FTP server access from SAP Application

Former Member
0 Kudos

Hi Experts,

As per our business, need to collect the data from FTP server & store in SAP table.

Now we already open the FTP port from SAP server (Unix) to FTP server (Windows). We need to check connectivity is working or not from SAP Application.

How check this connectivity between SAP Application to FTP server.

Please help men on this.

Thanks in Advance.

Milin

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Milin

First of all - if possible - please use SFTP for network communication ( as and when possible) .

1.  For FTP port checking , from your SAP server ( Unix ) :

> telnet  <Windows IP Address >  21

If the port is open , it will give you a black screen . Else the network team needs to look into it.

2.  Assuming that the port is open , then you need to fetch the data into the SAP table.

You can develop a data transfer script at the OS level ( .sh  script ) and then add it to External Commands via SM49 .

This command can be used by the ABAP Team to develop a Z-program  to put the data into the SAP Tables as required by the functionality.

Thanks

Rishi

Former Member
0 Kudos

logon to the UNIX server (may be <SID>adm or any other user) and execute following command :

ftp <windows_server_IP or Hostname>

this should prompt you for userID

Or you can also test whether FTP port is opened or not using following command to port 21-

telnet <windows_server_IP or Hostname> 21

If the port is opened then this should give you a blank screen else you need to check with network team to open the ports/firewall between your servers.

Former Member
0 Kudos

Dear Milin

I suppose you would have created RFC destinations to perform communication between SAP Application and FTP server. So, you can check the connectivity through the RFC destination only.

I hope this helps!!

Tapan