Dialog box: Connection details
With this dialog box you can set the details of an FTP connection.
Session: Here you can give an arbitrary name to the connection, e.g. Microsoft FTP server. If the connection is stored in a subfolder, it is shown in front of the name separated by a vertical line | (pipe symbol).
Host name: This field lets you enter the server name or IP-address of the FTP server, e.g. ftp.microsoft.com
A different port number can be specified separated by a colon, e.g. ftp.firma.com:1021
To force explicit ssl (AUTH TLS), use ftpes:// prefix.
To force implicit ssl (encryption from the start), use ftpis:// prefix.
SSL/TLS Use encrypted connection via SSL or TLS. No longer requires the installation of the OpenSSL libraries libssl.dll (often called ssleay.dll) and libeay.dll from
www.ghisler.com/openssl/ on newer Windows versions than Windows XP. It's still possible to use OpenSSL, though. Make sure to get the latest version! Root certificates can be placed in a file named wincmd.pem in the same directory as wincmd.ini when using OpenSSL. wincmd.pem is NOT used with the new sChannel functions.
New in 10.50: OpenSSL3 is supported now! The files libssl-3.dll and libcrypto-3.dll (libssl-3-x64.dll and libcrypto-3-x64.dll for 64-bit) need to be put in the program directory (not the 64 subdirectory!).
To turn off the encryption of data connections, put the command PROT C in the Send Commands field.
Anonymous login
Press this button to configure Total Commander to make an anonymous connection. This means that anonymous is sent to the server as the user name, and your e-mail address as the password. Total Commander will ask for your e-mail address each time you press this button.
User name: Here you can enter the user name (anonymous if you don't have an account on the server).
Password: Here you can enter the password for the site. Only enter the password here if your PC is completely secure! It's not a good idea to save the password on computers open to other people! Total Commander will ask you for the password when connecting (if the password isn't given here).
Change password
This button is shown when the password is protected with a master password, and the master password hasn't been entered yet. Click on this button and then Abort to make it possible to uncheck the option to use the master password.
Use master password to protect the password
Allows you to protect the password with a master password. This is useful because you have to remember just one password, and your passwords are protected with the strong AES256 encryption. Make sure to use a long enough master password containing both upper-, lowercase characters, numbers and punctuation. The estimated strength of the used password is also shown. Please note that this doesn't check for any existing words - if you use an existing word from a dictionary, the strength is MUCH lower!
The option is grayed out when you haven't yet entered the previously set master password. Then there are 3 ways in which you can still remove the protection with the master password:
1. Click the "Change password" button and enter the master password. The checkbox will no longer be grayed out, so you can change it.
2. Click the "Change password" button and then click Abort. The checkbox will no longer be grayed out, but if you uncheck it, you will have to enter the password for the connection. If you click OK without entering the password, your password will be lost.
3. Click OK or Cancel to close the dialog, then click the Encrypt button in the main FTP Connect dialog and then click the Remove Encryption button.
Remote dir: If you specify a directory here, Total Commander will try to change to this directory on the remote host immediately after connecting. IMPORTANT: The parts of the path are usually separated by a forward slash '/'.
Local dir: After connecting, Total Commander will switch to this local directory (if given) in the other file window. The parts of the path must be separated by a backslash '\'.
Use passive mode for transfers (like a WWW browser)
Each file transfer (upload or download) needs an additional connection for the data stream. Normally (in active mode), the server establishes this connection. In passive mode, however, the client establishes the connection. This may be necessary through some firewalls, which do not allow connections from outside.
Use firewall (proxy server)
If you access the Internet over a company network (or Intranet), you may need to specify a firewall server here. For this purpose, selecting this option will open another
dialog box.
Send commands:
After connecting, send the specified commands to the FTP server. Multiple commands can be given separated by a semicolon ";".
Semicolons within a command can be sent by duplicating them, e.g. CWD /test/a;;b;;c;PWD sends commands
CWD /test/a;b;c
and
PWD
Server type: Most public servers on the Internet are supported by Total Commander's 'autodetect' mode. However, many mainframes or Intranet servers use their own proprietary style of file listing, which isn't understood by Total Commander. This option allows you to use such servers. To configure a proprietary server, choose 'Define new type' and then connect to the server, if possible to a directory with many files and folders in it. You will then be shown a
dialog box which allows you to configure the settings for this server. You can also import server types defined by others, by choosing 'Import from file'. Create your own definition file by defining a new connection through 'Define new type', save it, and then copy the section from the file wcx_ftp.ini to a separate file. The section may look like this:
[Unix1]
Template1=pppppppppp !S* TTT DD UUUUU n*
Note: When the MLSD command is used instead of LIST, this option has no effect, because the format of MLSD (machine list directory) is strictly defined in the standard.
Send command to keep connection alive:
Allows you to send a user-defined command every xx seconds to simulate traffic. This is useful for FTP servers with a very short timeout, e.g. a few minutes. Keepalive is only sent for a maximum of 1 hour, to allow other users to use the connection.
Encoding of file name
Determines how the file names are sent by the server. Normally servers send the name with the local encoding of the server, usually a Windows/ANSI codepage. Some newer servers also support UTF-8 encoding, which allows you to use Unicode file names. When you set this option to automatic, TC will send the command
OPTS UTF8 ON
to determine whether the server supports Unicode. TC will revert to ANSI encoding (same codepage as the client) if the server doesn't confirm the above command. TC also checks the SYST command response for the reported encoding, e.g. UNIX Type: L8 , CP:1252.
You can also choose the codepage manually from the list, or enter a numeric codepage value if the accents do not appear correctly.
Use MLSD for directory listings (grayed=auto-detect)
The MLSD (Machine LiSt Directory) command is supported by newer ftp servers to return the directory/folder listing in a standardized format which is easily readable by programs. The normal LIST command, however, is mainly meant to be read by humans.
One big advantage of MLSD standard is that the time stamps MUST be returned in UTC (Universal Time, UK time zone) instead of local time. This makes it possible to show the file timestamps in the time zone of the user instead of the time zone of the server. Therefore MLSD should be used whenever possible.
This is a checkbox with 3 states:
1: Grayed/filled box: Auto-detect whether the server supports MLSD or not via FEAT command
2: Checked: Try to use MLSD even if the server doesn't report it, or the FEAT command is disabled
3: Unchecked: Use the LIST command instead of MLSD to get directory listing (as in old TC versions)
Remember contents of all visited directories (in cache)
If checked, Total Commander only refreshes the file list the first time you enter a directory, or when the directory is changed by Total Commander itself. You can, however, refresh directories at any time with F2 or Ctrl+R. Uncheck this option if the contents of the ftp server change often, e.g. because other people upload files to the server all the time.
Client Certificate:
Allows you to specify a client certificate from the Windows certificate store for authentication with the server. The certificate needs to be loaded via:
Control Panel - Internet Options - Content - Certificates
A certificate can be converted to Internet Explorer format with OpenSSL:
openssl pkcs12 -export -inkey MyClient1.key -in MyClient1.pem -out MyClient1.p12
This option only works with sChannel (starting with Windows Vista), not with the OpenSSL DLLs.