BestSync Icon BestSync Help Home / Main Index / Task Wizard / General

Task Wizard: General / Browse FTP Folder / FTP Advanced Setting

Setup the advanced settings of the FTP/FTPS/SFTP server.

Authentication:

Password only:

Only use "User" and "Password" to authenticate the connection. This is the default setting.
"User" and "Password" are set in the Browse FTP Folder dialog box.

Private Key File Only:

Only use "User" and "Private Key File" to authenticate the connection.

Password + Private Key File:

"User", "Password" and "Private Key File" to authenticate the connection.

"Private Key File":

Set the full path name of the private key file. The private key file is generated by the server, it can be a OpenSSH DSA key file, PuTTY DSA Key file etc.

Here is a sample of an OpenSSH DSA key file:

-----BEGIN DSA PRIVATE KEY-----
Proc-Type: 4,ENCRYPTED
DEK-Info: DES-EDE3-CBC,934E999D91EFE8F8

j1sslF86hdpzaBdVeLZ9akXux+CEaa6HyZgou3BkRkWpMn7gFqX3lfRIjrlhY41w
+snC2HNYF5ae+WymP6fQ7TOhOsQD3KFBNbohn4dJE4fB0El6OKCbR2MGJlUkwMY4
q3VCu3yAeiMmLwocoHxbfXYXgjqPBqbLXPSsHzpirGyC8FD8+P0QWW/W4rJGGWru
866fkIPH+PCJXml4Io/YPUQYYFhRd4XTJvXqU0tLOpFfsLhetGziKNZuLGzpiVCt
v8Vt0VXKSD6M27gE788mEhJjtqVVpymRDReZhrt1MlGVofhuC34kA4L7+BLHARHq
bvM0SRSvqwNYxLNDWtV33RlOEvy/Kg7rRLnmSgZ7pPgUB4lbpC23Adp4djpdO5S2
LERDEV+cTmKGCpLOCGOEGlPOiEnROP8xjmqpGHNMaLh6Jd/zGdgdAN7/6Wk/TeaP
p/Ma4UQUnZEjkIpfxYtsMJ0Pb5JBZf41vJMVqFlDKeOngFIlWzv9G34Ip2GbZVUJ
0CfbD3VrZb8t6ethcSQ7NKkMpB0s4Qu+nSIHZngb6Z/uzTVX/ElbxVu7/kca627n
LtXBcDZtkYey7ANePw0Q2Ju3rOcWJQK691K3M/qZkPO5TKtybmdMHV6EuVPGlPXV
d2fUUBCZpTs8udN9bE8lZIGC//RX4hPfCV1eL0cZehByJeJG6EK1UvrCPnsfymFi
bWJvjM4SWxFaMUNQRPuNywE1c9K0BqR/NQa6scADReXU66pho/ttb1Furnmm68rB
SQq+CA5DjBOMYIbD6s0zMLKICwrk4DYTZlhRGb/fP9BAWZN+scz3ot4RUaURasXj
Fb9b0arwqL5b84pDoA+gdxnDcB60RjegLTPqC/EuVepHTRRZN3w5eZvW5ZjHwmzw
TYPYoraj7NBRaTx81ZVkKViDZnqSY2xjUnuiUbWrgKWC+asZzQDGGebLFQmFr0V3
rkI7MR7JHrl5VrIKro9ewVFhqugdMASzC3e0GjKQowec5ELjVAGLz+zvHrAcrxkh
m8Q2lHl1efS/rnCyk9DDKqHBkcIYkyxmtQMtbg4MruEIBQhTx4bUzQdq5VLYYlqY
YrrEcZveySg0ILT9x0swM22ji3w0S7Xv
-----END DSA PRIVATE KEY-----

Transfer Mode:

"ASCII" mode, "Binary Mode":

Usually select "Binary mode".
When publish the script files (such as Perl script (*.pl))  to web server, it is necessary to convert all the "\r\n" (CR+LF) to "\n" (LF), when "ASCII Mode" is selected, BestSync will convert  "\r\n" (CR+LF) to "\n" (LF) automatically when uploading files.
Because "ASCII mode" may modify the carriage-return code (CR+LF) in the file during uploading file, this action lead to the difference of the file size, and cause the "Mirror-Mode" uploads files every time the folder is synchronized.

Switch mode by file type:

"Send the following files by ASCII mode:"

The file types listed in the edit box will be sent in ASCII mode, and others are send in binary mode.

You can use browse file type button to select the file types.

File Name:

File name conversion:

Select the code page that the server uses to transfer the file name.
If you select "0000--No Codepage conversion", BestSync uses the default codepage of the OS to transfer the file names. If you select this setting, BestSync will detect UTF codepage automatically.
Note: If you select a incorrect code page. The file names will not be transferred correctly.

Upper case / Lower case conversion:

Select an option to do case conversion of the file name.

File Attributes:

Modify attributes of FTP file:

When publish the script files (such as Perl script (*.pl))  to web server, the attributes of the script file need to be set to "Execute", otherwise the web server will refuse to execute the script. This option will modify the file attributes of the files that meet the filtering patterns.
You can also modify the attributes of the folders by "Modify attributes of folders that include the following sub-strings."  option. If you want to modify the attributes of all the folders, specify "*" in the edit box of the filtering substring.

File Time:

Use MDTM etc command to get the accurate timestamp of file if available.

If the FTP server supports MLSD command, BestSync uses MLSD to get the accurate timestamp of file, this option is ignored. This option is not used when the server is SFTP (SSH File Transfer Protocol) server.

If the FTP server does not support MLSD command, BestSync uses LIST command to get the file list in the FTP folder. According to FTP protocol, the LIST command either does not include time data or the year data in the timestamp. BestSync needs to use MDTM, SITE UTIME or MFMT command to get the accurate timestamp of the files. It is recommended to check this option in this case. But this option  will decrease the performance, because BestSync need to send "MDTM" command for every file to get the accurate timestamp. If the server does not support  MDTM, SITE UTIME or MFMT, BestSync uses the sync record to guess the timestamp, usually the result is accurate.

In one-way synchronization, you can uncheck this option, BestSync can synchronize the folders correctly with high performance.

In two-way synchronization, It is recommended to check this option.

Time zone of Server:

If your account has the writing privilege on the FTP folder, BestSync can detect the time zone of the server automatically. Please select the "Auto detect (Writing privilege is necessary)".

If the FTP server does not support MLSD command, BestSync needs to convert the timestamp get by LIST command from server's local time to UTC time, the time zone of the FTP server becomes critical for the conversion. Please specify the correct time zone of the server.

Miscellaneous:

Call "CWD" to change the current directory before "MLSD" etc command.

If this option is checked, BestSync calls "CWD folder-path" to change the current directory in the FTP server first, then call other commands.

If this option is unchecked, BestSync does not check the current folder, instead uses the full path to list, upload, download files directly.

Apparently, the performance is better when unchecking this option. But some server, such as Pure-FTPd, can not handle the files in the current directory, please check this option if synchronize with this kind of server.


BestSync Icon BestSync Help Home / Main Index / Task Wizard / General