cancel
Showing results for 
Search instead for 
Did you mean: 

FTP Set up - error

Former Member
0 Kudos

Hi Guys,

I am transferring file from FTP server to SAP server using the F.M SXPG_COMMAND_EXECUTE but the same same program executes in QAS server but not in DEV server.

I have checked in External command in SM69 and SM49 in both the systems both are same and I debugged and found that CALL FUNCTION 'SAPXPG_END_XPG' in side the

SXPG_COMMAND_EXECUTE gives the error in DEV server.

I am using a .BAT file and additional parametes I am using the FTP command with primary- proxy

Pls find the log

ftp> Invalid command.#

ftp> *****************

Invalid command.#

ftp> *************

Not connected.#

ftp> cd *********

Not connected.#

ftp> ls

quit

ftp: connect :Connection refused

where as in QAS server the BAT file executes and gives me the list of files which is in the respective FTP server.

Please let me know the error and I hope some thing to do with server profile setup.

SAP application server is running on WINDOWS NT.

regards,

Prabhu

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Prabhu,

Did you try manually FTPing with those login credentials?

Thanks,

Manoj

Answers (2)

Answers (2)

markus_doehr2
Active Contributor
0 Kudos

Is an FTP server set up on the target system? Windows doesn't has an FTP server installed by default, you need to install IIS and activate FTP...

Markus

Former Member
0 Kudos

Hi,

Please check port 23 for FTP on server is enabled.

Regards,

Sachin Rane.