Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

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

martin

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.
Invyl

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.
martin

Re: Error code 4 when move file within remote panel

As the error message suggests, most likely the cause is:
Moving a remote file to a different filesystem (HDD)

See also https://winscp.net/eng/docs/sftp_codes#code_4
Invyl

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.