‎2021 Mar 16 1:28 PM
I have used ftp mode of file transfer and set passive mode on in the FTP_COMMAND function module. Yet I'm getting command error in ftp_r3_to_server function module. The extension used is CSV. What could have possibly gone wrong?
‎2021 Mar 16 4:35 PM
Anything can go wrong but please give some details if you want to be helped: it raises COMMAND_ERROR, but what message is it, 207 or 209? (SY-MSGNO) What exact parameters do you pass to the function module? (values and types) Did you try to write to an invalid path or to another valid path, what happens? Etc.
‎2021 Mar 16 4:54 PM
Could u give me a solution for 207 and 209 msg no. How do I find the message no?
‎2021 Mar 16 8:21 PM
In debug, display the variable SY-MSGNO. It's just part to help troubleshooting. Answer also the other questions please.
‎2021 Mar 17 6:53 AM
The message class is the one from the function module and is 04. Message 207 is 'FTP subcommand: Local error'. Message 209 is 'FTP subcommand: Server reports error'.