On search for a simple FTP "move" feature

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
radiosoftpro
Junior Member
Junior Member
Posts: 8
Joined: 2006-12-02, 05:27 UTC

On search for a simple FTP "move" feature

Post by *radiosoftpro »

Is it possible to Move files within one FTP location?
I mean how can I move "ftp://foo/folder/file.txt" to "ftp://foo/another_folder/file.txt"
Of course I can go to folder "ftp://foo/folder/" press Shift-F6 and rename file.txt to "..\another_folder\file.txt" but what if I need more complex move or move several files?

If I'm trying to open FTP location in the opposite file panel I have new FTP connection opened and F6 - Move option is not working as usual - it wors as rename.

Could somebody give me an advice?
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Too risky

Post by *Clo »

2radiosoftpro

:) Hello !

• There is no move with F T P, and that's by design.
- The Author considers it's too risky (and I agree).

- This has been discussed here several times, I bet that using the Search… ;)

:mrgreen: KR
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
radiosoftpro
Junior Member
Junior Member
Posts: 8
Joined: 2006-12-02, 05:27 UTC

Post by *radiosoftpro »

- The Author considers it's too risky (and I agree).
What prevents from making a setting to enable this Move feature.
Setting may be hidden or ini-based for advanced users.
I bet that using the Search…
Searched of course.
And still looking for a workaround to make it easier than renaming file by file.
User avatar
petermad
Power Member
Power Member
Posts: 16027
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2radiosoftpro
You can use the inline rename function to move files during a FTP session:

Example : to move the file myfile.txt to the dir mydir placed in the current dir - press Shift+F6 on myfile.txt and edit it to mydir/myfile.txt

Example 2: to move myfile.txt to the directory myupdir placed one level above the current directory - press Shift+F6 on myfile.txt and edit it to ../myupdir/myfile.txt

Example 3: to move several files to the dir mydir placed in the current dir - marks all the files and press Shift+F6 and enter mydir/*.* in the box.

You might have to press Ctrl+R to have the filelist updated to see the moved files.
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
radiosoftpro
Junior Member
Junior Member
Posts: 8
Joined: 2006-12-02, 05:27 UTC

Post by *radiosoftpro »

Is it possible to select a folder from the tree which I want to move to (not typing manually)?
• There is no move with F T P, and that's by design.
- The Author considers it's too risky (and I agree).
Typing of a new folder name is more risky then using automated move feature isn't it?
User can make a mistake when typing long directory name - this certainly will cause data loss.
I think a simple warning before FTP move will be enough.
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

BTW, moving on the (same) server works, when using WebDAV plugin.
radiosoftpro wrote:I think a simple warning before FTP move will be enough.
Agree.
radiosoftpro wrote:Setting may be hidden or ini-based for advanced users.
Maybe an internal command like cm_FtpMoveOnServer <target>,
with no function key assigned by default, could be a way.
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

2Clo
- The Author considers it's too risky (and I agree).
Hm, until my recent tests I thought, this should only apply to moving between local dir and a server
(because FTP to FTP moving on the same server should be only a "harmless" rename?).

But as TC doesn't copy a valid FTP url to clipboard, I now tend to agree...
(account name is missing in copied string, mentioned here)
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
User avatar
gewone
Junior Member
Junior Member
Posts: 67
Joined: 2008-03-06, 17:37 UTC

Re: Too risky

Post by *gewone »

Bumping this ancient thread, I hope it's okay.
Is it still considered out of the question to add a more simple way than the in-line renaming way mentioned in this thread, for moving files over FTP?
Clo wrote: 2007-11-22, 07:09 UTC • There is no move with F T P, and that's by design.
• The Author considers it's too risky (and I agree).
• This has been discussed here several times, I bet that using the Search… ;)
I guess these points still stand true, at least to a certain point.
StatusQuo wrote: 2007-12-09, 23:09 UTC Maybe an internal command like cm_FtpMoveOnServer <target>,
with no function key assigned by default, could be a way.
I like this sound of this!
To be honest, I very rarely use FTP at all, but on the other hand I'm a very frequent flyer with SFTP, using the SFTP plugin. I can't seem to move files thru' that one either, but only copy them (F5) natively. Both FileZilla and WinSCP (other software) offers a move function with F6, so why couldn't Total Commander? :)
User avatar
petermad
Power Member
Power Member
Posts: 16027
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: On search for a simple FTP "move" feature

Post by *petermad »

Workaround:

Make a button or an em_command with the combined command:

Code: Select all

TOTALCMD#BAR#DATA
cm_Copy,cm_Delete

wcmicons.DLL,63
Copy + Delete for Moving on FTP
To make the button:
1. Mark the text in the box here above (click SELECT ALL).
2. Copy it to the ClipBoard (press Ctrl+C).
3. Right click on TC's buttonbar and choose "Paste".

You will be met with two conformation boxes, one for copy and one for delete.
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
Post Reply