Multi Commander > Feature Requests and Suggestions
Open FTP connection by command line
(1/1)
Sempervivum:
Hallo,
I would appreciate if it was possible to open an FTP connection by the command line so that I can create shortcuts on my desktop for my FTP sites.
I tried -R=FTP:\<site name> but this didn't work. My host name is equal to my site name.
Best regards - Ulrich
Sempervivum:
In the meantime I found in the docu how to define user commands. I used this for opening an FTP site:
import("FSFTPScript");
@var $ftp = FTPConnect("ulrichbangert.de");
It works so far but unfortunately it doesn't open the the site in an explorer panel but in the FTP panel below, so that I cannot navigate through the site.
Mathias (Author):
FTP panel ? there is no such thing.
But the log view for the ftp might be shown if that was you mean.
Raw FTP commands in MultiScript will not assing the ftp connection to a device.
You need to have a bookmark of the ftp site then you can access it llike a filesytsem like FTP:<BookMarkName>
like
--- Code: ---MC.Explorer.Goto PATH=FTP:\MySite
--- End code ---
Sempervivum:
Hallo Mathias,
thanks for the advice. Yes, I meant the log view for the ftp. I have a german version and didn't find this in the docu.
Your posting pointed me into the right direction and for my initial intention I didn't need a script. I could address my FTP sites by their bookmarks in my ini file as well:
--- Code: ---[PANEL_4]
Path=FTP:\Ace3
Side=R
ShowTree=1
--- End code ---
If MC featured synchronized browsing for FTP additionally I would be happy.
Thanks again and best regards - Ulrich
Navigation
[0] Message Index
Go to full version