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

'FTP_COMMAND' error

vallamuthu_madheswaran2
Active Contributor
0 Likes
706

HI Friends,

I want to download sme txt file to ftp server.

i am using the FM "FTP_CONNECT" & "FTP_COMMAND".

here "FTP_CONNECT" is working fine but "FTP_COMMAND" gives the following error. "open hb_file.txt errno 22: Invalid argument " <

The code is given below.

CALL FUNCTION 'FTP_COMMAND'

EXPORTING

HANDLE = HDL ==> 1

COMMAND = CMD ==> put hub_file.txt

TABLES

DATA = F2_RESULT

EXCEPTIONS

COMMAND_ERROR = 1

TCPIP_ERROR = 2.

Thanks & Regards,

Vallamuthu.M

2 REPLIES 2
Read only

vallamuthu_madheswaran2
Active Contributor
0 Likes
478

solved own

Read only

0 Likes
478

The Comments box while closing your thread is NOT mandatory. Please skip that box and close your threads. This will stop bumping your old threads back into the queue.

pk