Log in

View Full Version : Not sure this is a bug, might just be me :P


mo0
09-24-2002, 05:39 AM
Anyone tried deleting shortcuts on a server?

it doesnt work for me.....


tried it on glftpd linux , glftpd FreeBSD, G6 windows , and some other servers..... simply doesnt work....

tried with another client (wont mention which :P) and it works fine.

i got full rights on all the servers i tried it on.


tried on ffxp 1.4.3

So am i stupid or what?

EDIT: sorry, im using build 835

MxxCon
09-24-2002, 06:18 PM
"simply doesnt work" doesn't help troubleshoot your problem.
we need to see EXACT command and error you get

mo0
09-25-2002, 01:30 AM
CWD /***/x
550 /***/x: No such file or directory.
PASV
227 Entering Passive Mode (********)
LIST
150 Opening ASCII mode data connection for directory listing.



226 [Section: DEFAULT] [Credits: 8633.8MB] [Ratio: Unlimited]
Deleted 0 Folders and 0 Files in 00:01.




x is a shortcut to a folder that dont exist, but that doesnt matter cant del it even if the folder did exist

EDIT: why dont you guys try it..... im sure it doesnt work for you either.

bigstar
09-25-2002, 10:14 AM
Is a shortcut considered a file or a directory? You might try deleting it manually via a raw command. If the server indicates the directory doesn't exist then FlashFXP makes no attempt to delete it.

"DELE /***/x" or "RMD /***/x"

mo0
09-25-2002, 03:36 PM
Originally posted by bigstar
Is a shortcut considered a file or a directory? You might try deleting it manually via a raw command. If the server indicates the directory doesn't exist then FlashFXP makes no attempt to delete it.

"DELE /***/x" or "RMDIR /***/x"

Hey and thnx for the reply

x is a shortcut "link" to either a existing dir or non existing dir (non existing as in removed/moved)

on both alternatives that shortcut "link" cant be removed, atleast not on systems using glftpd on linux/freebsd

tried those cmd's and they didnt work either.

funny thing is that (with risk of getting flamed :P) when i tried removing that same shortcut "link" with several other ftp clients like smartftp, cuteftp ,gftp linux..... it works fine....

if mark "dont recursive delete" in settings i get this:
RMD x
550 x: Not a directory.

dont get me wrong here but all i wanted to do was get rid of "links" to non existing dirs with a simple right click, its a ***** if you have to use another client or even telnet/ssh to do it from the shell on linux all the time.

maybe its just a ffxp/unix thing?, and if so isnt that easily fixed?

bigstar
09-25-2002, 08:10 PM
Perhaps you can provide us with full logs showing us what FlashFXP does and then what other ftp clients do. At the moment my main computer system is down and I wont be able to fully help you until it's back up.

mo0
09-26-2002, 06:24 AM
FlashFXP:

(when logged in:)
SYST
215 UNIX Type: L8
REST 100
350 Restarting at 100. Send STORE or RETRIEVE to initiate transfer.
REST 0
350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer.
PWD
257 "/" is current directory.


right click and select delete i get this:

RMD test
550 test: Not a directory.
PASV
227 Entering Passive Mode (***********)
LIST

doing it the cmd way:


dele /SVCD/test
250 DELE command successful.

(i yeah know i said it didnt work before, that was just because i used "site dele" instead of just plain "dele <dir>", sorry about that.)

but still i want to be able to delete with a simple right click (yes i know i could add that cmd to custom cmd's) but thats not the point you should be able to delete that link with simple right click :)

WS_FTP :

(when i log in i get this )
SYST
215 UNIX Type: L8
Host type (2): UNIX (standard)
Host type (I): UNIX (standard)

right click and select delete:

DELE test
250 DELE command successful.

i have been trying to reproduce the same errors i had when i was using ffxp on bpftpserver with no result (it was weeks ago, and i cant remember how i had it setup)

but it sure seems like ffxp should use DELE instead of RMD when choosing right click for delete.

is it an error in the unix support or are there several different unix versions which dont use the same cmd's ?.

if so maybe its possible to add a tab in the sitemanager where you can choose filesystem to make it work?.


sorry for being a lousy explainer , that because im not english :)
hope it helped though.

ND-
09-26-2002, 09:12 AM
lrwxrwxrwx 1 user group 47 Jun 26 01:15 DIRNAME -> DIRPATH

that's how raw directory shows one of those undeletable links.

bigstar
09-26-2002, 11:18 AM
I suspect this might be due to the fact that FlashFXP doesn't validate links, It assumes all links are folders unless they match a specific pattern normally known as being a file.

This is why FlashFXP sends RMD and not DELE.

As soon as my main system is up, i'll do some testing and see what results I get.

Linkster
09-26-2002, 11:52 AM
i see what you are saying...i've had this annoyance for a LONG time too :) for the delete command, links should always be treated as files...for anything else, treat them as a dir as normal. I am happy to know i can now set a custom command to DELE so i can get rid of nasty links on my ftp without going to shell.


hmm, i just did some testing, and even DELE won't delete a link whose targe no longer exists..i wonder if there is any command that will do that.

also, i was just thinking, i've gotten myself into big trouble when i've just wanted to delete a link and it deletes the actual dir :)

thanks for looking into it.

mo0
09-26-2002, 01:38 PM
Originally posted by Linkster
i see what you are saying...i've had this annoyance for a LONG time too :) for the delete command, links should always be treated as files...for anything else, treat them as a dir as normal. I am happy to know i can now set a custom command to DELE so i can get rid of nasty links on my ftp without going to shell.


hmm, i just did some testing, and even DELE won't delete a link whose targe no longer exists..i wonder if there is any command that will do that.

also, i was just thinking, i've gotten myself into big trouble when i've just wanted to delete a link and it deletes the actual dir :)

thanks for looking into it.

thank god! i thought i was alone on this :)

was getting worried here for awhile :D

mo0
10-10-2002, 12:52 PM
^BumP^ any salvation to this matter? :)

bigstar
10-10-2002, 03:23 PM
It seems to depend on the FTP server software. In most cases it seems impossible to delete the actual shortcut.