pscp -r problem creating remote folders?
Posted on 2005-05-03
I am having the following problem using pscp.exe
I want to do:
pscp -r . username@server:/path/data
On a unix machine (using the scp version of this command), this results in:
COPY: all sudirectories of the current working directory on the local machine
TO: /path/data on the remote machine
On my winXP machine, this command fails with the following error message:
scp: <working directory>: No such file or directory
(where <working directory> is the name of the current working directory)
NOTE: pscp.exe works without any problem to copy single files from my local machine to the remote machine.
So this is a two part question:
(a) where is the problem? (am I using an incorrect syntax? is pscp.exe incapable of creating directories on the remote machine? is there something wrong with the remote machine?)
(b) what can I do to fix it? (is there an alternative to pscp.exe for windows?, should I use a different syntax? etc)
Thanks very much!