FTP link in Synchronize directories

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
artt
Junior Member
Junior Member
Posts: 50
Joined: 2009-05-03, 07:03 UTC

FTP link in Synchronize directories

Post by *artt »

Hi,

Using an AutoHotkey script I can open "Synchronize directories" window and fill left and right paths to be compared.
for example, if right path is "\\\Cloud Drives\Google Drive\Files_SYNC\" and press compare, TC will ask for password (if not already typed), will connect to Google Drive in "Files_SYNC" folder and perform the comparison with the left path.
  • I tried to fill the right path with ftp link without success.
  • A toolbar button (in main TC window) with command: "cd ftp://00:00@192.168.1.250:2030" is working perfect, but i have to set left and right paths in main window and then press "Synchronize directories" (i don't want this).
  • I installed the FTPS TC plugin but is not working with the above ftp link.
  • If i save the left/right paths in Synchronize directories' list "ftp:ftp://00@192.168.1.250:2030|:/sdcard/_Home_/20210930/", is working but...
... i like to fill the paths to be compared direct in "Synchronize directories" window using an AutoHotkey script.

any ideas?
thanks
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48028
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: FTP link in Synchronize directories

Post by *ghisler(Author) »

You could open Synchronize dirs in a separate process by calling totalcmd.exe or totalcmd64.exe with parameter /S=S left_path right_path.
See help section 4a for more options.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14743
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: FTP link in Synchronize directories

Post by *petermad »

2artt
I cannot help you wiith AHK script.

But you can make a saved sync and the launch it from a button in the buttonbar:
1. Open the folders you want to synchronize (ftp in th right side)
2. Set the sync options to your liking
3. Click on the little yellow folder icon in the upper left corner of the sync dialog.
4. Choose: "Add current directories and settings to list"
5. Give it a title - for example MySync and press OK
6. Make a button in TC's buttonbar with this in the Command field:

Code: Select all

SYNCOPEN MySync
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
artt
Junior Member
Junior Member
Posts: 50
Joined: 2009-05-03, 07:03 UTC

Re: FTP link in Synchronize directories

Post by *artt »

Not finding a working solution (syntax)
to type an ftp link (like ftp://00:00@192.168.1.250:2030) directly as the right path in "Synchronize directories" window,
or to load it by calling: %COMMANDER_EXE% /i="%COMMANDER_INI%" /S=S "left_path" "right_path_ftp"

i saved my ftp sync job as "MySync" (thanks petermad)
and load it in a separate process by calling: %COMMANDER_EXE% /i="%COMMANDER_INI%" /S=S:=MySync /N (thanks ghisler)

Best Regards
Post Reply