Automatically download from FTP server

English support forum

Moderators: Hacker, petermad, Stefan2, white

Merlin2004
Junior Member
Junior Member
Posts: 7
Joined: 2004-09-05, 14:59 UTC
Location: Prague, Czech rep.

Automatically download from FTP server

Post by *Merlin2004 »

Exist any way how to download in TC automatically file from FTP to PC?
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Post by *djk »

2Merlin2004
Do you mean just to type (or paste from clipboard) the name of the file (of course full name with the server name :-) ), press ok and simply download it to the disk (closing automatically the connection later)? Of course it would be the best to do it in background.

No, I've not found any solution to do it. It always connects to the server and than I have to copy the file manually and close the connection. :-(

I hoped that I can create any script using cm_ftpaddtolist and cm_ftpdownloadlist commands but unfortunately I can't find any way to pass the name of the file which I want to add to the list (eg. from clipboard) to the cm_ftpaddtolist command :-(

I think it would be nice to add such a possibility in future versions of TC.
Christian, do you think it's possible?
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
Merlin2004
Junior Member
Junior Member
Posts: 7
Joined: 2004-09-05, 14:59 UTC
Location: Prague, Czech rep.

Post by *Merlin2004 »

I mean run some script that will automatically log on ftp server and download backup (or any file) to my pc. The scheduling feature will be really cool.
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Post by *djk »

Unfortunately there is no scheduling option in TC.
You can do it manually by creating a file with the list of files to download, then copy it (eg. in batch) as the ftp downloading list and run the "FTP download from list" option periodically.
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
Merlin2004
Junior Member
Junior Member
Posts: 7
Joined: 2004-09-05, 14:59 UTC
Location: Prague, Czech rep.

Post by *Merlin2004 »

djk wrote:Unfortunately there is no scheduling option in TC.
You can do it manually by creating a file with the list of files to download, then copy it (eg. in batch) as the ftp downloading list and run the "FTP download from list" option periodically.
Could you kindly describe how to create "file with the list...".

THKS
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Post by *djk »

2Merlin2004
The easiest way is to go to your ftp, select the files you want to download, use the context menu and choose "Add to download list" and that's all. Then you need to rename it eg. template.txt cause after sucessful download TC changes the ftplist.txt file.
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
Merlin2004
Junior Member
Junior Member
Posts: 7
Joined: 2004-09-05, 14:59 UTC
Location: Prague, Czech rep.

Post by *Merlin2004 »

djk wrote:2Merlin2004
The easiest way is to go to your ftp, select the files you want to download, use the context menu and choose "Add to download list" and that's all. Then you need to rename it eg. template.txt cause after sucessful download TC changes the ftplist.txt file.
Realy it is easy. I have one more question, if possible to run ftp download from list as butch. I mean click for exampl on icon that wil run TC and download from file automatically.
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Post by *djk »

Yes, you must create a button and assign a command "cm_ftpdownloadlist" to it.
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
Merlin2004
Junior Member
Junior Member
Posts: 7
Joined: 2004-09-05, 14:59 UTC
Location: Prague, Czech rep.

Post by *Merlin2004 »

djk wrote:Yes, you must create a button and assign a command "cm_ftpdownloadlist" to it.
I am sorry that I am bother you. But I am not able to do it. Could you do it for me some qouic How To.

Thank you very much
User avatar
Hacker
Moderator
Moderator
Posts: 13142
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

In TC's menu, click Configuration - Button Bar...
Click Append and a new empty button is created. As Command choose cm_ftpdownloadfromlist (it's about in 2/3 of the list, under FTP). Choose an icon and a description and click ok. The button should appear in the Button Bar, just below TC's menu.

HTH
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Post by *djk »

- Choose option from menu "Configuration -> Button Bar"
- Press "Append', a new button will appear (you can change the order of buttons if you want).
- In Command field type (or choose from the list): cm_ftpdownloadlist
- Choose any icon (if no icons appear type eg.: wcmicons.dll and choose the icon)
- Type whatever you want in Tooltip filed.

That's all.
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
Merlin2004
Junior Member
Junior Member
Posts: 7
Joined: 2004-09-05, 14:59 UTC
Location: Prague, Czech rep.

Post by *Merlin2004 »

This is misunderstanding I do not mean icon in TC but on desktop.
Merlin
User avatar
djk
Power Member
Power Member
Posts: 1651
Joined: 2003-03-17, 11:33 UTC
Location: Poland
Contact:

Post by *djk »

I don't think it's possible to do it this way :-(
DJK
Totally addicted to Total Commander
totalcmd.pl
en.totalcmd.pl
User avatar
franck8244
Power Member
Power Member
Posts: 704
Joined: 2003-03-06, 17:37 UTC
Location: Geneva...

Post by *franck8244 »

I don't think it's possible to do it this way
He can use TCSript Editor....
TC#88260 -
Merlin2004
Junior Member
Junior Member
Posts: 7
Joined: 2004-09-05, 14:59 UTC
Location: Prague, Czech rep.

Post by *Merlin2004 »

to franck8244

where can I find the TCSript Editor?
Merlin
Post Reply