Skip to Content
Former Member
Mar 11, 2009 at 08:31 AM

FTP Set up - error


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


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.