file overwriting permission

Need help with FileZilla Server? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Post Reply
Message
Author
lazna
500 Command not understood
Posts: 5
Joined: 2023-08-09 08:30

file overwriting permission

#1 Post by lazna » 2023-08-09 08:32

Trying to upload file to server, by overwriting already existing file.

Client was authenticated succesfully, but after client send STOR command, server reply 550 Permission Denied. Virtual path have assigned "Read+Write" permission in GUI settings. What am I douing wrong?

Filezilla server 1.5.1

User avatar
botg
Site Admin
Posts: 35566
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: file overwriting permission

#2 Post by botg » 2023-08-09 08:42

Please update to the most recent version of FileZilla Server.
550 Permission Denied.
A message with this exact capitalization does not originate from FileZilla Server.

lazna
500 Command not understood
Posts: 5
Joined: 2023-08-09 08:30

Re: file overwriting permission

#3 Post by lazna » 2023-08-09 10:03

Upgraded to last version (include expired certificates re-creation), but no change. Still same behaviour.

any other ideas?

User avatar
botg
Site Admin
Posts: 35566
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: file overwriting permission

#4 Post by botg » 2023-08-09 10:19

Are you sure your client is connecting to FileZilla Server? Note the note on capitalization in my previous reply.

lazna
500 Command not understood
Posts: 5
Joined: 2023-08-09 08:30

Re: file overwriting permission

#5 Post by lazna » 2023-08-09 10:26

UPDATE:

Using Filezilla client it work fine, but using curl it produce an error

Code: Select all

curl.exe -v --tlsv1.3 --upload-file "D:\BACKUP\VIRTUALS\machine.ova" "ftp://user:passwd@machine_name/back"
UPDATE2 - added log record

> TYPE I
< 200 Type set to I
> STOR back
< 550 Permission denied
* Failed FTP upload: 550
* Remembering we are in dir ""
* Uploaded unaligned file size (0 out of 8836307456 bytes)

User avatar
botg
Site Admin
Posts: 35566
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

Re: file overwriting permission

#6 Post by botg » 2023-08-09 12:45

Could there be a directory named "back" on the server? If so, you obviously cannot store a file named "back" in the same directory that already contains the "back" directory.

lazna
500 Command not understood
Posts: 5
Joined: 2023-08-09 08:30

Re: file overwriting permission

#7 Post by lazna » 2023-08-09 14:12

There is a mapping Virtual Path "/back" <-> Native Path "S:\SERVER_BACKUP\VIRTUALS_BACKUP"

directory named "back" does not exist on whole machine. Used command dir "back" /AD /s

User avatar
boco
Contributor
Posts: 26940
Joined: 2006-05-01 03:28
Location: Germany

Re: file overwriting permission

#8 Post by boco » 2023-08-09 15:57

Doesn't matter. Even if there is only a mapped/virtual subdirectory there, you cannot store a file with the very same name.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

lazna
500 Command not understood
Posts: 5
Joined: 2023-08-09 08:30

Re: file overwriting permission

#9 Post by lazna » 2023-08-10 06:02

Thanks, problem solved.

Is this described somewhere in documentation?

User avatar
boco
Contributor
Posts: 26940
Joined: 2006-05-01 03:28
Location: Germany

Re: file overwriting permission

#10 Post by boco » 2023-08-28 15:30

It is not a problem specific to FTP, but essentially filesystem fundamentals. Two objects with the very same path name cannot exist in the same context. Applies to all filesystems I know.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

Post Reply