Settings in the file wcx_ftp.ini
Please note: This file is used for the settings of the FTP client. Most settings can also be changed from dialog boxes. All other settings for Total Commander are stored in the file
wincmd.ini.
[General] General settings
AESVerify Used to verify that the user has entered the correct AES master password for the password manager.
Allowhook=2 This option controls the keyboard input in the master password dialog:
0: Don't allow a keyboard hook to be set, show warning icon
1: Allow a keyboard hook to be set, show icon to indicate it
2: Allow a keyboard hook to be set, don't show icon to indicate it (default)
Explanation: Total Commander reads key presses via a system-wide keyboard hook and then clears the key, so simple keyloggers cannot read the keys with the same method. This can be disabled because some antivirus programs may complain about the hook.
Ascii=*.txt *.htm* File extensions of files which should be recognized as text files
AutoDisconnect=0 Defines what happens when the user tries to connect to another server in the same window, while another connection is active:
0: ask user (default)
1: disconnect previous
2: keep previous
AutoResume=30 Timeout in seconds until Total Commander tries to restore a hanging connection, and resume the file transfer. Set to -1 to disable.
ConnectRetries=10 Number of connection retries for anonymous connections
DecodePercent=0 1: Decode %hex values in username/password in URLs to characters, e.g. %73 -> s
DataConnectTimeout=10 Connection timeout for data connections (uploads/downloads): Time in seconds until server must react when requesting a transfer, in seconds. Maximum value: 300 seconds
E-Mail=xyz@server.com E-Mail address, which is used as the password for anonymous connections
ForceHTTP11=0 0: Use HTTP 1.0 for all transfers except for resumed downloads
1: Use HTTP 1.1 for all transfers
Downside of HTTP 1.1: Many servers then send dynamic pages (e.g. PHP) in "chunked" mode without reporting a total size. Therefore no progress bar is possible.
Advantage: The server can already start sending the dynamic page while still creating it.
FtpInBackground=0 If =1, FTP transfers will always be started in the background (separate connection)
FtpOpenIn=0 Open ftp connections by default in the:
0: Active panel
1: Left panel
2: Right panel
3: Inactive (target) panel
FtpShowHidden=0 1: Check the option "FTP show hidden files" at startup (1/0)
GetModeFromLocalFile=0 1: The extension of the local file determines whether the file is transferred in automatic mode as binary or text (default: extension of remote file name).
Httptimeout=30 Wait xx seconds for the response from the WEB server for HTTP downloads
KeepAliveTransfer=0 1: Send keepalive also during a transfer. This will send just newline characters to the control connection to avoid that a firewall/gateway drops the connection. Set also individually per server (the latter not working in BTM). Note that this will confuse some FTP servers, but it may be the last resort in case of frequent connection losses.
KeepMasterPassword=0 Allow to keep master password in memory when:
1: program is minimized
2: screen saver starts
3: both
LogFile=c:\Path\Log.txt Write a log file with the specified name
LogFile2=c:\Path\Log2.txt Write a log file with only the most important data (transferred files)
MDTM=3 Use MDTM command to set time stamp of uploaded files (currently only supported in SYNC function). It's a sum of:
1: Enable/disable function
2: Send timestamp in Universal time (GMT). Most servers expect that instead of local time.
MLSD=-1 -1: Use MLSD if the server reports to support it, otherwise LIST
0: Use LIST command for directory listings
1: Use MLSD command for directory listings
Note: This option can also be set separately for each server.
ModeZ= Enable/disable compressed transfers:
0 disabled
1 enabled for the Internet (not local network)
2 enabled also for local network (LAN)
PortFrom= Start port for port mode (active mode)
PortTo= End port for port mode
PortIP= External IPv4-address of this computer. Here you can put either a fixed IP address, a DNS name (e.g. DynDNS) or a URL with http:// at the beginning. In the last case, the web page has to return the IP address in text form.
PortIPEnabled=0 Turns the above IP address on/off.
PreferIPv6=-1 -1 prefer IPv4, use wsock32.dll (default, all other use wsock2_32.dll)
0 prefer IPv4 (normal Internet addresses)
1 prefer IPv6 for servers which support both IPv4 and IPv6
2 try IPv4 and IPv6 in the order the name server returns them
-2 IPv6 turned off completely, only try first IPv4 address
PreferOpenSSL=1 1: use OpenSSL DLLs if installed for HTTPS and FTPS connections, otherwise sChannel functions
0: use sChannel functions (Windows Crypto API) for secure connections, if possible
-1: use OpenSSL if installed, do not use sChannel otherwise
PreventFEAT=0 1: Do not send the FEAT (supported features) command to servers. Some proxies seem to hang when this command is being sent.
ReturnToReUploadDir=0 When editing a file with F4 and then saving it, the file is automatically uploaded back to the server. With this option, the current directory returns to the location of the file
SaveNewConnection=1 Ask whether a new connection created via Ctrl+N should be saved when disconnecting
SpecialFlags=0 Sum of the following options:
1: force implicit ssl (no clear text connection)
2: force explicit ssl
4: force TLS authentication
8: force SSL23 authentication
16: detailed log for ftp connections in background
32: Do not test whether files have been uploaded completely (with SIZE command)
64: Do not verify the downloaded file size (with SIZE command) if the downloaded size differs from the size reported in the file listing
128: Do not re-use sessions for SSL data connections (via SSL_copy_session_id)
256: Do not send commands from "Send commands" field in background thread
512: Send MLSD -la to request hidden files (not supported by most servers)
1024: Do not convert local address returned by PASV command to server address
2048: Duplicate all characters with code #255 for servers expecting Telnet-style escape characters
4096: Use MDTM command to set remote timestamp
8192: Use MFMT command
12288: Use SITE UTIME (sum of 4096 and 8192)
sslwarn=1 0: Turn off warning about invalid ssl certificates. TC will still show a red open locker icon
SyncAllowChangeLocalTime=1 Synchronize dirs: Enable/disable the change of local file timestamps when the server doesn't support the change of timestamps on upload
TcpKeepAlive=0 1: Use TCP keep alive for all connections: Useful for certain firewalls/router if the connection breaks very often.
TransferMode=I Transfer mode when starting Total Commander:
A=Text
I=Binary
X=Automatic
UploadBlockSize=1 Size of upload buffer. On fast networks, you may try larger sizes like 1492 or even 8192.
If set to 1, the block size is chosen automatically after uploading the first 128 kByte of a file
UserAgent= Set the user agent for HTTP connections.
Default: "Mozilla/4.0 (compatible; Totalcmd; Windows x)" with x the current Windows version
VerifyCerts=1 Control verification of certificates:
1: always enabled
0 always disabled,
-1 only when wincmd.pem exists
-2 like -1, but do not use Windows cert store (like TC 8.5x or older)
WaitDelay=5 Wait delay between two connection retries (in seconds)
WarnWrongMode=1 1: Warns when binary files are uploaded/downloaded in text mode
0: No warning (as with Total Commander 3.5x)
ZlibRatioBin=3 0..9: zip library compression ratio for uploads. 0=none, 1=fastest, 9=strongest
ZlibRatioTxt=3 0..9: same as zlibratiobin, but for text files. You may want to set a higher value here, because text files usually compress better. Attention: The Cisco PIX firewall dislikes strength 1, and aborts the upload!
[CertAlias] Stores server aliases when the user chooses to trust an ftps (ftp over ssl) server by clicking on the open locker icon
server.com=hostcompany.com Example: User connects to server.com, but the server certificate belongs to hostcompany.com
[default]
pasvmode=0 1: Always use passive mode for new connections
0: Always use active mode
PreserveDates=0 Preserve file date/time on downloads
PreserveDatesUpload=0 Preserve file date/time on uploads (if the server supports it)
LowercaseUpload=0 1: Convert filenames to lowercase during upload
0: Upload filenames as they are on disk
ViaLocalPC=0 1: When copying files from server to server, the data will be copied via local PC
[firewall] Settings for firewall or proxy server
host=localhost:80 Name and port number of the firewall
password= Password (not necessary for all firewalls)
username= User name (not necessary for all firewalls)
Method=1 Firewall method (order as in the firewall dialog box)
default=1 1: Always use Firewall for new connections
0: Do not use firewall for new connections
This option is changed automatically every time a connection is saved.
httphost= These 3 options are for http transfers
Name and port number of the firewall
httpuser= User name (http)
httppass= Password (http)
[connections] List of the configured connections shown in the
Connect dialog
1=Site1
2=Site2
default= Name (not number!) of the last used connection
[OldConnections] List of connections made earlier in the dialog
New Connection
0=ftp://ftp.anysite.com/pub/subdir/
1=user@ftp.anyprovider.com
[Site1] Connection details of one of the connections under [connections]
anonymous=1 1: Anonymous connection, 0: Connection with password
directory=/pub/subdir Directory on the server, which is set after connecting
localdir=c:\local Directory on the local machine, which is set after connecting
Encoding=-1 Encoding of file names: -1=auto-detect, otherwise codepage as used in MultiByteToWideChar
0=default ANSI, 1=default ASCII, 65001=UTF-8 etc.
firewall=1 1: Use the server configured under section [Firewall] as a firewall/proxy
host=ftp.site1.com:2121 Name of the server, if necessary the port (separated by a colon)
password=00000000000000 Password, disguised (scrambled, NOT encrypted, it's impossible by principle!)
acct=00000000000000 Account password, must be set manually by copying from a password line
pasvmode=0 0: Uses active mode (PORT command)
1: Uses passive mode (PASV command) - useful for certain firewalls
username=test Username for the server
hosttype= User-defined host type (name)
InitCommands= Commands sent to server just after logging in
keepalive= Keep alive repeat time in seconds, followed by keepalive command, e.g. 90,NOOP
MLSD=-1 -1: Use MLSD if the server reports to support it, otherwise LIST
0: Use LIST command for directory listings
1: Use MLSD command for directory listings
CacheDirs=1 0: Re-read directory every time it is visited
1: Keep content of visited dirs in cache
ClientCert= Serial number of the certificate from the Windows certificate store, followed by a colon and the SHA1 checksum of the certificate (first half)
SpecialFlags=0 See section [General]. The options per site take precedence
[ServerType1] User-defined server type
Template2=
[TimeZone]
Site1= Saves the time zone difference separately per site (for synchronize dirs)
[|empty_folders|] Saves the names of all empty folders in the FTP connection dialog
[|FSPlugin|PluginName] Saves encrypted passwords from file system plugin "PluginName". Allows you to change the master password.