Error code 4 when move file within remote panel

Advertisement

Invyl
Invyl avatar
Joined:
Posts:
14

Error code 4 when move file within remote panel

When I trying to move any file from /tmp to /home I got "general failure, error code 4". Though copying the same files works fine. I attached video demonstration and log.

FYI Log was collected separately from attached video, thus this log shows only events from connecting to server to appearing of the error.

Reply with quote

Advertisement

Invyl
Invyl avatar
Joined:
Posts:
14

Yeah, you are correct. My /tmp and /home mounted as different partitions:
/dev/mapper/ro_redos-root    85G          36G   46G           44% /
/dev/mapper/ro_redos-home    17G         1,9G   15G           12% /home
But why WinSCP can't just perform mv /tmp/ca.cer /home/ in such situation? It is better than just fail.

Reply with quote

martin
Site Admin
martin avatar

You are using SFTP. OpenSSH SFTP server cannot move files across file systems. If you want WinSCP to use mv shell command, use SCP protocol. Or you can add a custom command to WinSCP, if you want to use mv shell command, while in an SFTP session.

Reply with quote

Advertisement

You can post new topics in this forum