Posted: 2007-01-29 22:49
i've been through the documentation, but I'm clearly missing something. I want to do a put to my home dir on a server from the windows command line. I can connect, but it does not execute the put...any ideas? here is my session:
F:\>WinScp3.com thughes:<password>@<server> /command put c:\localdir\file.txt
Searching for host...
Connecting to host...
Using username "thughes".
Starting the session...
Reading remote directory...
Active session:  thughes@<server>
Thanks for any help!
Posted: 2007-01-30 02:17
put c:\localdir\file.txt file.txt
put c:\localdir\file.txt /whatever/path/to/file.txt
Location: Prague, Czechia
You need to enclose whole command into quotes
WinScp3.com thughes:<password>@<server> /command "put c:\localdir\file.txt"
But I find it strange that I do not see any error message in the output. So there may be another problem as well.
You can post new topics in this forum
And it's free!