Hi,
Iam able to connect to remote server but the FTP_Command_list gives a error.
I have to put the file into the D: directory of the remote server.
This is my code:-
call function 'FTP_COMMAND_LIST'
exporting
handle = p_handle "is '1'
importing
command_index = l_cmd_index
tables
data = l_i_data
commands = l_i_commands " is 'cd D:\'
exceptions
tcpip_error = 1
command_error = 2
data_error = 3
others = 4.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
call function 'FTP_R3_TO_SERVER'
exporting
handle = p_handle
fname = p_files
character_mode = 'X'
tables
text = ifile.
I get the following error:-
cd D:\
550 D:\: The filename, directory name, or volume label syntax is incorrect.
Please send your suggestions,
Thanks,
Rajesh