Application Development and Automation 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: 
Read only

Invalid FTP Handle

pankaj_adhikari
Active Participant
0 Likes
2,114

Hi All

We have an issue where files are properly transferring to FTP through frontend but files are not going through background. The error is 'Invalid FTP Handle' We already have regenerated SAPFTP & SAPFTPA & it did not worked. We also tried changing FTP destination to SAPFTPA in program but no luck. 

I have seen many threads but none of the suggestion works.

Pls advice.

Regards

Pankaj

Hi All

We have an issue where files are properly transferring to FTP through frontend but files are not going through background. The error is 'Invalid FTP Handle' We already have regenerated SAPFTP & SAPFTPA & it did not worked. We also tried changing FTP destination to SAPFTPA in program but no luck. 

I have seen many threads but none of the suggestion works.

Pls advice.

Regards

Pankaj

2 REPLIES 2
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,274

Reminder

  • SAPFTP: starts sapftp on the front-end workstation
  • SAPFTPA: starts sapftp on the application server

We also tried changing FTP destination to SAPFTPA

In background, no front-end available, you MUST use SAPFTPA, don't try, do it!

Hint: To analyze connection problem, start a trace (checkbox under SM59) Look for the file dev_ftp, located in the current work directory.

Regards,

Raymond

Read only

pankaj_adhikari
Active Participant
0 Likes
1,274

Hi All

We resolved this issue by installing WINSCP which doesn't requires SAPFTPA.

Below is the process-

a) Download Winscp in SAP server.

b) Check connectivity of Winscp from 'CMD'.

c) Create command in Tcode-SM69 which will call Winscp.

d) Call configured command in point (c) using function module SXPG_Command_Execute.

The background jobs will work with above process.

Thanks

Pankaj