Cant delete using the GUI

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

Moderator: Project members

Post Reply
Message
Author
CosasG
500 Command not understood
Posts: 4
Joined: 2005-03-18 18:06

Cant delete using the GUI

#1 Post by CosasG » 2005-03-18 18:25

Hi, and thanks for this great FTP client!

I've used FZ with 5 server hosting and never an issue but now Im experimenting the following problem:
If I try to delete a file it says that its not allowed, but if I send a raw command (CTRL+F) I can delete it.
here is the log....

Command: CWD /
Response: 250 CWD command successful.
Command: MKD deletme
Response: 257 "deletme" directory created.
Status: Retrieving directory listing...
Command: CWD deletme
Response: 250 CWD command successful.
Command: PWD
Response: 257 "/deletme" is the current directory.
Command: PASV
Response: 227 Entering Passive Mode (xx.xx..xx.xx.,10,253)
Command: TYPE A
Response: 200 Type set to A.
Command: LIST -a
Response: 150 Opening ASCII mode data connection for '/bin/ls'.
Response: 226 Transfer complete.
Status: Directory listing successful
Status: Retrieving directory listing...
Command: CWD /
Response: 250 CWD command successful.
Command: PWD
Response: 257 "/" is the current directory.
Status: Directory listing successful
Command: RMD /deletme/
Response: 553 File name `/deletme/' not allowed.
Command: DELE deletme
Response: 250 DELE command successful.
Status: Retrieving directory listing...
Command: PASV
Response: 227 Entering Passive Mode (xx,xx,xx,xx,9,27)
Command: TYPE A
Response: 200 Type set to A.
Command: LIST -a
Response: 150 Opening ASCII mode data connection for '/bin/ls'.
Response: 226 Transfer complete.
Status: Directory listing successful

I can see that the problem is with the '/' character but I dont know how to fix it.
Let me know please, thanks.

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

#2 Post by botg » 2005-03-19 00:19

Is deleteme a symbolic link?

CosasG
500 Command not understood
Posts: 4
Joined: 2005-03-18 18:06

#3 Post by CosasG » 2005-03-19 18:03

botg wrote:Is deleteme a symbolic link?
yes, its the name I asigned to the file just for example.

CosasG
500 Command not understood
Posts: 4
Joined: 2005-03-18 18:06

#4 Post by CosasG » 2005-03-21 14:17

Any Idea? :roll:

TheAngryPenguin
226 Transfer OK
Posts: 323
Joined: 2004-03-08 18:40

#5 Post by TheAngryPenguin » 2005-03-21 15:56

Methinks the OP misunderstands the definition of:

symlink ==>
symbolic link

<file system> (Or "symlink", "soft link" (by contrast with "hard link"), "shortcut", "alias") A special type of Unix file which refers to another file by its pathname. A symbolic link is created with the "ln" (link) command:

ln -s OLDNAME NEWNAME


Where OLDNAME is the target of the link (usually a pathname) and NEWNAME is the pathname of the link itself.

Most operations (open, read, write) on the symbolic link automatically dereference it and operate on its target (OLDNAME). Some operations (e.g. removing) work on the link itself (NEWNAME).

In contrast with hard links, there are no restrictions on where a symbolic link can point, it can refer to a file on another file system, to itself or to a file which does not even exist (e.g. when the target of the symlink is removed). Such problems will only be detected when the link is accessed.

CosasG
500 Command not understood
Posts: 4
Joined: 2005-03-18 18:06

#6 Post by CosasG » 2005-03-21 20:31

TheAngryPenguin wrote:Methinks the OP misunderstands the definition of:

symlink ==>
symbolic link

<file system> (Or "symlink", "soft link" (by contrast with "hard link"), "shortcut", "alias") A special type of Unix file which refers to another file by its pathname. A symbolic link is created with the "ln" (link) command:

ln -s OLDNAME NEWNAME


Where OLDNAME is the target of the link (usually a pathname) and NEWNAME is the pathname of the link itself.

Most operations (open, read, write) on the symbolic link automatically dereference it and operate on its target (OLDNAME). Some operations (e.g. removing) work on the link itself (NEWNAME).

In contrast with hard links, there are no restrictions on where a symbolic link can point, it can refer to a file on another file system, to itself or to a file which does not even exist (e.g. when the target of the symlink is removed). Such problems will only be detected when the link is accessed.
I have not created nothing with the ls command, so I think its not a 'symbolic link'

I'll give u other log example maybe more clear....


Response: 211-Features supported

Response: MDTM

Response: MLST Type*;Size*;Modify*;Perm*;Unique*;

Response: REST STREAM

Response: SIZE

Response: TVFS

Response: 211 End

Command: SYST

Response: 215 UNIX Type: L8 Version: tnftpd 20040810

Status: Connected

Status: Starting upload of D:\mysite\tour3.html

Command: CWD /

Response: 250 CWD command successful.

Command: PWD

Response: 257 "/" is the current directory.

Command: TYPE A

Response: 200 Type set to A.

Command: PORT 192,168,1,100,19,39

Response: 200 PORT command successful.

Command: STOR tour3.html

Response: 150 Opening ASCII mode data connection for 'tour3.html'.

Response: 226 Transfer complete.

Status: Upload successful

Status: Retrieving directory listing...

Command: PORT 192,168,1,100,19,41

Response: 200 PORT command successful.

Command: TYPE A

Response: 200 Type set to A.

Command: LIST

Response: 150 Opening ASCII mode data connection for '/bin/ls'.

Response: 226 Transfer complete.

Status: Directory listing successful

Command: TYPE I

Response: 200 Type set to I.

Command: TYPE I

Response: 200 Type set to I.

Status: Disconnected from server

Command: PWD

Response: 257 "/" is the current directory.

Command: TYPE A

Response: 200 Type set to A.

Command: PWD

Response: 257 "/" is the current directory.

Command: DELE /tour3.html ===========> Using the GUI

Response: 553 File name `/tour3.html' not allowed.

Command: DELE tour3.html ===========> Using the CRTL+F

Response: 250 DELE command successful.

Status: Retrieving directory listing...

Command: PORT 192,168,1,100,19,44

Response: 200 PORT command successful.

Command: TYPE A

Response: 200 Type set to A.

Command: LIST

Response: 150 Opening ASCII mode data connection for '/bin/ls'.

Response: 226 Transfer complete.

Status: Directory listing successful

You can see that when I use the GUI button the char '/' is added in the beginning of the file name, but with the CTRL+F it isnt.

I know that its the cause but i dont know how to fix it.

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

#7 Post by botg » 2005-03-21 21:07

Your server is broken. Ask your server administrator to upgrade to a version not containing this bug.

ptbrunet
500 Command not understood
Posts: 1
Joined: 2006-11-08 05:56

#8 Post by ptbrunet » 2006-11-08 06:00

I am noticing something similar on a server. If I use the GUI it fails. If I use ctrl F and type the same file name but leave of the trailing / it works. This ftp server is owned by a company I collaborate with, but I am not an employee of this company. Assuming this is a problem with the server software, what would be the good description of the problem and the solution so I can pass this along to the company that owns the server?

BTW, Seems it would be nice to have a Filezilla setting to not use the trailing /.

Thanks, Pete

Post Reply