Post a reply

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

mod2509

Re: troubles using "mv" moving folders to network path.

I think mv is only move on remotesite.
martin

Re: troubles using "mv" moving folders to network path.

I'm pretty sure that \\ess-raddon\e\phonecalls is not a valid path.
Open the folder in the remote panel of WinSCP GUI and use the exact syntax you see on the top of the file panel.
Greg LeBlanc

troubles using "mv" moving folders to network path.

My script
option batch abort
option confirm off
open connection
mv "*.*" \\\\ess-raddon\\e\\phonecalls\\\*\.\*
exit

fails and gives

Error moving file 'BUS4596555' to '\\ess-raddon\e\phonecalls\*.*'.
No such file or directory.
Error code: 2

Is it because i'm trying to move folds and not files?