Topic "Rename does not work, why?"

Author Message
Ken Lulue


I'm using WinSCP 2.2.3
The server is OpenSSH on Windows v3.4-3
After I log in successfully, I try to rename a file or directory, I get this error message:

Command "mv -f "FileA" "FileB""
failed with return code 127 and error message
mv: not found.

I have permission to create and delete files.
What's wrong?

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27059
Location: Prague, Czechia
OpenSSH server for Windows does not have MV command, so renaming cannot work. You can wait until WinSCP support SFTP protocol.
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