‎2005 Feb 25 5:22 PM
Hi !!
I have a big trouble, i need transfer a file from SAP to remote server using ftp protocol and background job. Iu00B4am using the function:
CALL FUNCTION 'FTP_CONNECT'
EXPORTING
USER = P_/CCSAT/MXKWMDIPF_ZUSER
PASSWORD = P_/CCSAT/MXKWMDIPF_ZPASSWORD
HOST = TEXT-010
RFC_DESTINATION = 'SAPFTPA'
IMPORTING
HANDLE = HDL.
Everything runs fine if the program is executed in foreground and using SAPFTP destination.
But the problem happens when the program is executed in background job and using SAPFTPA destination.
The flag Trace is enable in transaction SM59 for SAPFTPA destination and the results are following:
Fri Feb 25 10:21:39 2005
[2524] sccsid:@(#) $Id: //bas/46D/src/krn/ftp/ftpmain.c#21 $ SAP
@(#) $Id: //bas/46D/src/krn/ftp/ftp.c#19 $ SAP
@(#) $Id: //bas/46D/src/krn/ftp/ftpcmd.c#19 $ SAP
[2524] FTP Start : argc - 6 a0 - E:\usr\sap\DES\SYS\exe\run/sapftp
DEVSERVER sapgw00 48499140 CPIC_TRACE=2 IDX=2
[2524] RFC DLL loaded
[2524] RFC Version 46D
[2524] Install server functions
[2524] Call RfcAccept
[2524] Enter RfcDispatch loop
[2524] Partner codepage 1100
[2524] connect request host : HENDRIX.PACCAR.COM , user : dlrv525
ERROR => [2524] Connect failed : NIECONN_REFUSED [ftp.c 155]
[2524] FTP Stop
Please, somebody can help me?
Regards
‎2007 Apr 20 4:29 PM
Hi Mario
Were you able to fix this issue. I am having the same issue right now. I am unable to connect to the clients ftp server by setting SAPFTPA
‎2012 Sep 20 11:44 PM
‎2012 Sep 21 6:49 AM
Hi Mario,
Please refer the below link.Hope it helps .
http://scn.sap.com/message/7739287#7739287
Regards,
Suvarna
‎2013 Aug 06 12:31 PM
Hi Mario,
When i am using destination SAPFTP then it is working properly but,using of SAPFTPA it is
giving error 'attempt to set up connection failed '.
can u tell me how to solve this error.
thanks
ravish