mv and UNC Path

Advertisement

ThM
Guest

mv and UNC Path

Hello,
for my SFTP-Filetransfer I need to move any files from remote Source to my local Destination. I try out these command:
...
mv *.* "\\server\share\directory 1\"
...
WinSCP try to rename my Sourcefiles but it doesn't move the files. When I use the following commands, with the same Syntax, does it work:
...
get *.* "\\server\share\directory 1\*.*"
rm *.*
...
Can anybody help me ?

Regards
Thomas

Reply with quote

Advertisement

ThM
Guest

Re: mv and UNC Path

I forgot - I use WinSCP 4.2.8 Build 818

ThM wrote:

Hello,
for my SFTP-Filetransfer I need to move any files from remote Source to my local Destination. I try out these command:
...
mv *.* "\\server\share\directory 1\"
...
WinSCP try to rename my Sourcefiles but it doesn't move the files. When I use the following commands, with the same Syntax, does it work:
...
get *.* "\\server\share\directory 1\*.*"
rm *.*
...
Can anybody help me ?

Regards
Thomas

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
29,266
Location:
Prague, Czechia

Re: mv and UNC Path

Command mv moves from remote directory to another remote directory. Use "get -delete".
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum