Topic "Moving files from Linux folder to Windows folder"

Author Message
[View user's profile]

Joined: 2012-11-08
Posts: 11
Hi There,

I want to move the files for a folder in Linux to windows.

Below is my script :

open s
cd adi_cps
mv *.pdf C:\Winscp_testing\

When I execute this script I am getting the below error message:

Error moving file 'test4.pdf' to 'E:Winscp_testing'
General failure (server should provide error description). Error code: 4 Error message from server: Failure Request code: 18

only the MV command is not working, GET command is working fine.
get *.pdf C:\Winscp_testing\

Could any one let me know what is wrong with the command?

Thanks in advance,
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26889
Location: Prague, Czechia
Command mv is for moving remote files to another remote directory

To download file and delete the source remote file afterwards, use get -delete
Martin Prikryl

You can post new topics in this forum


What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License