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.

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)


Topic review


here is logs

Re: Add Flag

Please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate the session log file, enable logging, log in to your server and do the operation and only the operation that causes the error. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.

Add Flag

i have problem with flags when i upload file to remote I get error code 4. SFTP soft support team answered that
I believe this is an issue with the WinSCP client the user is using.
The client does not send the SSH_FXF_RENAME_OVERWRITE flag as part of the rename request. That flag is required for replacing an existing file on rename.

From the SSH SFTP spec:
If flags does not include SSH_FXP_RENAME_OVERWRITE, and there already
exists a file with the name specified by newpath, the server MUST
They will need to delete the existing file first, or contact WinSCP to see if there is a way to add that flag to the rename request.

So is it possible to add this flag on WinSCP?