Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

FTP not connecting in background but working in forground

0 Kudos

Hi,

there is program to transfer file from SAP to FTP server and it is working properly in foreground but while executing in background ftp connection not establishing and result file not transferring to FTP location. i have gone through many thread and tried but getting same result. i have tried with both RFC destination (SAPSFTP and SAPSFTPA).

attaching my code sample for reference.

kindly suggest where i am going wrong.

Regards,

Atiqueftp.txt

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor

First check your system with a report such as RSFTP003.

(Ask your network admin for SAPROUTER and other network options which could block the connection/transfer from/to server and not from/to your client PC)

NB: Use SAPFTP in foreground (run on client) and SAPFTPA in background (run on server)

6 REPLIES 6

raymond_giuseppi
Active Contributor

First check your system with a report such as RSFTP003.

(Ask your network admin for SAPROUTER and other network options which could block the connection/transfer from/to server and not from/to your client PC)

NB: Use SAPFTP in foreground (run on client) and SAPFTPA in background (run on server)

0 Kudos

thank you for reply,

i have run the report RSFTP003 and below result found.

Don't worry for error if you are not allowed to delete file, connection and put/get were okay. Did you get same result with SAPFTP and SAPFTPA?

If test OK, then correct your program copying some code from the demo/check program

0 Kudos

yes, result for the both SAPFTP and SAPFTPA is oke.

now im doing modification in my program a per your suggestion and will try again.

thanks for your quick response.

0 Kudos

this is resolved ....issue was with with authorization for the user.

thanks,

atique

0 Kudos

Hi, name's Dio. I got same issue here, can you explain to me what do you meant authorization user ? are you using SAPFTP or SAPFTPA ?

Regards,

Dio