Add Flag

Advertisement

elshanR
Joined:
Posts:
2
Location:
Azerbaijan

Add Flag

Hello
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
respond with SSH_FX_FILE_ALREADY_EXISTS.
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?

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,034
Location:
Prague, Czechia

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.

Reply with quote

Advertisement

You can post new topics in this forum