sapftp - syntax for put/get command
I am trying to troubleshoot some issues and need to run the report RSFTP002 (to execute FTP command from SAP GUI). After providing the input data for user, password and host, I am using the following for command1: put C:\test.doc and for command2: get test.doc.
I am getting the following error for the 'put': "C:\test.doc: The filename, directory name, or volume label syntax is incorrect".
I have tried running the same(sapftp) from windows command prompt (on the frontend workstation) and get the same error. If I use windows ftp, it works fine.
If someone can let me know what is not correct in the syntax, I would appreciate it.