default non-anonymous FTP

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
VandrHam
Junior Member
Junior Member
Posts: 6
Joined: 2003-12-19, 01:47 UTC

default non-anonymous FTP

Post by *VandrHam »

When I press CTRL-N, the default is to have anonymous connection enabled. So when I want to access a non-anoymous FTP I first have to click to disable anonymous.
Is there any way to set the default for new FTP-sessions to non-anonymous?
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

Reverse default?

Post by *Clo »

2VandrHam
:) Hello !
¤ That is right; I didn't find any setting to get the box unticked by default.
* However, isn't a huge work to do, not "The sea to drink" ;)
* Maybe the Author could make the reverse default, whether a majority of users would wish this ?

:mrgreen:  Kind regards,
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
VandrHam
Junior Member
Junior Member
Posts: 6
Joined: 2003-12-19, 01:47 UTC

Re: Reverse default?

Post by *VandrHam »

Clo wrote:* However, isn't a huge work to do, not "The sea to drink" ;)
8) Sure thing
Clo wrote:* Maybe the Author could make the reverse default, whether a majority of users would wish this ?
To only have the possibility to add an extra line in wcx_ftp.ini would make me happy :D
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Post by *Sheepdog »

If you want to connect a non anonymous FTP it's very simple:

If you begin the url with '@' the anonymous checkbox is automatically unchecked.

So leads the following input to
  1. '@ftp.nero.com' -> TC prompts for the username and password.
  2. 'stefan@ftp.nero.com' -> TC promts for the password for user 'stefan'
  3. 'stefan:password@ftp.nero.com' -> TC connects user'stefan' with password 'password'.
Guess it makes a additional line in wincmd.ini unneccesary.

sheepdog

See:
Total Commander Help Index -> 3.Operation -> g. Built-in FTP client -> FTP New Connection -> dialog box
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
User avatar
Clo
Moderator
Moderator
Posts: 5731
Joined: 2003-12-02, 19:01 UTC
Location: Bordeaux, France
Contact:

An error+not@

Post by *Clo »

2Sheepdog
:) Hello Stefan !
If you begin the url with '@' the anonymous checkbox is automatically unchecked.
¤ There is an error in the Help, since it's written : "… automatically checked." I corrected that in the Tutorials.
If you begin the url with '@' the anonymous checkbox is automatically unchecked
- Not necessary to begin with @; that works as soon as you type @ anywhere in the field.
:P "If my aunt'ld have a pair, she'ld be my uncle…" : in all connections with passwords at home, I have not any with @ inside the URL !
* Hence, the VandrHam's wish makes sense, even whether isn't very important for us.
* A new entry rather in wcx_ftp.ini like VandrHam said…

* To avoid the issue of that tick-box, one can set a new FTP connexion from the command cm_FtpConnect : Net Menu (or a button in the bar for me) >> button "New connection" which displays directly the dialog-box for the details to configure.

:mrgreen: V G
Claude
Clo
#31505 Traducteur Français de TC French translator Aide en Français Tutoriels Français English Tutorials
User avatar
Sheepdog
Power Member
Power Member
Posts: 5150
Joined: 2003-12-18, 21:44 UTC
Location: Berlin, Germany
Contact:

Re: An error+not@

Post by *Sheepdog »

Clo wrote:
If you begin the url with '@' the anonymous checkbox is automatically unchecked
- Not necessary to begin with @; that works as soon as you type @ anywhere in the field.
:P "If my aunt'ld have a pair, she'ld be my uncle…" : in all connections with passwords at home, I have not any with @ inside the URL !
neither in mine. But neverthless you have to use the'@' as a switch.
Take any of your connetcions (which requires authentication) and place the @ in front of the url. As described above you'll be prompted for username and password.

So I can't see why to make another option.

In my opinion it makes sense to try to connect to a new ftp server with anonymous connection.
If you know it isn't possible (or wanted) you only have to add the @ in front of the url. I think this way it is very handy to use non-anonymous connections (as you have to type in the url anyway for the 'New FTP Connection')

What do you think?
* To avoid the issue ....one can set a new FTP connexion from the command cm_FtpConnect
It lacks the advantage of [ctrl]+[n] shortcut (for the not advanced user).

kind regards

sheepdog
"A common mistake that people make when trying to design something
completely foolproof is to underestimate the ingenuity of complete fools."
Douglas Adams
User avatar
VandrHam
Junior Member
Junior Member
Posts: 6
Joined: 2003-12-19, 01:47 UTC

Re: An error+not@

Post by *VandrHam »

Sheepdog wrote:In my opinion it makes sense to try to connect to a new ftp server with anonymous connection.
If you know it isn't possible (or wanted) you only have to add the @ in front of the url. I think this way it is very handy to use non-anonymous connections (as you have to type in the url anyway for the 'New FTP Connection')
You've got a point there. the reason I brought this up is because I didn't know the tick went away automatically when typing @.
It does indeed make sense to try to connect to an unknown server anonymously, because when the server is 'known' then there's always a user name you can provide and hence put before the @.
Post Reply