Connecting to FTP-account using commanline parameters ?

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Corkie
New Member
New Member
Posts: 1
Joined: 2003-03-04, 22:31 UTC

Connecting to FTP-account using commanline parameters ?

Post by *Corkie »

Hello,

Is it possible to start TotalCommander using commandline parameters and make a FTP-connection at startup ? What I want to do is invoke TC from a filtering rule in my mailprogram (i.e. Pegasus 4.02).
So it should be something like c:/wincmd/totalcmd.exe d:\data ?
And on the questionmark the thing that activates the ftp-account I want to start......

Guess not ? :cry:
User avatar
Black Dog
Power Member
Power Member
Posts: 1024
Joined: 2003-02-05, 22:17 UTC
Location: Odessa
Contact:

Post by *Black Dog »

[face=courier]On 05-03-2003 00:43:42 +0000 Corkie wrote:

C> Is it possible to start TotalCommander using commandline
C> parameters and make a FTP-connection at startup ?


It is. This command line opens Commander with FTP address specified in the left panel:

totalcmd.exe /L=ftp://username:password@servername:portnumber/path

Or you can set it as default application for FTP links.[/face]
miki253
Junior Member
Junior Member
Posts: 2
Joined: 2015-07-27, 17:09 UTC

Connect to FTP via parametrs in TCMD

Post by *miki253 »

Hello
I want to run ftp connection in total commander from my c# app. I tried this parametr: "L=ftp://username:password@192.168.133.11:21/" and it just run TCMD in default. Etc. parameter "P=R" is working. Any ideas?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50918
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

It should have a slash at the start:
c:\path\totalcmd.exe "/L=ftp://username:password@192.168.133.11:21/"

The following works too, but only for the left panel:
c:\path\totalcmd.exe FTPOPEN:Connection_name
Author of Total Commander
https://www.ghisler.com
miki253
Junior Member
Junior Member
Posts: 2
Joined: 2015-07-27, 17:09 UTC

Post by *miki253 »

I found in history that there are stored my ftp connection. It will not connect to ftp in shareware version. In full its working. It is bug or not? Or is it possible in shareware version? Thanks for respond.
User avatar
Dalai
Power Member
Power Member
Posts: 10035
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Post by *Dalai »

2miki253
I can confirm the issue. I discovered it quite some time ago, and in my optinion it's a (small) bug. However, if you really need to connect to FTP with command line parameters you're most probably using TC regularly, so it's not a big deal. On the other hand, it may irritate users, since this feature is mentioned in the help file ...

In the end it's up to Ghisler whether it's fixed or not.

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
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50918
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Indeed it's not possible to connect in the Shareware version this way because the 1-2-3 confirmation screen interferes with the FTP login, sorry.
Author of Total Commander
https://www.ghisler.com
User avatar
Dalai
Power Member
Power Member
Posts: 10035
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Post by *Dalai »

2ghisler(Author)
I think it would be a good idea to mention this shareware "restriction" in the help file.

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
Post Reply