+FTPOpen from command-line doesn't seem to work
Moderators: Hacker, petermad, Stefan2, white
+FTPOpen from command-line doesn't seem to work
When you use FTPOpen from the command-line, e.g. TotalCommand.exe FTPOpen:MyStoredConnection, the connection is not opened.
If TC was already running (single instance mode) then you get a "select another drive" pop-up. If TC wasn't running then it just start as default.
"MyStoredConnection" is a stored FTP connection that works fine.
Also, when FTPOPEN it is called from button like "FTPOPEN MyStoredConnection" (notice the space) it works just fine.
If TC was already running (single instance mode) then you get a "select another drive" pop-up. If TC wasn't running then it just start as default.
"MyStoredConnection" is a stored FTP connection that works fine.
Also, when FTPOPEN it is called from button like "FTPOPEN MyStoredConnection" (notice the space) it works just fine.
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Strange, works fine here! Do you get any error message?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: ?FTPOpen from command-line doesn't seem to work
I confirm this.Abmea wrote:If TC was already running (single instance mode) then you get a "select another drive" pop-up.
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
I cannot reproduce the problem with a new instance of TC. However, I can when you use /O or /T parameters (open in running instance or as new tab). I will add these two cases to the next beta.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
2Abmea
Do you use an unregistered TC? Some time ago I found out that saved FTP connections can't be opened if TC is unregistered or used without wincmd.key (for testing purposes).
Regards
Dalai
Do you use an unregistered TC? Some time ago I found out that saved FTP connections can't be opened if TC is unregistered or used without wincmd.key (for testing purposes).
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Does the connection name contain any special characters? Or is it in a subfolder of the Ctrl+F dialog?
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Indeed that's just like when you specify the /O parameter. This will work when I have fixed the /O problem.Perhaps it's related to the single-instance mode in which I use TC.
Try launching TC with /N parameter to force a new instance.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: +FTPOpen from command-line doesn't seem to work
I can only get this to work with 8.5 and using /O or single instance option and a TC window must be already open.Abmea wrote:When you use FTPOpen from the command-line, e.g. TotalCommand.exe FTPOpen:MyStoredConnection, the connection is not opened.
Tested 32 bit TC versions with Windows XP.
- ghisler(Author)
- Site Admin
- Posts: 50541
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Cannot reproduce, works just fine here. Please note:
1. You need to put the entire parameter in double quotes if it contains spaces, e.g.
TotalCmd.exe "FTPOpen:My Stored Connection"
2. If the connection is in a subfolder, you need to pass the entire name as shown in the details of the connection, e.g.
TotalCmd.exe "FTPOpen:Folder|My Stored Connection"
1. You need to put the entire parameter in double quotes if it contains spaces, e.g.
TotalCmd.exe "FTPOpen:My Stored Connection"
2. If the connection is in a subfolder, you need to pass the entire name as shown in the details of the connection, e.g.
TotalCmd.exe "FTPOpen:Folder|My Stored Connection"
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com