Page 1 of 1

Overwrite of existing file not working

Posted: 2021-01-28 17:55
by ekoslav
Hello,
I am using FileZilla client version 3.52.2 on Win10, and have issue on one server running vsftpd on ubuntu 20.04.1 LTS.
FileZilla is able to upload and delete files and folders, but unable to overwrite existing files. It reports the file is uploaded successfully, but does not change actual file.
If I use the SFTP from the windows command prompt, put command overwrites the file with no issues.
If I delete file on the server first, the upload will be proper.
The server is on the same local network as the client. I have tried setting permissions to 777, but id did not make a difference.

However, another ftp site outside of the local network, running on Ubuntu 18.04, does not have this issue.

Any ideas?

Re: Overwrite of existing file not working

Posted: 2021-01-29 08:30
by botg
According to the SFTP specifications it is an error to rename a file to a name that already exists.

Re: Overwrite of existing file not working

Posted: 2021-02-02 19:18
by ekoslav
Right, but what is causing this behavior?

Why does it work from command line and it does not from Filezilla ?

Re: Overwrite of existing file not working

Posted: 2021-02-02 19:39
by ekoslav
I just went to collect the examples, however I cannot replicate the issue anymore.

Since I made no action to correct the issue, I guess it will remain a mystery how the issue got resolved ...