Does "/command" work from a command-prompt in Windows???
OK, so I run the following from a command-prompt,
winscp3 scp://myusername:mypassword@myhostname/myremotepath /command "put c:\myfile.dat"
It connects to the "myhostname" just fine, but it doesn't copy the "myfile.dat" file to the host. I do not want to create a script for such a simple task. Any ideas why I can't get it to copy the file?
Thanks.
winscp3 scp://myusername:mypassword@myhostname/myremotepath /command "put c:\myfile.dat"
It connects to the "myhostname" just fine, but it doesn't copy the "myfile.dat" file to the host. I do not want to create a script for such a simple task. Any ideas why I can't get it to copy the file?
Thanks.