FTP delete directories shouldn’t follow links

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
now
Member
Member
Posts: 181
Joined: 2006-11-01, 08:34 UTC

FTP delete directories shouldn’t follow links

Post by *now »

According to the “FTP Confirm Deletion Dialog” (to the left), links are followed and what they point to is also deleted. I think this is quite counter-intuitive and is certainly not how most UNIX utilities work. Can Total Commander not determine that it is a link and not the directory itself and issue a deletion of just the link?
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

Not confirmed here - how did you get this dialog?

With TC 7.02a => eFTP (passive or active mode, unencrypted) TC shows "<DIR>" for both junctions (links) and real dirs on the remote FTP machine.
But when deleting a junction over FTP, the content pointed to remains unchainged here, only the junction is removed.

Maybe this is caused by the FTP server or a special setting?
I tried both with/without Explorere deletion method - no recursive content deletion is done here.
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
User avatar
petermad
Power Member
Power Member
Posts: 16027
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

TC shows "<DIR>" for both junctions (links) and real dirs on the remote FTP machine.
On my web-server TC shows <LNK> for links.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
now
Member
Member
Posts: 181
Joined: 2006-11-01, 08:34 UTC

Post by *now »

I get this dialog when I try to delete a directory on an FTP server. Perhaps this warning is only given for servers where Total Commander can't determine if a directory is a real directory or a link.
Post Reply