Knowledge Base Export

Displaying 258 articles Generated at 07.Nov.2009 15:16
How To switch between Active / Passive mode#1

Goal
Switch between Active and Passive mode

How To

  1. Select Favorites > Edit Favorites from the SmartFTP menu. The SmartFTP Favorites window appears.
  2. From the SmartFTP Favorites window select the Favorite of interest (check the Quick Connect folder). Right-click on the Favorite and select Properties. The Properties dialog appears.
  3. Under the FTP option select Connection. From the Connection tab under Data Connection you can change the Mode to Active Mode (PORT) or Passive Mode (PASV) for the selected Favorite.

Current Session Setting

  1. Click the "PASV" button on the toolbar in the Remote Browser when connected to a server.
Active FTP vs. Passive FTP, a Definitive Explanation.#2
The following web site will redirect you to a very well written article, which will cover the basics of "Passive vs Active" mode functions.

Active FTP vs. Passive FTP, a Definitive Explanation
What is SSL/TLS?#3

TLS (Transport Layer Security) and SSL (Secure Sockets Layer) are cryptographic protocols that allow making secure connections from an FTP client to a server with SSL capabilities. The server sends the client a certificate and a public key for encryption. If the client accepts/trusts the server's certificate, an SSL connection can be established. When an SSL connection is established, all data passing from one side to the other will be encrypted and will only be able to be decrypted by the parties involved in the transfer of data.

When both a client and server support SSL or TLS, the utilization of security is accomplished through a sequence of commands passed between the two machines.

The FTP protocol definition provides at least two distinct mechanisms by which this sequence is initiated: Explicit (active) and Implicit (passive) security.

Explicit: This type of security requires that the FTP client issues a specific command (AUTH SSL or AUTH TLS) to the FTP server after a connection to establish the SSL link has been made. The default FTP server port is used.

Implicit: This is a mechanism by which security is automatically turned on as soon as the FTP client makes a connection to an FTP server. In this case, the FTP server defines a specific port for the client (990) to be used for secure connections.

How do I install additional unicode fonts?#4
For Windows 2000, Windows XP and Windows 2003 users:

Requirements: Installation CD of your OS

  1. Go to Start > Settings -> "Control Panel."
  2. Double click on "Regional Options."
  3. In the "General" tab under "Language settings for the system" select the languages you want to install.
  4. Press "OK" to proceed and have the operating system CD ready.
For Win98 and Windows ME users:

  1. The base unicode font "MS Arial Unicode" is available with Office 2000/XP, Frontpage 2000 and Publisher 2000.
  2. Install the latest MS Internet Explorer, which will install a bunch of unicode fonts.
For additional Unicode fonts, please see the following page: Alan Wood's Unicode Resources

Japanese, Chinese (Simplified, Traditional), Korean:
Download the Microsoft Global IME + Language Package and extract the .exe with an archive utility such as (WinRAR or Winzip) and copy the .ttf files into the "C:\Windows\Fonts folder".
Where do I get the MS Unicode Layer for Win9x (unicows.dll)?#5
This article is obsolete.
SmartFTP no longer supports Windows 98 or Windows ME. For more information please refer to the related articles.

The MS Unicode Layer for Win9x (unicows.dll) is required to use Unicode builds on Windows 9x/ME.

When installing SmartFTP with the official installation setups, the unicows.dll is automatically installed.

MSI Setup
http://www.smartftp.com/get/SFTPMSI.exe

For users running the NT4/2000/XP/2003 operating systems, you will not need the "unicows.dll", this is because complete support is already provided within the newer operating systems from Microsoft.
How To share my files#6

SmartFTP is an FTP client that allows you to connect to an FTP server. An FTP client cannot directly connect to another FTP client. In order to share files, an FTP server as an intermediary is required. You can either install an FTP server on your computer or you can sign-up for a web hosting plan which offers you this service. 

Setup FTP server on your computer
This option requires a bit of technical know-how and a preferably a permanent Internet connection if you want others to connect to your server. Take a look at the list of FTP servers.

Sign-up for a web hosting plan
A web hosting provider typically offers you a place where you or others can store files on the Internet. In this case the web hosting provider manages and runs the FTP server. To share files with other parties the files needs to be uploaded to the FTP server first.
Wikipedia: Web hosting service

System Requirements#7
To use SmartFTP, your system should be equipped with the following:

Supported Platforms
  • Windows 2000, Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008

    Requirements
  • Microsoft Internet Explorer 6.xx+
  • Pentium 1GHz+ class processor
  • 64 MB of memory (128 MB recommended)
  • 15 MB available disk space
  • Internet connection to obtain software updates
  • Slow file transfers#8
    Several factors outside of the control of the SmartFTP program determine the file transfer rate: the Internet connection type, the Internet traffic, the server traffic, the network traffic on the ISP that is hosting the server etc. Nevertheless, you can try the following things in order to improve slow transfers.
    • Test Maximum Connection Speed
      It is important that you test your connection speed since it has the highest influence on transfer speeds. You can test your connection speed, tweak it, and get additional help on the following sites:
      www.dslreports.com/speedtest
      www.speedguide.net
      www.pcpitstop.com
    • Turn on Mode Z Compression
      Mode Z compresses files on the fly as they are being transferred, saving bandwidth and improving transfer time. The server needs to support Mode Z nevertheless. For further information please refer to the following knowledge base article:
      KB: MODE Z / zlib
    • Fine tune the Receive and Send Buffer sizes
      In some cases changing these transfer buffer sizes can make a difference; in particular in transfers over high loss, high speed connections where latency plays an important role. For more information on Buffer Sizes and how to change them refer to the following knowledge base article
      KB: How To change Transfer Buffer Sizes

     

    Note: Please keep in mind that the most determining factor is the connection speed. Tuning the Buffer sizes and turning on the Mode Z will have a minimal effect on transfer speed.
    What is an IP Address?#9
    An IP Address ( Internet Protocol Address) is computer's unique address on the internet. Each packet of data on the internet contains a source and destination IP address, so information can be routed accordingly. Any network device such as routers, computers, servers, printers, fax machines and some telephones can have their own address.

    Note: Some IP addresses are internal to your local network, and not routable to the internet. The following 3 blocks of the IP address space have been reserved by the Internet Assigned Numbers Authority (IANA) for private Intranets:

    10.0.0.0 - 10.255.255.255 (10/8 prefix)
    172.16.0.0 - 172.31.255.255 (172.16/12 prefix)
    192.168.0.0 - 192.168.255.255 (192.168/16 prefix)

    If your PC is assigned an IP address in one of the above ranges, it is most probably behind a firewall, running NAT or SOCKS. In this case, the IP packets sent to the internet are addressed from the firewall, and not from your PC.
    Multi User Configuration on Win2K/XP/2003#10
    • Install SmartFTP onto the target machine.
    • Create a new registry key on the target machine. The "Application Data Folder" can be set in the registry: HKEY_CURRENT_USER\Software\SmartFTP\Client 2.0\Settings\General > "Application Data Folder".
    • You can use an environment-variable like "%UserName%" and "%APPDATA%" so that the value is something like "%APPDATA%\SmartFTP\Client 2.0".
    • This is expanded to "C:\Documents and Settings\mb\Application Data\SmartFTP\Client 2.0" on my computer.
    • If you create the registry key/value on your own, make sure the type is set to "REG_EXPAND_SZ".
    VMS Path Handling#11
    You can use the following path style for accessing the VMS storage in SmartFTP:

    VMS Storage Directory Path
    SYS$USER: /SYS$USER:/
    SYS$USER:[ANONYMOUS] /SYS$USER:/ANONYMOUS/
    SYS$USER:[ANONYMOUS.PUB] /SYS$USER:/ANONYMOUS/PUB/
    SYS$USER:[BLABLA.PUB.TEST] /SYS$USER:/BLABLA/PUB/TEST/
    SSL Error: Credentials#12
    With SmartFTP you can create an SSL certificate. SSL servers use certificates to determine whether or not they will allow you to connect, the certificate proves the client's legitimacy to the server.

    Error

    When trying to connect to a SSL/TLS server you might encounter the following error:

    The credentials supplied were not complete, and could not be verified. Additional information can be returned from the context.

    Solution

    1. Select Favorites > Edit Favorites from the SmartFTP menu. The Favorites window appears.
    2. From the Favorites window select the Favorite to be used. Right click on the Favorite and select Properties. The Properties dialog appears.
    3. Under FTP > Connection select SSL.
    4. Under the Client Certificate click on the Create Cert button and follow the wizard to create a self-signed certificate.
    5. Once completed, select it from the drop down box and click OK to save the changes. You will need to close the remote server window and reconnect back to the server.
    How To CHMOD file/folder(s)#13
    1. To change a file's permissions, left-click on the file or directory to highlight it.
    2. Right-click on the file and a pop-up menu appears. Choose "CHMOD" and type in the number manually (ex: 444) or use the check boxes.
    3. You can also enable the "Command Line" window, which will allow you to send raw commands directly to the server.
    4. To find the "Command Line" select View > Toolbars > Command Line from the SmartFTP menu. The "Command Line" when enabled, will be viewable under the "Log View" window.
    For a complete guide to learning how-to CHMOD, please view the flash Tutorial.
    What Is FXP?#14
    FXP stands for File eXchange Protocol. It lets you copy files from one FTP-server to another using an FXP-client. Normally you transfer files using the FTP protocol between your machine and a FTP-server, and the maximum transfer speed depends on the speed of your Internet connection (e.g. 56k, cable or T1). When transferring files between two remote servers using an FXP client, the maximum transfer speed does not depend on your connection but only on the connection between the two servers, which is usually much faster than your own connection. Because it is a direct connection you will not be able to see the progress or the transfer speed of the files.

    Restrictions 
    • Both FTP servers must support FXP and have it enabled. Please consult with the server administrator since most FTP servers do not support FXP, or have FXP disabled due to potential security risks.
    • One server has to support PASV mode and the other server must allow PORT commands from a foreign address. The client logs in to both servers and then it arranges for a file transfer by telling one server that it will be a passive transfer and the other that it will be an active transfer, see example.

    Example
    The FTP client tells the destination FTP server to listen for a connection by sending a "PASV" command. The source FTP server connects to the data port reported by the destination server (after a successful PASV command). The client then passes the address/port in a "PORT" command to the destination server. Thus all the data goes directly from the source to the destination FTP server. Both servers only report status messages on fail/success to the FTP client.

    You can transfer files from one remote server to another using SmartFTP by opening a remote server in each window and then dragging and dropping. For more information on how to do this please refer to the How To's for FXP transfers:
    Tutorials
    NAT stands for Network Address Translation.#15
    To understand what this is, how it functions and why it is needed, we must first cover how the Internet handles communications between computers.

    WARNING: Some of the following discussion is simplified and glosses over some of the nit-picking details on how the Internet actually works. For the purpose of this FAQ, the level of detail used is adequate and any statements that are not 100% accurate are intended to avoid needing to go into extraneous detail.

    Every computer using the Internet needs an address of the form X.X.X.X (where each X is a number from 0 to 255). Due to the limited number of such addresses, there can be a need for Private Networks with large numbers of computers/devices to have addresses that do not conflict with the Internet Addresses. To fill this need there are certain addresses (10.X.X.X and 192.168.X.X) that have been designated for use on these Private Networks that are not part of the Internet. No computer on the Internet is allowed to have these addresses. When such a network wants to communicate with the Internet it does it through a NAT Gateway (which can often also act as a Firewall). All I will say here about Firewalls is that they are used to control what types of sessions are allowed to cross the Gateway.

    When a computer wants to talk to another computer on the Internet it starts a Session with that other computer. For a computer to be contacted to create such a session, it must "listen" for the attempt to start a session. The listening is done via Port-Numbers (ie: Listen for an attempt to start a session to my "Port Number X"). There is a list of "Well Know Ports" that tell what Port Number to use to start different types of sessions. For example if you are Web Surfing, you connect to the Web Site and ask for Port Number 80. To send Email, you'd ask for Port Number 25.

    The contacting Computer also needs a Port Number so that it can receive the responses. This Port Number comes from a range that is allocated for stating sessions and is unique for the life of that session. IOW, if you are Web Surfing and have more than one session open, each session has it own unique Port Number (this allows the browser to know which window to display the incoming information in). The Session is defined by its two endpoints. Thus if you have a Web Session it would be X.X.X.X:5788<->Y.Y.Y.Y:80. If you open another Web Window and go to that same site, the session might be X.X.X.X:5789<->Y.Y.Y.Y:80.

    The forgoing is what happens when the computers are both on the Internet. What happens if one of the computers (let us for simplicity say the one who is doing the Web Surfing) is on one of the aforementioned Private networks and has an address of 192.168.l.50? When it tries to go to the Web Site, it will try to start a session 192.168.l.50:5789<->Y.Y.Y.Y:80. The messages destined for Y.Y.Y.Y will be sent to a computer that is acting as a Gateway (this is a computer that can talk to both the Private Network and the Internet and does NAT). On the Private Network this Computer is know as 192.168.1.1 while on the Internet it is known as Z.Z.Z.Z. When the message gets to it, it will alter the reference in the message that says "I am from 192.168.l.50" to say "I am from Z.Z.Z.Z". It will also assign its own Port Number from the stating sessions range (let us say 7777). Thus it starts its own session of Z.Z.Z.Z:7777<->Y.Y.Y.Y:80 with the Web Site. It also adds to a table the fact that it's Port 7777 is really 192.168.l.50:5789. This is the reason for NOT keeping the real computer's Port Number. It must be able to tell who it is acting as and using the real computer's Port Number can cause problems if another computer (such as 192.168.1.99) wants to start a session as 192.168.l.99:5789 (IOW: using the same Port Number as 192.168.l.50 is using). By assigning a Port number of 7778 to 192.168.l.99's request the two attempts to use Port Number 5789 are kept separate.

    To the Internet, the two sessions LOOK like they are the same computer (which in reality they are since they are being sent to/from the Gateway Computer). As each message comes in from the Internet the Gateway Computer uses the Port Number in the incoming message to determine who to send it to on the Private Network and it sends the message to the Private Network with the correct 192.168.1.X address and Port Number). Internet directed messages get the same treatment in the other direction (use the table to get the Internet side address and port and send it on its way).

    It is all very elegant. The Internet sees the whole Private Network as being the Gateway Computer (and is not even aware of the Private Network) while the computers on the Private Network see the Gateway as the Internet.
    What is SmartFTP created with?#16

    SmartFTP Client is written in C++ and developed with Microsoft Visual Studio 2005. The latest version also uses components from the xtreme Toolkit Pro from Codejock Software for the Graphical User Interface (GUI).

    Summary
    Language C++
    Technology COM, MFC, ATL, STL, WTL
    IDE Microsoft Visual Studio
    Components Codejock XTreme Toolkit Pro, IDN, zlib, OpenSSL, Schannel
    Documentation MSDN
    Tools Microsoft Platform SDK, Visual Assist, Subversion, TortoiseSVN

    SITE CHMOD errors#18

    500 SITE not understood
    500 Unkown command
    500 SITE CHMOD command not understood
    502 Command 'SITE' not implemented

    The errors above vary from server to server. The host ftp server does not support the SITE command therefore it is not possible to send the SITE CHMOD command to set permissions on files or folders.
    If your server does not support CHMOD you need to contact the host of the FTP server for further assistance. CHMOD stands for change mode: command to change file system modes of files and folders such as permissions.
    500 FEAT not understood#19
    Problem

    500 FEAT not understood

    Cause

    The error is displayed as a reply from the server during login because the server did not understand the command just sent. This is because the server does not support the "FEAT" command. The majority of the time this error can be ignored as it is not a critical error and should not interfere with your transfers. The "FEAT" reply varies from server to server since it displays the current features that the server supports.

    Solution

    If you are experiencing problems with the "FEAT" command being sent to the server during the login process, you can disable the "FEAT" command:

    1. Select Favorites > Edit Favorites from the SmartFTP menu. The Favorites window appears.
    2. From the Favorites window select the Favorite of interest. Right click on the Favorite and select Properties. The Properties dialog appears.
    3. Under the FTP option select Connection. From the Connection tab under Control Connection disable the " Send FEAT " option.

    500 Reply marker must be 0.#20
    The server does not support resume. It is not an error nevertheless.
    500 Illegal PORT Command
    500 Illegal PORT range rejected
    #21
    Problem

    500 Illegal PORT Command
    500 Illegal PORT range rejected

    Cause

    The FTP server is blocking foreign IP's or high ports often required for FXP transfers.
    If SmartFTP cannot resolve the problem on its own during an FXP attempt, the server needs to be configured to allow foreign IP's in PORT command and allow high ports.

    Solution

    In a non FXP connection enable the Passive Mode.

    1. Select Favorites > Edit Favorites from the SmartFTP menu. The Favorites window appears.
    2. From the SmartFTP Favorites window select the Favorite of interest. Right click on the Favorite and select Properties. The Properties dialog appears.
    3. Under the FTP option select Connection. From the Connection tab under Data Connection you can enable the Mode passive (PASV) for the selected Favorite.
    Note: The change is saved and active for future FTP sessions of this favorite item.

    Current Session Setting

    1. Click the "PASV" button on the toolbar when connected to a server.
    2. You can also Switch between Active and Passive mode from:
      Menu: Commands > Connection -> "Passive Mode".

    Note: The change is only active during the current session. After the "Remote Browser" is closed the changes are lost.

    Only client IP address allowed for PORT command#22
    The server is blocking foreign IP addresses in an FXP attempt. If SmartFTP cannot resolve the problem with the alternative FXP method, then the server needs to be configured to allow foreign IP's. Please contact your server administrator for further assistance.
    500 Out of sockets, Try again later!#23

    There is a problem with the server's configuration or server's system you are connected to. The server's system site has a maximum of N connections on the TCP/IP layer (Windows 9x: N=100). The maximum number of connections is easily reached when 20 users log in to the site and each user uses about 4 connections. It could be that the connections are not closed right after the user quits.

    There are hidden MSTCP registry settings where the maximum number of connections can be changed. Further details on hidden MSTCP registry settings can be found in the the Microsoft KB article: Q158474

    Change the maximum number of connections by editing:
    Hkey_Local_Machine\System\CurrentControlSet\Services\VxD\MSTCP MaxConnections = 32-bit number Data Type: DWORD

    For Windows 98, the Data Type is a String value that specifies the maximum number of concurrent connections. The default number is 100.

    Note: If the DWORD MaxConnections is not there you will have to manually create it in:
    Hkey_Local_Machine\System\CurrentControlSet\Services\VxD\MSTCP
    Set the MaxConnections DWORD to 500.

    \Installer\{11C762F9-95EA-486A-A8E7-683A50C231C1}
    \Icon_SmartFTP.exe is not a valid Win32 application.
    #24
    In certain situations after an installation you will need to reboot the system before you can start SmartFTP over the start menu.
    Year 2000 Compliance#25
    The internal date format has no problems with dates beyond 2000, and if the operation system supplies correct dates, everything should be fine. However some FTP servers return two-digit year values or no year value at all, in that case the software has to guess the correct year. Example:

    No year specified (all UNIX style servers)

    drwx------ 2 4659 100 512 Jan 30 21:46 .
    drwx------ 2 4659 100 512 Jan 30 21:46 ..
    -rw-r--r-- 1 4659 100 3765 Jan 30 21:46 index.html

    In this case, either the current year or the previous year is assumed, depending on the current date: "March" is interpreted as March '98 in February '99, whereas it would be interpreted as March 99 in May 99.

    Two-digit only:

    03-04-98 07:00PM <DIR> Explorer
    03-05-98 04:24PM <DIR> Netscape

    If the year is in a two-digit notation, years >= 50 are considered 19xx and years < 50 are considered 20xx.

    Anonymous Login Problem#26

    Problem
    Always logs in as anonymous instead of using the username and password.

    Solution
    You need to enter your server login information, there are several ways of doing so:

    • From the New Remote Browser Dialog (recommended). Select File > New Remote Browser from the SmartFTP menu. The New Remote Browser Dialog appears. Fill out the rest of the login information.

    • Enter the full URL ftp://user:password@host.com:port into the URL field. The separate user/password fields on the right side are ignored. Eg. ftp://smartftp.com does connect as anonymous.

    • Enter the host only into the URL field and enter the username and password information into the input box on the right. If you want to login as anonymous check the [x] Anonymous checkbox.

     

    Insufficient credit for download problems#27
    Some FTP sites will not allow you to download from them until you have uploaded something to them. In other words, you have to give them a file before they give you one. It is called file trading. Most of these "Ratio Sites" offer information on how to upload files and get credits. If you have any problems, contact the site administrator.
    Command Line Switches#28

    You can use "SmartFTP.exe /?" for help.

    Additional commands are available through the SmartFTP Command Line Interface addon.

    SSL Error
    The token supplied to the function is invalid
    Connection closed.
    #29
    • One possibility is that you are trying to connect to the server with Implicit SSL, when the server requires an Explicit SSL connection. On the Address field, to the left hand side, next to the word "Address" you will see a icon with a drop down arrow, select "FTP Over SSL (Explicit)" from the drop down menu.
    • Another possibility is that you need to upgrade to MSIE 5 or higher, which contains the domestic 128 bit encryption. The update can be obtained at the www.windowsupdate.com web site.
      Once you have updated your Internet Explorer to version 5 or higher, you have to create a "self-signed" certificate:
      From the menu of Tools > Settings -> "SSL"
    • This can also occur when connecting to an incorrect port, or the server just does not support SSL.
    500 REST command not implemented.#30
    The server does not support resume. It is not a fatal error nevertheless. It serves as an info message about the server's resume capability.
    530 Sorry, your account is restricted to N simultaneous logins.#31
    You are only allowed to login to this server with N simultaneous connection(s). The server owner has set it to only allow you to login to the server N connection(s) at a time. Please contact the administrator of the server for further assistance.
    How do you define personal use?#32

    SmartFTP can no longer be used for free for personal purpose. To use SmartFTP after the 30-days evaluation period you are required to purchase a license:
    http://www.smartftp.com/buy.php

    How To back up SmartFTP settings#33
    1. Select Tools > Settings from the SmartFTP menu. The Settings window appears. From the Settings window select Backup. From the Backup tab you can select to Backup Now or set it up so that SmartFTP backups automatically at a specified time interval.
    2. Alternatively, from the Windows Start Menu select > All Programs > SmartFTP client > Tools > Backup Tool. Follow the instructions on the screen to perform a successful backup of your favorites, history, etc.
    The backup includes registry settings, Favorites and data files (Custom Commands.dat, Quick Folders.dat, Transfer Queue.xml).

    To restore the backup, close the application and use the SmartFTP Backup Tool (BackupTool.exe). Alternatively, you can manually extract the files from the backup.zip file and import the registry settings from the .reg file.
    Where are the .dat files located?#34
    The default path where your data files are stored, is one of the following:

    Windows Vista : C:\Users\<User Name>\AppData\Roaming\SmartFTP\Client 2.0
    Windows 2000, Windows XP : C:\Documents and Settings\<User Name>\Application Data\SmartFTP\Client 2.0
    Windows 9x, Windows ME : C:\Windows\Application Data\SmartFTP or C:\Program Files\SmartFTP\Client 2.0

    To view the files in the folders above you may need to change the "Folder Options" in Windows Explorer. Menu: Tools->Folder Options then go to the View tab and enable the "Show hidden files and folders" option.

    Tip: You can manually specify a location for where your data files can be stored.
    Tools > Settings > General -> "Application Data Folder".


    Description of Data Files
    Custom Commands.dat Custom Commands
    Favorites.dat Favorites (Version 2.0 or lower)
    Favorites\*.xml Favorites (Version 2.5 or higher) 
    Quick Folders.dat Quick Folders
    History.dat Remote Browser History (Deprecated)
    Transfer Queue.xml Transfer Queue
    Cache\*.dat Remote Directory Cache (Version 2.5 or lower)
    Storage\ Remote Directory Cache (Version 3.x or higher)
    550 - Permission Errors#35
    Problem

    550 - No such file or directory
    550 - Permission Denied.

    Cause

    This error message is coming from the FTP Server you are connected to, 550 errors are always permission errors. The text that follows 550 varies from server to server. The 550 error means that you do not have access rights to transfer (download/upload) the file. This also pertains to making new folders on the server or uploading files to the server. Please contact the server administrator for further details.

    Setup was unable to upgrade the windows installer.#36
    Problem
    Setup was unable to upgrade the windows installer. Failed to load 'msi.dll'

    Solution
    Download and install the MSI 2.0 redistributible from microsoft on your computer. Instructions and download links for the Windows Installer can be found below. Just click on the link for your operating system.

    Windows 95/ 98/ Me

    Windows NT 4.0 or 2000

    Windows XP: Windows XP already contains Windows Installer version 2.0. Thus, you should not have to install the Windows Installer Service (MSI engine) on Windows XP.

    Restart your computer and run the installation again to see if the error continues to occur.
    How To import sites from another FTP client#37
    1. Select Favorites > Edit Favorites from the SmartFTP menu. The Favorites window appears.
    2. From the Favorites menu select Tools > Import.
    3. On the Import window under Source click on the drop down list and select the FTP client program you want to import sites from.
    4. On the next row of the Source section, click on the Select File icon and browse for the file that you wish to import.
    5. Under Destination click on the Select Folder icon and select the location where you want your imported sites to be saved.
    Supported Import Applications
    SmartFTP
    WS_FTP
    FlashFXP
    LeapFTP
    FTP Explorer
    Total Commander
    CuteFTP/Pro
    FTP Voyager
    FTPRush
    Filezilla

    How To export the favorites to a Text/Html file#38
    1. Select Favorites > Edit Favorites from the SmartFTP menu. The Favorites window appears.
    2. From the Favorites menu select Tools > Export. The Favorites Export dialog appears
    3. From the Destination drop down option list select "Text File."
    4. On the next row of the Destination section, select a location where the TXT or HTML will be saved to.
    5. Select a file name of your choice, and click on the OK button to save your changes.
    URL Watcher#39
    With URL watcher enabled, SmartFTP monitors the clipboard for URLs. When a URL is copied to the clipboard a URL Watcher dialog window shows up. You can choose an action and use for the URL.

    How To enable/disable the URL Watcher

    Select Tools > URL Watcher from the SmartFTP menu, or you can simply use CTRL+W.
    How To disable the 92 day upgrade notice#40
    The 92 day update notice will be automatically disabled once a license has been purchased, upon importing the licence key.
    For more information on how-to obtain a license, please visit the purchase page.

    Note: If you're a "Personal User", please upgrade to the latest available version of SmartFTP.
    FTP Server Return Codes and Errors#41
    110 Restart marker reply. In this case, the text is exact and not left to the particular implementation; it must read: MARK yyyy = mmmm where yyyy is User-process data stream marker, and mmmm server's equivalent marker (note the spaces between markers and "=").
    120 Service ready in nnn minutes.
    125 Data connection already open; transfer starting.
    150 File status okay; about to open data connection.
    200 Command okay.
    202 Command not implemented, superfluous at this site.
    211 System status, or system help reply.
    212 Directory status.
    213 File status.
    214 Help message.On how to use the server or the meaning of a particular non-standard command. This reply is useful only to the human user.
    215 NAME system type.Where NAME is an official system name from the list in the Assigned Numbers document.
    220 Service ready for new user.
    221 Service closing control connection.
    225 Data connection open; no transfer in progress.
    226 Closing data connection. Requested file action successful (for example, file transfer or file abort).
    227 Entering Passive Mode (h1,h2,h3,h4,p1,p2).
    230 User logged in, proceed. Logged out if appropriate.
    250 Requested file action okay, completed.
    257 "PATHNAME" created.
    331 User name okay, need password. 332 Need account for login.
    350 Requested file action pending further information
    421 Service not available, closing control connection. This may be a reply to any command if the service knows it must shut down.
    425 Can't open data connection.
    426 Connection closed; transfer aborted.
    450 Requested file action not taken.
    451 Requested action aborted. Local error in processing.
    452 Requested action not taken. Insufficient storage space in system.File unavailable (e.g., file busy)
    500 Syntax error, command unrecognized. This may include errors such as command line too long.
    501 Syntax error in parameters or arguments.
    502 Command not implemented.
    503 Bad sequence of commands.
    504 Command not implemented for that parameter.
    530 Not logged in.
    532 Need account for storing files.
    550 Requested action not taken. File unavailable (e.g., file not found, no access). (550 a:\: no such directory means no diskette in a: drive.)
    551 Requested action aborted. Page type unknown.
    552 Requested file action aborted. Exceeded storage allocation (for current directory or dataset).
    553 Requested action not taken. File name not allowed.
    Glossary of terms#42
    If the following article does not suffice your needs and answer your questions please let us know why:
    SmartFTP Forums: Knowledge Base Feedback

    Bandwidth: Your upload and download capacity. On a 56k Modem this is generally about 4 KBps Upload and 7 KBps Download.

    FTP: File Transfer Protocol - A location on the Internet with the purpose of storing files.

    HTTP: Hyper Text Transfer Protocol - A location on the Internet that store web pages like this.

    IP: 32 bit binary number identifying the position of a computer on the Internet - similar to the URL. The URL is usually easier to remember as it is alpha based rather than numerical.

    IP Range: Usually referred to when talking about scanning a particular range of ip addresses. They can be broken down into A, B, and C ranges - AAA.BBB.CCC.xxx. Usually an entire B range will be scanned at a time.

    KBps: Kilobytes per second - This is what most transfer speed are referring to. One Byte is comprised of 8 Bits.

    Kbps : Kilobits per second - This is what most modem speeds are referring to. Why? Probably to make them look faster. Divide by 8 to get KBps.

    FXP: File eXchange Protocol - This refers to server to server transfer. You can transfer files from one pub to another using very little of your own bandwidth. This is by far the best means for distributing large files, only problem is that a very limited number of FXP capable pubs exist.

    Proxy:Generally used to speed up Internet connections by storing frequently accessed images/html locally. Used in the FXP community to hide your identity by using anonymous proxies to connect to a ftp. Usually SOCKS4 or SOCKS5 are used for FTP transfers and are located on port 1080.

    Pub: This is a public ftp that anyone can connect to with anonymous access. They are usually used for transferring large files to many people because of their high speeds.

    Unix: An operating system similar to DOS but much more powerful, most of the FXPable pubs are found on Unix systems.

    Wingate: Similar to a proxy in that they are used to hide your identity, except all information actually passes through the Wingate, if you have a slow Wingate you get slow download/upload speeds. Wingates are also used to force FXP transfer on pubs that do not normally accept FXP, again all data passes through the Wingate so you need one that is fast for it to be useful.

    Anonymous: A way of logging on to servers as a guest, which gives you limited access to that server. Many FTP sites allow you to login anonymously in order to download files. Directories or files requiring a secure User ID and Password will not be accessible.

    Alpha: The first testing stage of a new program. The alpha stage occurs before a program becomes a beta version.

    Beta: The second stage a software program goes through before a final is released. Software undergoes rigorous testing until it is ready to be released.

    Binary: A numeric system that represents all numbers using only two digits: 1 and 0.

    Bit: The basic unit of information in a binary numbering system. A computer detects the difference between two states (high current and low current) and represents these two states as one of two numbers (1 or 0).

    Bandwidth: The range of frequencies a channel can carry. The higher the frequency, the higher the bandwidth and the greater the capacity of a channel. In Internet terms, higher bandwidth means a higher ability to transmit and receive data.

    BPS: Bits per second. The amount of data that can be transmitted over a digital line.

    Browser: A program used to view, download, upload, surf or otherwise access documents (pages) on the World Wide Web. Popular Web browsers include Netscape+Internet Explorer+Opera.

    Byte: A series of 8 bits, which represent a single character.

    Client: A remote computer connected to a host or server computer. Also refers to the software that makes this connection possible, such as an FTP client.

    CPU: Central Processing Unit. Simply put, it's the main processor of a computer that makes everything work.

    DNS: Domain Name Server. Specific software that runs on a server and resolves domain names to actual IP addresses. Nodes communicate with each other using IP addresses rather than domain names, though users may never see the actual IP addresses being used.

    Domain Name: The "address" or URL of a particular Web site. You can register your own domain name at www.networksolutions.com.

    Domain extensions vary depending on the site in question:

    * COM: An Internet domain used for business or commercial ventures.
    * EDU: An Internet domain used for educational facilities.
    * GOV: An Internet domain used by the government.
    * MIL: An Internet domain used by the military.
    * NET: An Internet domain used for network businesses.
    * ORG: An Internet domain used for non-profit organizations.

    Download: To copy a file from a remote computer to your computer. There are a few methods of doing this on the Internet. HTTP, FTP and e-mail attachments are the most common.

    Ethernet: One of the most common local area network (LAN) wiring schemes, Ethernet has a transmission rate of 10 megabits per second; a newer standard called Fast Ethernet will carry 100 megabits per second.

    Filter: A way of hiding certain file types by their file names or extensions.

    Firewall: A firewall is a safeguard utilized by many Local Area Networks (LANs) or Wide Area Networks (WANs) to protect the network from unauthorized access from the outside. They are basically gates that verify the users before they leave or enter the network by way of a User ID, Password or IP address.

    FTP: File Transfer Protocol. A standard protocol for transferring files between remote computer systems. Until recently, it was used almost exclusively on UNIX workstations and mainframes, but after PC users gained access to the Internet it became a popular alternative to BBS systems. The biggest limitation was that FTP-compliant software usually used a command line interface, which wasn't easy for beginners to work with. As the Internet grew in popularity, new standards appeared (Gopher, WWW), providing more user- friendly front-end software. FTP, however, still remains the popular choice among power users and computer professionals.

    Gateway: A computer system for exchanging information across incompatible networks that use different protocols. For example, many commercial services have e- mail gateways for sending messages to Internet addresses.

    Gigabyte: A billion bytes. A thousand megabytes.

    Host: A computer that is setup to allow connections from other machines (known as clients).

    Host Address: The Internet IP Address or hostname of a remote server.

    Internet: Originally designed by the U.S. Defense Department so that a communication signal could withstand a nuclear war and serve military institutions worldwide, the Internet was first known as the ARPAnet. The Internet is system of linked computer networks, international in scope, that facilitates data communication services such as remote login, file transfer, electronic mail and newsgroups. The Internet is a way of connecting existing computer networks that greatly extends the reach of each participating system.

    Intranet: A private network inside a company or organization that uses the same types of software that you would find on the public Internet, but is only for internal use.

    IP Address: Internet Protocol Address. A numeric address that is given to servers and users connected to the Internet.

    IRC: Internet Relay Chat. A live chat area of the Internet in which real-time conversations among two or more people take place via special software. Each specific IRC channel begins with a # and is dedicated to a different area of interest. IRC is considered another part of the technology of the Internet the same way FTP, Telnet and the Web are.

    ISP: Internet Service Provider. A company that provides access to the Internet. Before you can connect to the Internet you must first establish an account with an ISP.

    Kilobyte: A thousand bytes. Actually, usually 1024 (2^10) bytes.

    LAN: Local Area Network. A network that connects computers in a small predetermined area (like a room, a building, or a set of buildings). LAN's can also be connected to each other via telephone lines or radio waves. Workstations and personal computers in an office are commonly connected to each other with a LAN. This allows them to have send/receive files and/or have access to the files and data. Each computer connected to a LAN is called a node.

    Megabyte: A million bytes. A thousand kilobytes.

    Modem: MOdulator, DEModulator. A device that connects your computer to a phone line in order to communicate with other computers.

    Packet: The unit of data sent across a network.

    Port: A place where information goes into or out of a computer.

    PPP: Point-to-Point Protocol. Communication protocol used over serial lines to support Internet connectivity.

    Protocol: A specification that describes how computers will talk to each other on a network.

    Proxy Server: A technique used to cache information on a Web server and acts as an intermediary between a Web client and that Web server. This is common for an ISP especially if they have a slow link to the Internet. Proxy servers are also constructs that allow direct Internet access from behind a firewall. They open a socket on the server, and allow communication via that socket to the Internet. For example, if your computer is inside a protected network, and you want to browse the Web using Netscape, you would set up a proxy server on a firewall.

    Queue: waiting area for files, print jobs, messages, or anything else being sent from one computer or device to another. In SmartFTP, for instance, you can put files in the queue, and transfer them all at once at another time.

    RFC: (Request for Comments). The name of the result and the process for creating a standard on the Internet. A new standard is proposed and published as a "Request For Comments." If the standard is established, the reference number/name for the standard retains the acronym "RFC." For example, the official standard for FTP is RFC 959.

    Server: A computer on a network that answers requests for information, such as Web servers, FTP servers and secure servers. The term server is also used to refer to the software that makes serving information possible.

    TCP/IP: (Transmission Control Protocol/Internet Protocol). A set of protocols that make TELNET, FTP, e-mail, and other services possible among computers that aren't on the same network.

    Upload: To copy a file from your computer to a remote server, the reverse process of download.

    Warez: Widely used to denote cracked or pirate versions of commercial software. In other words, illegal pirated software.

    Windows : The Microsoft Windows Operating system, which runs on DOS-based PCs.

    Winsock: Windows Sockets. A technical specification that defines a standard interface between a Windows TCP/IP client application (such as an FTP client or a Gopher client) and the underlying TCP/IP protocol stack. The nomenclature is based on the Sockets applications programming interface model used in Berkeley UNIX for communications between programs.
    Runtime Error#43

    Problem
    SmartFTP will not start anymore. A Runtime Error dialog box is displayed on start.

    Cause
    There are several causes for Runtime Errors. The most common cause is when the software has been downgraded to an earlier version. Another important cause can be bugs in the application itself. You can report application bugs in our Bug Reports forum:
    Bug Reports

    Solution

    Step by step try the solutions below. After each step try to start SmartFTP. If it fails proceed with the next step.

    1. Download and install the latest version of the software.
    2. Uninstall the installed version first and then go to step 1.
    3. Use the "Backup Tool" to "Reset" the application settings.
    4. Start regedit.exe. Delete the HKEY_CURRENT_USER\Software\SmartFTP\Client 2.0 registry key
    5. Use the "Backup Tool" to "Reset" the application settings and application data files. Remember that doing this will delete all files in the "%APPDATA%\SmartFTP\Client 2.0\ folder".
    Note: The Backup Tool can be found in the start menu: Start -> All Programs -> SmartFTP Client -> Tools -> Backup Tool.
    503 No port command Issued first#44
    This problem can be resolved by turning off the Passive Mode option. For more information on how to do this please see the following Knowledge Base article:
    KB: How To switch between active and passive mode
    421 No Transfer Timeout#45
    Problem

    421 No Transfer Timeout (120 seconds): closing control connection. Connection closed.

    Cause

    The FTP server is set to log you off at the specified idle time limit.

    Solution

    You can try adding a few commands to the SmartFTP Keep Alive feature to help you stay connected. For more information, please read the following knowledge base article.
    KB: How To keep a connection open

    How To enable the raw command line#46
    SmartFTP has a Raw Command Line that visually stays open once activated.

    How To enable the raw command line

    To bring up the raw command line window:
    Select View > Toolbars > Command Line from the SmartFTP Menu or use “Shift+5.”

    For a list of raw FTP commands please visit the following site: List of Raw FTP Commands

    Note: For this feature to be enabled or disabled, a current connection to an ftp server is needed. The server window also needs to be focused.
    How To delete Files and Folders#47
    1. Highlight the File/Folder(s).
    2. Right-click on the selected item, and select the "Delete" option from the drop down menu.
    3. You can also highlight the selected item(s) and hit the "Delete" key from the keyboard
    No files/folder(s) are being being displayed#48
    If you cannot see your directory listing or files you can try the following:

    1. Select Favorites > Edit Favorites from the SmartFTP menu. The Favorites window appears.
    2. From the SmartFTP Favorites window select the Favorite to be used. Right click on the Favorite and select Properties. The Properties dialog appears.
    3. Under FTP select Transfer. Under the Directory Listing Options section uncheck all boxes.
    4. Click on the OK button to save the changes.
    Priority Feature#49
    SmartFTP is equipped with a "Priority List" feature with which you are be able to process which file type(s) get transferred first.

    How to access the "Priority List" feature:
    1. From the SmartFTP Favorites window select the Favorite of interest. Right click on the it and select Properties. The Properties dialog appears.
    2. Click on Transfer > Priority. On the Priority tab under Priority List you can add the filter(s) of your choice by clicking on the New icon.
    A few of the file filter(s) that SmartFTP comes bundled with are: *.sfv, *.nfo, *.diz, *.m3u.

    You can also use regular expressions (regexp) for the entries. For more information on Regular Expressions please see the following Knowledge Base article:
    KB: Regular Expressions.
    HTTP:// Address #50

    Problem:

    The HTTP:// Address I enter does not work.

    Solution:

    SmartFTP is not a web browser and does not currently support (HTTP). The http:// prefix is for programs like Internet Explorer, Netscape Navigator or Opera.

    For SmartFTP, you need to use the prefix ftp:// . So connecting to an ftp server will look like: ftp://smartftp.com/

    530 Logon failure#51

    Problem

    530 Logon failure

    Cause

    530 errors come from the FTP server. The server is rejecting the username/password you entered. The reasons could be an incorrect username/password combination or your account got disabled.

    Solution

    Double check your username/password (e.g. is Caps Lock disabled?). You get this information when you register for a web hosting service. If you are still experiencing problems contact the FTP server administrator. The FTP server is usually owned by a web hosting company (e.g. Yahoo, 1&1, etc). Contact the technical support of this company for assistance.

    How To disable asterisk passwords#52

    How To

    1. Select Tools > Settings from the SmartFTP menu. The Settings window appears.
    2. From the Settings window select Interface. The Show passwords option is located under General on the Interface tab. Check this option
    3. Exit SmartFTP and relaunch it, you will see that the password is not hidden anymore.
    Bits, Bytes, Mega, Giga, Tera (explained) #53

    1 bit = a 1 or 0 (b)
    4 bits = 1 nybble (?)
    8 bits = 1 byte (B)
    1024 bytes = 1 Kilobyte (KB)
    1024 Kilobytes = 1 Megabyte (MB)
    1024 Megabytes = 1 Gigabyte (GB)
    1024 Gigabytes = 1 Terabyte (TB)

    Common prefixes:
    - kilo, meaning 1,000. (one thousand) 10^3 (Kilometer, 1,000 meters)
    - mega, meaning 1,000,000. (one million) 10^6 (Megawatt, 1,000,000 watts)
    - giga, meaning 1,000,000,000 (one billion) 10^9 (Gigawatt, 1,000,000,000 watts)
    - tera, meaning 1,000,000,000,000 (one trillion) 10^12

    The smallest amount of transfer is one bit. It holds the value of a 1, or a 0. (Binary coding). Eight of these 1's and zero's are called a byte.

    Why eight? The earliest computers could only send 8 bits at a time, it was only natural to start writing code in sets of 8 bits. This came to be called a byte.

    A bit is represented with a lowercase "b," whereas a byte is represented with an uppercase "b" (B). So Kb is kilobits, and KB is kilobytes. A kilobyte is eight times larger than a kilobit.

    A simple 1 or 0, times eight of these 1's and 0's put together is a byte. The string of code: 10010101 is exactly one byte. So a small gif image, about 4 KB has about 4000 lines of 8 1's and 0's. Since there are 8 per line, that's over (4000 x 8) 32,000 1's and 0's just for a single gif image.

    How many bytes are in a kilobyte (KB)? One may think it's 1000 bytes, but its really 1024. Why is this so? It turns out that our early computer engineers, who dealt with the tiniest amounts of storage, noticed that 2^10 (1024) was very close to 10^3 (1000); so based on the prefix kilo, for 1000, they created the KB. (You may have heard of kilometers (Km) which is 1000 meters). So in actuality, one KB is really 1024 bytes, not 1000. It's a small difference, but it adds up over a while.

    The MB, or megabyte, mega meaning one million. Seems logical that one mega (million) byte would be 1,000,000 (one million) bytes. It's not however. One megabyte is 1024 x 1024 bytes. 1024 kilobytes is called one Megabyte. So one kilobyte is actually 1024 bytes, and 1024 of those is (1024 x 1024) 1048576 bytes. In short, one Megabyte is really 1,048,576 bytes.

    There is a difference of about 48 KB, which is a decent amount. If you have a calculator, you will notice that there is actually a 47KB difference. There is a difference of 48,576 bytes, divided by 1024, and you get the amount of real kilobytes... 47.4375

    All of this really comes into play when you deal with Gigabytes, or roughly one billion bytes. One real Gigabyte is actually 1024 bytes x 1024 bytes x 1024 bytes...1,073,741,824. However, most people like to simplify this by simply saying that one Gigabyte is only 1,000,000,000 (one billion) bytes; which makes sense because the prefix Giga means one billion.

    References

    Application layer file transfer protocol#54
    For complete information on how the "File Transfer Protocol" works, you can take some time and read more about the topic at the following sites.

    File Transfer Protocol Services
    FTP, File Transfer Protocol
    Switching between Private data and Clear data connection mode.#55
    To switch between "Private Data" connection mode and "Clear Data" connection mode follow the simple steps below:
    1. Select Favorites > Edit Favorites from the SmartFTP menu. The Favorites window appears.
    2. From the Favorites window right click on the Favorite of interest and select Properties. The Properties dialog appears.
    3. Under the FTP > Connection option select SSL. From the "Data Connection Mode" on the SSL tab, you can click on the drop down option lists and select either of the two modes. Click on the OK button to save the changes.
    The "Private Data" connection mode allows transferring of files in an encrypted mode. The "Clear Data" connection mode allows transferring of files in non-SSL mode. Nevertheless, it is highly recommended that Clear data mode be used instead of Private data mode being that the Private mode is a very slow method of transferring files.
    Disk quota exceeded#56
    Editing of a file, creating a directory or a link failed because the user's quota of disk space on the server was exhausted, or the allocation of an inode for a newly created file failed because the user's quota of inodes was exhausted.

    Contact your host provider for more room, or for further assistance if your disk quota has not been reached.
    Do you support Linux, OS/2 or Macintosh operating systems?#57

    SmartFTP only supports Microsoft Windows operating systems. To run it on other operating systems you need to use a virtual machine:

    Mac OS X

    Parallels Desktop

    Linux

    VirtualBox

    No connection could be made because the target machine actively refused it. Connection closed.#58
    Problem
    When you try to connect to the FTP server you get one of the following error messages:
    No connection could be made because the target machine actively refused it. Connection closed.
    Connection timeout. No response from server.

    Causes/Solutions

    FTP server settings
    The error is occurring because there is no server listening at the host name and port you entered. Check that you have specified the correct host and port. If you are not sure about this information, please contact your web hosting provider for details. Port 21 is the default FTP port. If the host name of the server your are trying to connect to cannot be resolved to the corresponding IP address, or if you are connecting through a proxy server, try using the IP address instead of the host name. Use an external resolver to get the IP of the host/server you want to connect to.

    Software/Personal Firewall Settings
    Another common reason is that a firewall software (Zone Alarm, Norton Personal Firewall, etc) running on your system is stopping SmartFTP from making outgoing connections.
    To fix this problem add SmartFTP to the list of allowed applications in your firewall software. Please see the links to the howtos below:
    Norton Personal Firewall Configuration How To
    Zone Alarm Firewall Configuration How To

    Multiple Software/Personal Firewalls
    If you have Windows XP firewall enabled and a third party firewall software (e.g. McAfee Personal Firewall) installed, disable the Windows XP firewall or uninstall the third party firewall software. There are known problems with having both firewall applications running at the same time.

    Anti-virus Software
    If you are running "Norton Anti-virus 2005" and having strange problems connecting, disable the "Worm protection" or permit full access to the "sfFTPLib.dll" in the SmartFTP program files directory. If McAfee VirusScan v8 is installed and the "Spyware Plugin" is enabled, go to McAfee VirusScan Console and uncheck the "Prevent FTP outbound" option in the "Port Blocking" dialog of the "Access Protection Properties". Or add the SmartFTP.exe file to the exception list.

    LSP Layer
    Software firewall applications and other utilities hook into the LSP layers of Winsock. If the hook is not properly written, connection attempts may fail under certain situations.
    The solution is to identify and update the application causing the problem. Spyware and adware are known to hook into the LSP layers as well. To remove them install and run Ad-Aware. To manually remove LSP hooks install the LSP Explorer add-on for Ad-Aware. This procedure is recommended for experienced users only. It's easy to break the system.

    Router Firmware
    This is an unlikely case but a buggy router firmware may cause exactly the problem described above (e.g. Linksys).
    To fix it update the firmware of your router. You can usually update the router firmware in the router web administration interface or visit the manufacturer's website for router updates and further information.
    425 Can't open data connection error.#59
    Problem

    425 Can't open data connection error

    While using SmartFTP with a firewall the user keeps on getting a 425 Can't open data connection error.

    Cause

    The 425 error means that the data channel is blocked or closed between you and the server you are trying to connect to.

    Solution
    • For Active connections open ports 20 and 21
    • For Passive connections open ports 21 and 1024+ (and higher)


    If a successful connection cannot be established, check all devices that are between the client and server to ensure that the proper ports are open (e.g. routers).

     

    Problem with SSL and Firewalls#60

    NAT (Network Address Translation) is not the only factor that prevents you from using SSL/FTP with a firewall.

    Firewalls are usually configured to deny inbound connections to the FTP server using any port other than port 21. Under PASV FTP, the firewall that protects the server needs to be able to see the un-encrypted response to the PASV command in order to allow inbound connectivity to the server on a dynamic port (i.e., ports other than 21).

    This step will fail when PASV mode is used because the FTP Control session is encrypted. The new inbound FTP Data connection will arrive at the firewall and will be denied because it cannot be "bound" to an existing FTP Control Session.

    The firewall needs to be able to read the encrypted PORT and PASV commands and re-write them with the proper IP address and port info when the firewall is performing NAT.

    How To change the default download path#61
    1. Select Tools > Settings from the SmartFTP menu. The Settings window appears.
    2. From the SmartFTP Settings window select General. From the Default Download Folder click on the Select Folder yellow icon. You can now browse for the new path you would like to set as your Default Download Folder.
    3. Click on the OK button to save your changes.
    How To set the Timeout value#62
    1. Select Favorites > Edit Favorites from the SmartFTP menu. The SmartFTP Favorites window appears.
    2. From the SmartFTP Favorites window select the Favorite for which you want to set the Connection Timeout. Right click on the Favorite and select Properties. The Properties dialog appears.
    3. Select Connection. From the Connection tab under the Options list select Use Favorite Settings
    4. You can set number of Maximum Retries, Retry Delay time and the Connection Timeout by typing out the value you want it to be set to, or you can use the up and down arrows. The default value for the Connection Timeout is 30 seconds
    5. Click on the "OK" button to save the changes.
    Note: SmartFTP saves the Connection settings per Favorite. If you want to set the Connection Settings for a single transfer for example, you can make a copy of the Favorite of interest and change the Connection Properties there, so that the original Favorite Properties remain.
    Restart Interrupted transfers.#63
    Some FTP servers allow clients to restart transfers that have failed or been interrupted due to a lost connection, cancellations, etc. (many Microsoft FTP servers do not allow restart operations nevertheless). To take advantage of this option, you can set your retry delay to about 120 seconds. Then, the next time you get a failed transfer SmartFTP will try to restart the transfer when you reconnect to the same FTP site. (Note that SmartFTP does not automatically attempt to reconnect to the FTP site on its own; the FTP site must support the restart feature in order for this to work.) SmartFTP restarts the transfer at the point where the transfer failed or was interrupted, if possible. Otherwise, it starts from the beginning. If you choose not to restart the transfer, you will be left with a partial file (from the interrupted transfer) in the destination folder. You should delete this file.
    How To see hidden files#64

    How To

    1. Select Favorites > Edit Favorites from the SmartFTP menu. The SmartFTP Favorites window appears.
    2. From the SmartFTP Favorites window select the Favorite of interest. Right click on the Favorite and select Properties. The Properties dialog appears.
    3. Under the FTP option select Transfer. From the Transfer tab under Directory Listing Options enable the options "[-a] Show All Files" & "[-L] Resolve Links".
    426 Connection closed; transfer aborted.#66

    Problem
    I am receiving the following message:

    426 Connection closed; transfer aborted

    Cause
    There may be a local firewall blocking the connection or a problem with your ISP's network.

    Solution
    Try switching between Active Mode / Passive Mode and try again. For more information on how to switch between Active and Passive mode please refer to the following Knowledge Base article.
    KB: How To switch between active and passive mode

    Does SmartFTP support SSH?#67

    SFTP over SSH is supported in SmartFTP version 3.0. Please download and install the newest version from:
    http://www.smartftp.com/download

    What Is the STOR command?#68
    The STORE (STOR) command is used by the client to tell the server to accept the data transferred via the data connection and to store the data as a file at the server site. If the file specified in the pathname exists at the server site, its contents are replaced by the data being transferred. A new file is created at the server site if the file specified in the pathname does not already exist.
    Can SmartFTP function side by side, with a software firewall?#70
    SmartFTP is compatible with all major software firewalls products. SmartFTP has been tested with Windows Firewall, Zone Alarm, Kerio Personal Firewall, Norton Persona Firewall and many others.

    If you are having problems connecting add SmartFTP to the exceptions of your firewall.

    Tip: If you are having connection problems such as listing directory contents when using SmartFTP in conjuction with a software firewall, try enabling the "Passive Mode" option. Refer to the following Knowledge Base article if you are unsure how to do this: KB: How To switch between active and passive mode
    Can I resume a partially downloaded file?#71
    You need to connect to the FTP server and download the file to the directory where the partially downloaded file resides in. SmartFTP will then detect the existing local file and a dialog box will pop up. Choose the "Resume" option, which will then begin the resume process.

    Note: If the Resume option is greyed out the server does not support resume and you will not be able to resume the transfer.
    Uploaded file Is smaller than original#72

    Problem
    I uploaded a text file to an FTP server and found that the size of the file on server is smaller than the local one.

    Solution
    You are connected to a UNIX server. SmartFTP automatically detects that you are transferring an ASCII file and by default transfers it in ASCII mode, whereby the UNIX server will convert it to UNIX text format. While a line in the text file of DOS format has a Line Feed and Carriage Return pair (LF/CR), the UNIX format only has a line feed. That is why the size becomes smaller after the text file is uploaded.

     

    How To turn off the Windows XP firewall#73
    1. Log into XP with your administrator account
    2. Open Control Panel
    3. Open Network Connections
    4. Right-Click Local Area Connection (or the correct connection that you use for Internet connectivity - modem or dial-up for example)
    5. Select Properties
    6. Click the Advanced Tab
    7. Uncheck the Protect my computer network by limiting...
    8. Click "OK." You have just disabled the built-in Firewall and you should now be able to connect. Keep in mind that you may need to enable the PASV option in your SmartFTP client to connect successfully.
    References
    Using Windows Firewall
    Software caused connection abort#74
    Error:

    An established connection was aborted by the software in your host machine. Software caused connection abort.

    This error can occur when the local network system aborts a connection, such as when WinSock closes an established connection after data retransmission fails (receiver never acknowledges data sent on a data stream socket), possibly due to a data transmission timeout or protocol error.

    You may try to set the Connection Timeout higher (Default: 60s). If the problem persists change the Data Connection Mode from "Port Mode (PORT)" to "Passive Mode (PASV)" or vice versa. For further information on how to switch between Active and Passive mode please see the following Knowledge Base article:
    How to switch between Active and Passive mode

    "File Exist" dialog on File View/Execute#75
    SmartFTP saves the downloaded file in the local TEMP folder before opening it with the "Default Viewer." The Default Viewer can be found in the general SmartFTP settings. It saves the file before uploading it to the remote computer. If there is already a file with the same name in the TEMP folder, a "Replace" confirmation dialog pops up. SmartFTP provides a confirmation "File Exist" dialog because the program does not know when to delete the TEMP file after you close the viewer. This is because there is no message from the viewer application to notify SmartFTP that the file can be removed.
    Can I advertise SmartFTP from my website?#76

    Yes you can advertise SmartFTP on your website and use the graphics, logos and images which SmartFTP provides. If you have created a button, banner, or logo, feel free to contact us about it.

    What is an .htaccess file?#77
    An .htaccess file is an HTML associated file that allows you to control the way some Web servers respond to file requests (by creating an .htaccess file in your Web directory or one of its sub-directories).

    An .htaccess file contains one or more server directives. Directives are small commands known by the server, that tell the server how to behave. For more information on how to use this file, contact your FTP Host or webmaster. Please consult the following links for further information on .htaccess files.

    Links
  • .htaccess Tutorial
  • Comprehensive guide to .htaccess
  • Apache Tutorial: .htaccess files
  • My firewall asks if I want SmartFTP to "act as a server".#78
    Most software firewalls will prompt you to "Allow SmartFTP to act as a server" when trying to connect to a site with "Passive" mode enabled. The software firewall behaves this way because the client is attempting to negotiate a data connection to the server. This is standard FTP protocol.

    If you make the connection with "Passive" mode disabled, it will take care of the software firewall prompt. If disabling "Passive" mode causes the connection to the server to fail; it means that the server requires passive transfers. You will have respond to the software firewall prompt by saying "yes".
    RFC Table Of Contents#79
    Table Of Contents
    Error: 550 index.htm: Cannot create file#80
    When trying to upload a web page the following error is encountered:

    550 index.htm: Cannot create file

    The name of the uploading file is "index.htm".

    This usually means one of two things:
    • The file already exists and is in use so you cannot overwrite the file.
    • You do not have permission to create the file in the directory where you are currently located. A file upload is being attempted but the remote server has denied the needed permission.  The 550 error code is a result of insufficient account privileges on the remote FTP server.  The error is not caused by SmartFTP. If you believe that your FTP account privileges or permissions are configured incorrectly, contact your Web hosting company for help.
    If this article did not suffice your needs and answer your questions please let us know why:
    SmartFTP Forums: Knowledge Base Feedback
    Unable to resolve host name#81
    This error means that the hostname you are trying to connect to cannot be resolved to an IP address. (Hostnames are resolved to IP addresses by a DNS (Domain Name Server).

    Please double check the Address field input. You need a valid hostname of an ftp server or a valid IP address.

    If connecting through the favorites. Only the name or address of the FTP server belongs in the host section. You should not include URL or path information in this field.

    If you have verified that the hostname is correct, there may be a problem with your DNS server (or with your ISP's DNS server if you are a standalone user). It may be unable to resolve hostnames to IP addresses.
    At this point it would be a good idea to contact your ISP about the problem, or network administrator.
    Host Not Found > No such host is known#83
    The Domain Name Server (DNS) cannot resolve the named host or Internet address. Basically you are trying to connect to a site which does not exist anymore or is down temporarily. Try again with a different domain (correct) name or address.

    It can also be that you need to configure SmartFTP to work with your firewall or proxy. You need to ask your system administrator or ISP for details. The problem is related to the one described in following knowledge base article:
    KB: Connection refused

    Finally as a test, you can try connecting to a major site like "ftp.microsoft.com". If you can connect to that  site then you know it is not a DNS configuration problem.
    A note on ADWARE#84

    Unlike other products, you can try SmartFTP without risking your privacy. SmartFTP does NOT contain any advertising technology (so called "adware") nor does it display advertisements of any kind.

    What is a firewall?#85

    A firewall is a system designed to reinforce the Security of the data flowing between two Networks, the Internal Network and the outside Network. There are several ways to accomplish this but most firewalls use two or more of the following methods as none of them alone provides adequate security.

    Packet Filtering:
    Works at the Internet protocol layer and enables you to accept, reject or drop packets based on IP Address, Ports or Protocols. Packet filters perform these duties based on a set of configurable rules called Policies. Packet filtering is the original and the most basic type of firewalling and most routers provide packet filtering. Disadvantages of packet filtering however are:

    • Address information on a packet can potentially be spoofed or falsified.
    • The data contained in allowed packets can't be checked so they ultimately may contain exploits.
    • Packet filters can't provide application level or user level authentication.
    • Once a particular protocol is allowed to pass, external hosts can establish a direct connection to hosts on the Internal Network using that protocol. It could therefore expose the private Network configuration to everyone outside of the Network and reduce Network security.
    The advantage of Packet filters is that they are very fast and transparent to users.

    Application gateway:
    Applies security mechanisms to specific applications, such as FTP and Telnet servers. This is very effective, but can impose a performance degradation.

    Circuit-level gateway:
    Applies security mechanisms when a TCP or UDP connection is established. Once the connection has been made, packets can flow between the hosts without further checking.

    Proxy server:
    Intercepts all messages entering and leaving the network. The proxy server effectively hides the true network addresses.

    Stateful inspection It is a newer method that does not examine the contents of each packet but compares certain key parts of the packet to a database of trusted information. Information traveling from inside the firewall to the outside is monitored for specific defining characteristics, then incoming information is compared to these characteristics. If the comparison yields a reasonable match, the information is allowed through.

    For more information on Firewalls, please read the following Wikipedia article:
    Firewall
    Access denied#86
    An attempt was made to access a file in a way forbidden by its file access permissions. The file's permission settings does not allow the specified access. This error means that an attempt was made to access a file (or, in some cases, a directory) in a way that is incompatible with the file's attributes.
    Does SmartFTP resume file transfers?#89

    SmartFTP automatically resumes interrupted file transfers. There is no user intervention necessary.

    How To edit remote files?#90
    1. Connect to the server
    2. In the Remote Browser (server window) right-click on the file you want to edit
    3. Select Edit from the context menu.
    Strange characters in uploaded text files#91

    Problem:
    Strange characters such as "^M" appear at the end of lines of transferred ASCII files.

    Solution
    This happens when ASCII files (such as those ending in .html, .htm, .cgi, or .txt) are transferred in binary mode. Perform the transfer in ASCII mode to prevent this from happening.

    Most non-PC machines use just a linefeed character to indicate the end of a line in a file. PCs use carriage return and linefeed characters, so the carriage return (^M) remains at the end of every line as an artifact.

    You can specify by file extension the file types that should always be transferred in ASCII mode. Auto is the default Data Transfer Type, and sends files in binary mode to and from FTP servers running on MS Windows. For non-Windows servers binary mode is used unless the file matches an entry in the ASCII File List. It is recommended that you leave your Data Transfer Type in Auto. For more information on how to do this, please read the following Knowledge Base article:
    KB: ASCII / Binary Mode

    You can convert from windows encoding to UNIX encoding using a text editor. This can be done easily with a utility such as Ultra Edit or Crimson Editor etc..

    How To rename File/Folder(s)#93
    • Right-click on the file/folder, then select the Rename from the context menu.
    • Alternatively, select the file/folder and press the F2 key on the keyboard.
    Can't use CHMOD#94
    The CHMOD capability depends on two conditions:
    • The server you are connected to must support the CHMOD command.
    • You must have access rights to change the attributes of that remote file or directory.
    Make sure these two conditions are fulfilled.

    Some FTP servers do not allow CHMOD from the "Properties/CHMOD" dialog when there is a space in the file name. If this is the case, you need to use the command line and CHMOD the files manually. You also need to add quotes at the beginning and end of the file name.

    Example: SITE CHMOD 444 "Download Setup.htm"
    Portable Application Description#95
    You can get the SmartFTP PAD (Portable Application Description) file at: http://www.smartftp.com/sftp.xml
    For more information about PAD please see the following page: Association of Shareware Professionals
    Selection Groups#96
    "Selection Groups" is a feature used to filter and highlight a group of file extension(s) at once, excluding the rest of the file extension(s) that do not match the "Selection Group" filter list.

    This feature is useful when you have to transfer huge amounts of files. Especially if the directories you are dealing with contain large amounts of particular file types, or you need to download only one file type in a folder.

    You can access the Selection Groups feature by going to: View > Selection Groups.
    Transferring files in ASCII or Binary mode#97

    You can specify by file extension the file types that should always be transferred in ASCII mode. Auto is the default Data Transfer Type, and sends files in binary mode to and from FTP servers running on MS Windows. For non-Windows servers binary mode is used unless the file matches an entry in the ASCII File List. It is recommended that you leave your Data Transfer Type in Auto.

    Remember that Binary mode should be used and ASCII mode avoided since it is incompatible with resuming and file checks that play an important role in reliable transfers. The use of a text editor that supports Unix line endings it is recommended as well.

    How To

    1. Select Favorites > Edit Favorites from the SmartFTP menu. The Favorites window appears.
    2. From the SmartFTP Favorites window select the Favorite of interest. Right click on the Favorite and select Properties. The Properties dialog appears.
    3. Under FTP select ASCII / Binary. From the ASCII / Binary tab under Default Transfer Type select the transfer method.
    4. To transfer specific file types in ASCII mode, select Use Favorite Settings under the ASCII File List drop-down option.
    5. Click on the New button and type in the file extension that will be transferred in ASCII mode under Value.
    6. You can also use regular expressions (regexp) for the Type entries. For more information please see
      KB: Regular Expressions
    7. Then click on the OK button to save the new extension to the list.
    How do I uninstall the SmartFTP SmartHook.dll?#98
    The "SmartHook.dll" will automatically be deleted if you have installed our client using the SmartFTP installer.

    If you did not use the installer, to delete the "SmartHook.dll" follow the steps below:

    1. Click on the windows "Start" menu.
    2. Click on the "Run" menu.
    3. Type "Cmd" into the "Run" dialog box.
    4. The "Command Prompt" is now displayed.
    5. Change the directory to the location of where the "SmartHook.dll" is located, using the "cd" command.
      Example: cd c:\Program Files\SmartFTP Client 2.0.
    6. Type "regsvr32.exe /u SmartHook.dll" into the Cmd window and hit the "Enter" key.
    7. After rebooting, the file can be deleted or overwritten it with a new one. After your system has finished rebooting and you are back in Windows, navigate to the SmartFTP program directory and delete the "SmartHook.dll" file.
    Special characters (#,@,:) in URLs#102
    Special characters as #,@,: in URLs have to be hex encoded.

    Example: Your password is ###
    It gets encoded to ftp://user:%23%23%23@host.com
    where 23 is the hex value (0x23) of '#'

    Character Hex Conversion
    #%23
    space%20
    @%40
    SmartFTP connects to Microsoft#103

    Problem

    SmartFTP wants to connect to www.saupdate.microsoft.com [207.46.131.229], port 80.

    Cause

    It is afeature in Windows XP triggered when an SChannel (Microsoft SSL Library) client receives a digital certificate signed by a untrusted Certificate Authority (CA). This feature allows Microsoft (not you) to control which certificate authorities you trust by dynamically updating the list of trusted CA in your Windows XP. This can be disabled by removing "Update Root Certificates" from Add/Remove Windows Components in Control Panel (Q283717).

    Color coded files/folders#104

    The color coded file/folders is a feature that lets you know which file/folder(s) have been just added or updated on the remote server.

    Legend
    The red color indicates the files/folders that have been just uploaded to the server.
    The blue color indicates files/folders that have been just changed on the server.

     

     

    How To bandwidth throttle transfers#106
    Global Speed Settings
    1. Select Tools > Settings from the SmartFTP menu. The Settings window appears.
    2. From the SmartFTP Settings window select Transfer. From the Transfer tab the Global Speed Limit Settings can be changed. Use the up/down arrows to set the speed, or input the numbers manually.
    3. Once you are done click on OK to save your changes
    From a Favorite
    1. Select Favorites > Edit Favorites from the SmartFTP menu. The Favorites window appears.
    2. From the SmartFTP Favorites window select the Favorite of interest. Right click on the Favorite and select Properties. The Properties dialog appears.
    3. From the Properties dialog select Transfer > Speed Limits.
    4. On the Speed Limits tab click on the drop down list and select Use Favorite’s Settings. Use the up/down arrows to set the speed, or input the numbers manually.
    5. Once you are done click on OK to save your changes.
    Note: The Speed Limits settings are not changed until you close the server window connection opened. Once the connection window to the server is re-opened, the Speed Limits will change.
    How To clear the History#109
    You can clear the History of visited Favorites by doing the following:

    How To

    1. Select Tools > Settings from the SmartFTP menu. The Settings window appears.
    2. From the SmartFTP Settings window under General select History. From the History tab highlight a single or multiple Favorites entries and click on the Delete button.
    3. If you want to wipe all the entries at once, click on the Clear button.
    Does SmartFTP support Windows 95?#110

    On December 30, 2001 Microsoft stopped supporting Windows 95, making it even less reliable than before. Windows 95 is an older operating system, and is therefore inherently less reliable and secure. Because old and unsupported software such as this goes against our core philosophy, SmartFTP will cease to support Windows 95 to coincide with the introduction of our upcoming versions of SmartFTP. There are no plans to discontinue support for any other Microsoft operating systems at this time.
    Windows Life Cycle

    SmartFTP proudly supports Windows 2000/Windows XP/Windows 2003.

    Connection timed out#111
    Problem:
    A connect or send request failed because the connected party did not properly respond after a period of time.

    Solution:

    1. Check that the destination IP address is valid. If you used a hostname, check that it resolves to the correct address.
    2. If using a local host table for hostname resolution, check to see that it does not resolve to an obsolete address.
    3. Try to ping the hostname.
    4. Check the router configuration and that its working properly. Check that the router is working by pinging it, then ping an address outside of the router.
    5. Use the tracert command at the command prompt to determine the path to the destination address and to check that all the routers are functioning.
    6. Check your subnet mask. If you do not have the correct subnet mask, your network system might treat a local address as a remote address (so it forwards addresses on the local subnet to the router, rather than broadcasting an ARP request locally), or vice versa.
    7. Increase the connection timeout threshold under Favorite Properties > Connection: from the SmartFTP Favorites window select the Favorite of interest. Right click on the Favorite and select Properties. The Properties dialog appears. Select the Connection option where server timeout settings can be changed.
    Too many levels of symbolic links#112
    A pathname search involved more than eight symbolic links, that is too many links were encountered while translating a pathname. Symbolic links are similar to shortcuts, they point to items in other locations on a server.
    MD4/5 Password Encryption And How It Works.#115
    When you make a regular, unsecured FTP connection (Non-SSL), passwords are sent across the Internet in clear text format where anyone with the know how to could read them. Using an advanced password scheme called S/Key, SmartFTP can prevent password interception when used in conjunction with compatible servers.

    When a user connects to an S/Key-enabled FTP server, the server sends a special string back to the client, instead of just asking for the client's password. The client takes this special string, using a process known as "hashing," combines it with your regular password to create a special one-time-only password, which is then sent back to the server. The server performs the same process using your password, and if the two one-time-only passwords are identical, you are successfully logged in. When you use this method, your actual password is never sent across the Internet. If someone were to intercept the one- time-only password, it would be useless, because the next time the hashing sequence is performed, the password would not work anymore.

    Nevertheless, it is important to remember that there are only a few windows ftp server softwares that currently support the S/Key method.

    Note: SmartFTP automatically enables this function if available. The user does not need to enable anything for this feature to kick in.
    Show Raw Listing#116
    The "Show Raw Listing" feature is used for debugging purposes, or if you just want to save a listing of directory contents to a plain text file for safe keeping.

    To use this feature right-click on the directory and select the "Show Raw Listing" option from the drop down context menu. The raw-listing will then open by default in NotePad.
    How To edit a favorite#117
    • Select Favorites > Edit Favorites from the SmartFTP menu. The Favorites window appears.
    • From the Favorites window select the Favorite that you want to edit. Right click on it and select Properties. The Properties dialog appears.
    • Click on OK when finished to save the Favorite settings

    Note: For the changes to take effect you need to reconnect to the favorite.

    How To add a site to the Favorites#118
    In version 2.0 and higher a Favorite is automatically created the first time you connect to a remote server. The user does not need to manually add the site to the Favorites as this is automatically done by default.

    To edit a Favorite:
    • Select Favorites > Edit Favorites from the SmartFTP menu. The Favorites window appears.
    • From the Favorites window select the Favorite that you want to edit. Right click on it and select Properties. The Properties dialog appears.

    Note: Connecting using the Address bar creates a Favorite in the Quick Connect folder.

    How do I know if my copy of SmartFTP Is the most current available?#119
    You can run the "Update Check" feature under the "Tools" menu in SmartFTP.

    The SmartFTP version is displayed under Menu: Help->About "System Info"
    500 'ÿABOR': command not understood.#120
    The ÿ (0xFF) is part of an OOB command (IAC) that is sent to the server by the FTP client to abort the data connection. Some servers do not understand OOB (Out Of Band) commands and they assume ÿ is the first character of the next command. To get the ABOR command to work with SmartFTP your FTP server must support OOB.
    What is an Ident Server?#121
    An ident server is normally maintained by the Unix machine of your network provider. It is a kind of nameserver that guarantees your Identity. Since most standalone windows machines are not correctly backed up by an ident service, such a server is built into SmartFTP. FTP servers can do an Ident request to your Ident server and then expect a standardized kind of answer.
    Do I need to uninstall my old installation before upgrading?#123
    No, it is not necessary to uninstall your old version of SmartFTP before upgrading. The new version can be installed right over the existing files without losing your current configuration.
    SmartFTP updates#124

    We are always working hard trying to improve SmartFTP. Please use the "Update Check" feature found on the Tools menu, to check for updates. You can also check our website from time to time for updates. The latest version of SmartFTP is available from: http://www.smartftp.com/download

    May I include the SmartFTP software on a CD or other package I'm distributing?#126
    Yes this is allowed, but you need to agree and comply to the SmartFTP license-agreement terms that are included in the SmartFTP package.

    You can find the SmartFTP licence agreement terms on the web at: License.txt.
    Microsoft Windows Installer CleanUp Utility#127
    Microsoft has created the Windows Installer CleanUp Utility, which allows you to safely remove Windows Installer-related registry settings from your computer in the event of a problem. If you have experienced a problem after installing SmartFTP with your Microsoft Office product, this tool might help resolve the problem.

    You can read the complete information on the "Windows Installer CleanUp Utility" on Microsoft's KB article: Description of the Windows Installer CleanUp Utility.
    Regular Expressions (regexp)#128

    Purpose

    Normally, when one searches for a sub-string in a string, there has to be an exact match. Hence, if one searches for a sub-string "abc" then the string being searched for has to contain these exact letters in the same exact sequence for a match to be found. One can extend the search to be case insensitive where the sub-string "abc" will also find strings like "Abc", "ABC" etc. That is, the case is ignored but the sequence of the letters has to be exactly the same. However, a case insensitive search is not enough sometimes. For example, if we want to search for a numeric digit, one basically ends up searching for each digit independently. This is where regular expressions come to help.

    Regular expressions are text patterns that are used for string matching. Regular expressions are strings that contain a mix of plain text and special characters to indicate what kind of matching to do. Here is a very brief tutorial on using regular expressions.

    Special Characters

    Character

     

     

    Description

     

     

    ^

     

     

    Beginning of the string. The expression "^A" will match an ?A? only at the beginning of the string.

     

     

    ^

     

     

    The caret (^) immediately following the left-bracket ([) has a different meaning. It is used to exclude the remaining characters within brackets from matching the target string. The expression "[^0-9]" indicates that the target character should not be a digit.

     

     

    $

     

     

    The dollar sign ($) will match the end of the string. The expression "abc$" will match the sub-string "abc" only if it is at the end of the string.

     

     

    |

     

     

    The alternation character (|) allows either expression on its side to match the target string. The expression "a|b" will match ?a? as well as ?b?.

     

     

    .

     

     

    The dot (.) will match any character.

     

     

    *

     

     

    The asterix (*) indicates that the character to the left of the asterix in the expression should match 0 or more times.

     

     

    +

     

     

    The plus (+) is similar to asterix but there should be at least one match of the character to the left of the + sign in the expression.

     

     

    ?

     

     

    The question mark (?) matches the character to its left 0 or 1 times.

     

     

    ()

     

     

    The parenthesis affects the order of pattern evaluation and also serves as a tagged expression that can be used when replacing the matched sub-string with another expression.

     

     

    []

     

     

    Brackets ([ and ]) enclosing a set of characters indicates that any of the enclosed characters may match the target character.
    Example: [0-9] The dash (-) between 0 and 9 indicates that it is a range from 0 to 9.

     

     

    \char  If we want to search for a special character literally we must use a backslash before the special character. For example, the single character regular expression "\*" matches a single asterix.

    Examples

    Regexp Simple Regexp (DOS) equivalent Description
    .* *.* matchs any strings
    .*\.html *.html* matchs any strings which contain .html
    .*\.html$ *.html matchs any strings with .html at the end
    .*\.html?$ *.html and *.htm matches any string with .htm or .html at the end  

    Important Notes

    In SmartFTP's regexp implementation all chars are handled case sensitive.

    How can I get Internet Explorer to use SmartFTP instead of its own internal ftp client?#129
    1. Open My Computer > Tools > Folder Options.
    2. Under the File Type tab scroll down the list of registered file types until you find the file type URL:File Transfer Protocol. Highlight this option.
    3. Click on the Advanced button. The Edit File Type window appears. Select the Open line under Actions and click on the Edit button. The Editing Action for Type… window appears.
    4. Uncheck the Use DDE check box and browse for the SmartFTP.exe file.
    5. Click on the OK button and close.
    To use SmartFTP from the Internet Explorer, drag the Internet link to the desktop to create a shortcut and then double click the shortcut to run SmartFTP.
    Will everything I report be fixed?#130

    Every item reported gets prioritized when reviewed. While our development team reviews everything reported or suggested, not everything may be added or incorporated to the software.

    Please post your bug report in the "Bug Report" forum.

    SmartFTP IE Context Menu Addon#132
    A small addon has been developed to add SmartFTP to the IE context menu. Once installed you can right click on a ftp:// link and select "SmartFTP" from the context menu. Which will then open an instance of SmartFTP, and connect to the FTP server address.

    Download SFTP IE Context Addon
    How To suppress the splash screen#134
    1. Select Tools > Settings from the SmartFTP menu. The Settings window appears.
    2. From the SmartFTP Settings window select Interface. From the Interface tab you can uncheck the Show splash at startup option.
    3. Click on the "OK" button to save your changes.
    The splash screen will be disabled when you restart SmartFTP.
    How To upgrade SmartFTP#135

    Updating is just as easy as installing SmartFTP. Download the latest version from the Download page and run the setup.
    The application settings, the application data and the license key are preserved.

    How To change directory listing options#137
    1. Select Favorites > Edit Favorites from the SmartFTP menu. The Favorites window appears.
    2. From the SmartFTP Favorites window select the Favorite of interest. Right click on the Favorite and select Properties. The Properties dialog appears.
    3. From the Properties dialog select FTP > Transfer.
    4. On the Transfer window under Directory Listing Options click on the drop down list and select Use Favorite’s Settings.
    5. Once you are done editing the Directory Listing Options, click on OK to save your changes.
    Disconnecting and reconnecting#138
    How To disconnect from a site:
    1. Select File > Disconnect from the SmartFTP menu.
    2. Use the shortcut key of Ctrl+D.
    3. Click the Disconnect button on the Toolbar.

    How To reconnect to a site:
    1. Select File > Reconnect from the SmartFTP menu.
    2. Use the shortcut key of Ctrl+R.
    3. Click the Reconnect button on the Toolbar.
    How To preserve the time on file downloads#139
    1. Select Favorites > Edit Favorites from the main menu. The Favorites window appears.
    2. From the Favorites window right click on the Favorite of interest and select Properties. The Properties dialog appears.
    3. Under the Transfer option select Files.
    4. From the Files tab you can enable the Keep Modify File Time options as needed.
    5. Click on the OK button to save the changes.

    Note
    Not all servers allow you to change the modify or create time of files located on the server.

    Setting the sound events#140

    How To

    1. Select Tools > Settings from the SmartFTP menu. The Settings dialog appears.
    2. From the Settings dialog under General select Events. From the Events tab select the Event you want to apply the sound to by highlighting it.
    3. Select a sound for the highlighted Event from the drop down list at the bottom, type the path-name for the sound file (.wav format) or click the browse button and navigate to the correct path. Various windows sounds can be found in the Media folder located in the windows sub-directory.
    4. You can preview the sound by clicking on the small speaker symbol.
    5. You can also select the “show pop-up” option for the highlighted Event.
    6. Once done, click on the OK button to save your settings.
    HTTP/1.0 403 Forbidden#142
    Problem

    When I attempt to use an "HTTP Proxy" with SmartFTP I receive the following error:

    HTTP/1.0 403 Forbidden.

    Solution
    The problem is due to the proxy server you are trying to use. It does not have the "Connect" method enabled. SmartFTP only supports the http proxy "Connect" method. The proxy works fine in Internet Explorer since it uses the "GET" method that treats the FTP like a web page. SmartFTP does not support this method. In order to use SmartFTP with your proxy, the proxy server needs to be reconfigured to support the "Connect" method.

    REST command#143
    The purpose of the REST command is to tell the FTP server to set its marker at which the file transfer has to be restarted. Issuing the REST command does not actually initiate the transfer. After issuing a REST command, the client must send the appropriate FTP command to transfer the file. The server will use the marker specified in the REST command to resume file transfer at the specified point.
    On Queue Complete#144
    SmartFTP has a wide selection of On Queue Complete actions that provide some flexibility when the user is not present when all the items from the Transfer Queue have completed transferring. When file transferring completes SmartFTP automatically performs the user specified On Queue Complete action.

    To access the "On Queue Complete" settings:

    1. Select Tools > Settings from the SmartFTP menu. The Settings window appears.
    2. From the Settings window select Queue. You can select the action to be performed from the On Queue Complete list.
    Alternatively use the "On Queue Complete" button on the Transfer Queue toolbar.

    On Queue Complete Tasks

    IdleNo action is taken
    Stop QueueStops the Transfer Queue
    Close ApplicationCloses the SmartFTP aplication
    Lock WorkstationLocks your workstation
    Log OffCloses your programs und ends your Windows session
    HibernateSets your computer to hibernate mode
    Turn Off ComputerShuts down your computer so that you can safely turn off the computer
    Stand ByPuts your computer in a low-power state
    How To schedule a transfer#145

    Transfer Queue Start/Stop Time
    You can control the start and stop time of the Transfer Queue with the "Timer" function. This feature can be accessed by clicking on the "Timer" icon in the Transfer Queue toolbar. The icon you will be looking at is the computer icon with the clock on it. Hovering over the icon will display a tool tip saying "Timer".

    Timer

    Individual Start Time / Recurrence
    To individually set up schedules for items, select the item in the "Transfer Queue" and right-click on it, then click on "Schedule" from the context menu.

    Schedule

    What is a CRC?#146
    A CRC (cyclic redundancy check) is a type of function that performs a mathematical calculation on a block of data and returns a number that represents the content and organization of that data. The CRC returns a number that uniquely identifies the data. CRC is the operation that generates a "fingerprint" for a block of data. The actual number, or fingerprint, that is used to identify the data is called a checksum.
    What is NOOP?#147
    The NOOP command is simply used as a "ping" instruction for the server. This command is mainly used to keep the control channel alive during idle periods.
    What is the APPE command?#148
    The APPE (append) command causes the server to accept the data transferred via the data connection and to store the data in an existing file at the server. If the file specified exists in the server, then the data appends to that file, otherwise the file specified is created at the server.
    What is the ABOR command?#149
    The ABOR command tells the server to abort the previous FTP service command and any associated transfer of data. The abort command may require "special action" to force recognition by the server. No action is to be taken if the previous command has been completed (including data transfer). The data connection, if open, will be instructed to close. There are two cases for the server upon receipt of this command: (1) the FTP service command was already completed, or (2) the FTP service command is still in progress. In the first case, the server closes the data connection (if it is open) and responds with a 226 reply, indicating that the abort command was successfully processed. In the second case, the server aborts the FTP service in progress and closes the data connection, returning a 426 reply to indicate that the service request terminated abnormally. The server then sends a 226 reply, indicating that the abort command was successfully processed.
    What is the TYPE command?#150
    The TYPE command is used to specify the data type on the server.

    • A - ASCII data type
    • E - EBCDIC data type
    • I - Image data type
    The default representation is ASCII non-print.
    Why is SmartFTP being detected as a virus?#151
    SmartFTP is a virus free application, which uses an EXE compression technique that sometimes causes virus scanners such as McAfee to incorrectly report that SmartFTP is infected. We have never had a virus in any of our software product releases. We incorporate the most stringent procedures available to make sure all of our releases are thoroughly scanned. Our downloads are always scanned before they are uploaded, and you can rest assured they are perfectly safe.

    Solution
    Update the definition files to the latest available, and download the newest available version of SmartFTP.
    How To edit files in a text editor#152
    1. Click on the Windows Start button > Programs > Accessories > Notepad.
    2. In Notepad, click File from the menu bar > Open
    3. Change the "Files of Type" option from "Text Files(*.txt)" to "All Files (*.*)".
    4. Browse to and select the desired file.
    5. Click OK.
    Does SmartFTP support Unicode / UTF-8?#154
    Yes, SmartFTP supports Unicode / UTF8 / MBCS.
    How do you define personal use?#155
    If you are using SmartFTP for your own personal purposes, and you aren't using it to support a commercial venture of any type, then you are engaged in personal use and you may use SmartFTP at no cost.
    Settings not saved#156
    Problem
    The SmartFTP settings (Tools->Settings) are not saved.

    Solution
    The following steps will remedy the problem.
    1. Click the the "Start" menu, and select "Run", then type in "regedit".
    2. Navigate to the "HKEY_CURRENT_USER\Software\SmartFTP" registry branch.
    3. Highlight the "SmartFTP" branch.
    4. Click on the "View" menu, and select "Permissions".
    5. Set the user account permissions to "Full".
    Windows 9x Unicode Layer Limitations#159
    Download
    When downloading files/folders with names containing non ANSI characters, the names are automatically converted. The file and folder names are replaced by a MD5 (128bit) hash string. 
    Explanation
    Not supported by Win9x/Unicode Layer for Win9x


    Edit / Status-bar Controls
    Non convertable unicode characters are replaced by ?
    Affects:
  • Edit Controls in dialogs
    e.g. Edit Favorites: General->Remote Directory.
  • Edit Controls in List/Tree view
    e.g. Create and Rename of files/folders in Remote/Local View.
  • Status-bar displaying remote path in "Remote View"
    Explanation:
    Not supported by Win9x/Unicode Layer for Win9x.

    Copy&Paste and Copy URL
    Non convertable unicode characters are replaced by ? 
    Explanation:
    Not supported by Win9x/Unicode Layer for Win9x.

    Favorites -> Export to Text File
    The file is saved in unicode. Thus you cannot view it with notepad, wordpad and others.
    Ultraedit is able to read and convert the file.
    Explanation
    Win9x has no native unicode support.
  •  

    Non Windows Compatible FTP Clients#161

    Mac OS X

    Fetch Softworks
    Shareware

    Captain FTP
    Shareware

    Linux

    LFTP
    Freeware

    Setup was unable to update the Windows Installer. Failed to load msi.dll#162
    You will need to install the Microsoft 'MSI Installer' version 2.0 manually.

    The download can be found in the following microsoft web sites. Please make sure to download the correct installer. Select the one that pertains to your operating system. Rebooting is required after the installation has been completed.

    Microsoft Windows 95/98/ME

    Microsoft Windows NT4/2000
    XBOX Uploads#163
    Download the newest available version of SmartFTP:
    Download SmartFTP
    Port IP Mode > IP Repeater#164

    When the "Port IP Mode" setting is set to "Auto", the IP Repeater is enabled.

    This feature will attempt to assign the correct IP address for the PORT command using an https (port 443) connection to repeater.smartftp.com to get the external IP.

    This feature should only be enabled if the NAT router does not replace the internal IP in the PORT command with the external IP. This is usually the case when the connection is made to a port different than standard FTP port (21).

    500 Protocol not supported#165
    Error:

    AUTH TLS
    500 Protocol not supported.

    Problem

    SmartFTP automatically sends an explicit command AUTH SSL and AUTH TLS to the FTP server to initiate a secure control connection. If the previous error occurs, it means that the server does not support SSL/TLS.

    Solution

    Please switch the Server Protocol from SSL to Normal FTP. For more information on how to do this please see the following Knowledge Base article:
    KB: How To make a secure connection
    If the problem still occurs after switching to Normal FTP, please contact your server administrator for further details.

    For more information on explicit or implicit SSL please see the following Knowledge base article:
    KB: What is the difference between implicit and explicit SSL

    How To make a secure connection#166
    Protocol Summary

    FTP No secure connection.
    FTP over SSL
    (Explicit)
    Explicit security requires that the FTP client issues a specific command to the FTP server after establishing a connection to establish the SSL link. The default FTP server port is used. This formal method is documented in RFC 2228.
    Wikipedia: FTPS
    FTP over SSL
    (Implicit)

    Implicit security is a mechanism by which security is automatically turned on as soon as the FTP client makes a connection to an FTP server. In this case, the FTP server defines a specific port for the client (990) to be used for secure connections.
    Wikipedia: FTPS

    Note: Implicit is deprecated. 

    SFTP over SSH 

    Wikipedia: SSH file transfer protocol

    SSL (Secure Sockets Layer) is a protocol for transmitting data between a client and a server  via the Internet that uses a cryptographic system designed to prevent eavesdropping, tampering and message forgery that might occur during a regular FTP transfer.

    How To select the Protocol

    To create a secure connection you have the following options:

    Quick Connect

    1. In the menu select File - New Remote Browser
    2. Select the protocol from the Protocol selection

    Address Bar
    You can directly select the preferred protocol in the address bar:



    From a Favorite

    1. Select Favorites - Edit Favorites from the menu. The Favorites Browser appears.
    2. From the Favorites Browser window select the Favorite to be used. Right-click on the Favorite and select Properties from the context menu. The Properties dialog appears.
    3. Select General. In the the General dialog change the Protocol.
    License Agreement#167
    The SmartFTP software License Agreement.

    For any questions or concerns please contact us.
    Windows Error Report dialog shows up while using SmartFTP, what should I do?#169
    Problem

    Windows Error Report dialog shows up while using SmartFTP

    Solution

    If a Windows Error Report dialog shows up please choose to send the crash report by following the instructions in the dialog. This will allow us to track bugs easier and continually improve SmartFTP.

    After submitting a crash report please download and install the latest version of SmartFTP.
    Download

    For more information about how Windows Error Reporting works please refere to the following webpage
    How Windows Error Reporting Works.
    AT&T and SmartFTP#170

    This article is obsolete: SmartFTP automatically sends an explicit command AUTH SSL and AUTH TLS to the FTP server to initiate a secure control connection.

    Old Article:

    If you encounter connection issues to the AT&T web server (upload.att.net), which are related to the "AUTH TLS" command, please try the following workaround.

    To enable "AUTH SSL":
    Navigate to Tools > Settings > SSL and set the "Auth Mode" to "SSL".

    IPv6#171
    IPv6 (Internet Protocol Version 6) is the "next generation" protocol designed by the Internet Engineering Task Force (IETF) to replace the current version Internet Protocol, IPv4 (IP Version 4).

    Supported Platforms

    Links

    How to get IPv6 ready?
    • Install or activate IPv6 stack
    • Setup IPv6-over-IPv4 tunnel (see links above)

    Known Problems
    • The IPv6-over-IPv4 tunnel does not work if your NAT router does not route "Protocol 41" (IPv6).

    Public IPv6 FTP Servers
    An address incompatible with the requested protocol was used.#172
    Problem

    You are trying to connect to an IPv6 address / IP without the IPv6 stack installed.

    Solution
    1. Install the IPv6 stack. For more information on how to do this check the following KB article:
      KB: IPv6.
    2. Select Favorites > Edit Favorites from the SmartFTP menu. The Favorites window appears.
    3. From the Favorites window select the Favorite that you want to edit. Right click on the Favorite and select Properties. The Properties dialog appears.
    4. Select Connection. From the Connection tab under Settings you can change the default Protocol Family preference to IPv6.
    OpenFTPD and SSL#173
    Problem

    220 OpenFTPD server ready.
    AUTH TLS
    234 AUTH TLS successfull.
    Connected. Exchanging encryption keys...
    SSL Error

    Explanation

    OpenFTPD does not accept self signed client certificates. In SmartFTP if you create a client certificate, a self signed certificate is then created by default. For more information on how to create a self signed client certificate please see the following Knowledge Base Article: SSL Error: Credentials

    Solution (Server Side Only)
    You can edit the src/ftps/tlsutil.c file in the openftpd source tree and change the following line:

    from:
    tls_no_verify = 0;

    to:
    tls_no_verify = 1;

    UPnP#174
    Universal Plug and Play (UPnP)

    UPnP support is available in SmartFTP v1.0 Build 979 or higher.

    Benefit
    UPnP can solve NAT (Network Address Translation) connection problems with active (PORT) mode.

    Typical Scenario
    The client is behind a NAT and wants to connect to an FTP server supporting PORT mode only (because the server is behind a NAT as well or due to security / firewall policies). In this case without UPnP the ports have to be manually enabled and forwarded in the NAT router and a port range has to be defined in the FTP client configuration. With the new (UPnP) feature everything is automatically handled for the user.

    Requirements
  • Windows XP
  • UPnP compatible NAT router


  • UPnP Advantages and FTP
  • Detect External IP Address (Send correct IP address in PORT command)
  • Dynamic Port Mappings (Add/Remove port mappings on the fly)


  • Security Concerns
    The ports are only opened as long as they're needed. The UPnP mappings are automatically removed when the transfer is finished or aborted.

    How To

    1. Select Favorites > Edit Favorites from the SmartFTP menu. The SmartFTP Favorites window appears.
    2. From the SmartFTP Favorites window select the Favorite of interest. Right click on the Favorite and select Properties. The Properties dialog appears.
    3. Under the FTP option select Connection. From the Connection tab under Data Connection you can enable UPnP for the selected Favorite.
    Note: The change is saved and active for future FTP sessions of this favorite item.

    NAT Routers with UPnP Support
    Linksys
  • BEFSR11, BEFSR41W, BEFSR41, BEFSR81, BEFSRU31

  • Enable UPnP for Linksys Router


  • D-Link
  • DI-604, DI-804V


  • Netgear
  • MR814, MR814v2, WGR614, WGR614v2, DG834,DG834G, DG814, DG824, FM114P, FR114P

  • Enable UPnP for Netgear Router
  • UPnP related article


  • Zyxel
  • Zyxel Routers with UPnP
  • Enable UPnP on Zyxel P650

    Links
  • UPnP FAQ
  • Description of Universal Plug and Play Features in Windows XP
  • Old versions of SmartFTP#175

    Unlicensed Users
    Due to the short release cycles of SmartFTP, old versions are not available to the public and no technical support can be given for old versions. Possible bugs introduced in new releases are quickly fixed after being reported in the Bug Tracker. Please report any bugs you find with the latest available version of SmartFTP:
    Bug Tracker

    Licensed Users
    Old versions of the software can be requested by users with a non expired maintenance plan. The supplier has no obligation to provide old versions. Old versions are provided "AS IS" without warranties and technical support.

    Enhancement Requests/Future Plans#176
    The following list contains highly requested features from SmartFTP users who have submitted them via the Enhancement Requests forum. If you have a request, please do not hesitate to register on our forum, and state your ideas for improvement.

  • Secure File Transfer (SFTP)
  • Two-way Synchronization
  • Directory Compare
  • Searching for file/folder(s)
  • Integrated HTML Editor
  • Multi-Part Transfers
  • MLST / MLSD#179
    Purpose
    Machine readable format for directory listings. MLST and MLSD are FTP commands intended to provide detailed, standardized directory listings across different server platforms.

    FTP Commands
    MLST, MLSD

    RFC
    draft-ietf-ftpext-mlst-16

    FTP Server Software with MLST/MLSD Support
    NetBSD-ftp, NcFTPD, Titan Server / Visinetic, SurgeFTP, Globalscape Secure FTP Server, PureFTPd, WFTPD, RaidenFTPd 2.4 build 800+, gene6 3.x
    Soon: drftpd

    Example Hosts
    ftp://ftp.cdrom.com
    ftp://ftp.pureftpd.org
    ftp://netwinsite.com
    ftp://ftp.netbsd.org
    Wine#180

    We tried to run SmartFTP on Wine (Build 20050725) with little to no success. As Wine is continually improving, SmartFTP might work with the latest version of Wine. We would like to hear of your success.

    IDN#183

    Internationalized Domain Names (IDN)

    SmartFTP uses IDNA (Internationalizing Domain Names in Applications) to support domains with unicode characters. IDNA is a mechanism to represent non-ASCII domains with only ASCII characters. This "feature" is transparently implemented in SmartFTP and domain names with unicode characters are automatically converted to the IDN format.

    Examples
    http://räksmörgås.josefßon.org

    References
    IETF idn working group Web site
    VeriSign IDN-client for IE
    IDN Convertor Test

    RFC
    String Preparation (stringprep)
    IDNs in Applications (IDNA)
    Name Preparation (nameprep)
    Encoding Scheme (punycode)

    Library and SDK
    VeriSign IDN Software Development Kit
    GNU IDN Library

    LSP Fix#184

    For more information about LSP Fix, please visit the following site:
    LSP Fix

    SmartFTP and SSH#185

    SFTP over SSH (SSH2) is supported in version 3.0. You can download it from:
    http://www.smartftp.com/download

    To open a SFTP over SSH session: 

    1. Go to the menu: File -> New Remote Browser
    2. Select SFTP over SSH in the protocol combo box
    3. Enter the host and username/password as provided by your server administrator or web hosting provider.
    4. Click OK to connect
    URL that contains "@" in password#187
    From the RFC 1738:

    "...Only alphanumerics [0-9a-zA-Z], the special characters "$-_.+!*'()," [not including the quotes - ed], and reserved characters used for their reserved purposes may be used unencoded within a URL."

    You have to hex encode the @ in the URL:
    user: myuser
    password: h@t
    host: myhost

    To url => hex encode unsafe characters =>
    ftp://myuser:h%40t@myhost

    References
    RFC 1738
    URL Encoding
    SmartFTP and 100% CPU in csrss.exe#188
    Possible Cause
    Corrupt user profile.

    Solution
    Microsoft Community Solutions Article - 555021
    What is the difference between Implicit SSL and Explicit SSL?#189
    FTP over SSL (Explicit)
    Explicit security requires that the FTP client issues a specific command to the FTP server after establishing a connection to establish the SSL link. In explicit SSL (or in TLS) the FTP client needs to send an explicit command ( i.e. "AUTH SSL" or "AUTH TLS") to FTP server to initiate a secure control connection. The default FTP server port is used. This formal method is documented in RFC 2228.

    FTP over SSL (Implicit)
    Implicit security is a mechanism by which security is automatically turned on as soon as the FTP client makes a connection to an FTP server. In this case, the FTP server defines a specific port for the client (990) to be used for secure connections.
    Synchronization#190

    Goal
    To synchronize (one way) local files with remote files and vice verse by matching names and content.

    SmartFTP allows you to control the action taken when synchronizing files with matching names when using the Transfer Queue. By enabling the Integrity Check option (File exist action based on the comparison between hash values, under File Exist Queue), the destination file will be compared against the source file based on content using hash values vs. i.e. size, time, etc. If the content of the destination file is the same, the file is left unchanged. If the content of the destination file is different, the transferring file replaces the destination file. Otherwise, if the Integrity Check option is left unchecked the default File Exist Rules will be used. Though the Integrity Check option is recommended you can edit the File Exist Rules based on your needs. Also, not all servers support the Integrity Check option in which case one way synchronization has to be done using the File Exist Rules. For more information about the File Exist Rules please see the following Knowledge Base article:
    KB: File Exist Rules

    Synchronization Methods
    Currently two synchronization methods are supported. To change the synchronization method, select the item(s) in the Transfer Queue. Then right-click on the selection and select Properties from the context menu. In the Properties dialog you can select the desired Synchronization method.

    • One Way Synchronization (Default)
      All files/folders from the source will be transferred to the destination. No files will be deleted on the destination.
    • One Way Synchronization with Delete
      All files/folders from the source will be transferred to the destination. Files/folders in the destination which do not exist in the source will be deleted (on the destination).

    Example
    The following example shows how to synchronize the contents of a local folder with the contents of a remote folder.

    Preparation: Settings

    1. Select Favorites > Edit Favorites from the SmartFTP menu. The Favorites window appears.
    2. From the SmartFTP Favorites window select the Favorite to be used. Right click on the Favorite and select Properties. The Properties dialog appears.
    3. Under the Transfer option select File Exists. From the File Exist tab under File Exist Queue you can enable the Integrity Check by checking the option "File exist action based on the comparison between hash values" or edit the File Exist Rules for the selected Favorite.
    4. If the Integrity Check is left unchecked, SmartFTP will use the default File Exist Rules for the synchronization.
    5. From the Favorite Properties dialog menu (on the left side), under the Transfer option select Integrity. Check that the Transfer Integrity option is enabled. The Transfer Integrity is enabled by default as specified on the Default Favorite Settings.
    6. Click on the OK button to save the changes.

    Queue Files/Folder

    1. Connect to the server by opening a new Remote Browser
    2. Open a Local Browser. Menu: File > New Local Browser.
    3. Select the files on the local folder that you wish to synchronize with the remote folder. Drag the files from the Local Browser and drop them into the remote folder in the Remote Browser.
    4. The files/folders will be added to the Transfer Queue
    5. To change the synchronization method right-click on the items in the Transfer Queue and select Properties from the context menu.
    6. Start the Transfer Queue.
    Tip: You can use the Schedule feature in the queue item properties for recurring synchronizations.

    Requirements for FTP Server
    MLST/MLSD (time in UTC)
    MDTM (with extension to set date and UTC time)
    SIZE
    XCRC or XMD5 or XSHA1
    How To change schannel (SSL/TLS) settings#191
    References:
    Microsoft Knowledge Base Article - 245030
    How to Restrict the Use of Certain Cryptographic Algorithms and Protocols in Schannel.dll
    MODE Z / zlib#192
    Purpose
    On-the-Fly Compression

    Benefit
    Faster data transfers

    Mode Z compression compresses files-on-the-fly as they are being transferred from the local computer to the remote computer and remote to local, saving bandwidth and improving transfer time.

    Webmasters and server administrators will see an increase in productivity. Transfers of html, scripts or large logfiles (which are text) no longer need to be zipped before being sent via ftp and should generally experience a 3-4 times gain in data transfer time.

    For example, a 60MB log file can turn into a 5MB data exchange when transferred with MODE Z enabled.

    Depending on the file content, you will see different results.

    Typical gains :
    - Text files : ~15-20% of original size
    - HTML files : ~25-30% of original size
    - Media, Video, Sound : ~90-95% of original size

    Note : Already compressed documents with Zip, Rar, Ace etc. will not see a noticeable gain.

    How To

    1. Select Favorites > Edit Favorites from the SmartFTP menu. The Favorites window appears.
    2. From the SmartFTP Favorites window select the Favorite to be used. Right click on the Favorite and select Properties. The Properties dialog appears.
    3. Under Transfer select Compression. You can configure Mode Z settings here.
    Server Support
    ShareIt, Gene6 FTP Server, RaidenFTPd, Servu 5.x, FileZilla Server

    References
    draft-ietf-ftpext-deflate-03.txt
    zlib
    Gene6 FTP Server - Mode Z
    RaidenFTPd Server - Mode Z
    Stop Windows from Randomly Searching the Floppy Drive #193

    Affected OS
    Windows 95
    Windows 98
    Windows ME

    Please click on the following link:

    Stop Windows from Randomly Searching the Floppy Drive

    Is the trial software version the same as a full version? #194
    Yes, the trial version of our software is exactly the same as the full version. In fact when you purchase any of our products, you will receive a license key which you can use to unlock the trial/evaluation version to a full version. No re-installation is required.
    Export#195
    ECCN is the Export Control Classification Number assigned by the U.S. Bureau of Industry and Security. This number designates the level of control for a specific product. SmartFTP falls under:

    5D992 - This classification is for software which uses encryption technology and is eligible for export to all countries, with certain exceptions. SmartFTP uses the Microsoft CryptoAPI library, which is part of the Microsoft Windows base operating system.

    LIC is the license type most appropriate for the listed ECCN. For ECCN 5D992 classifications no export license is required and is designated as NLR.
    NLR - No License Required (To Most Countries)

    CCATS is the Commodity Classification Automated Tracking System. This is code number assigned by the BIS for products with an ECCN 5D002 classification. SmartFTP doesn't require a CCATS number.
    Downloading SmartFTP#196

    If you experience problems downloading the SmartFTP setup package from the download page please try the following links:

    32-bit Versions

  • SFTPMSI.exe over HTTP
  • SFTPMSI.exe over FTP


    If you have network or connection errors please use a download manager. e.g. Free Download Manager, Getright, Flashget, DAP, etc.
  • 226 Output truncated to 2000 matches #197
    Some servers are truncating the output of the directory listing to a certain number of lines (files / folders). The server cannot display more than 2000 items in file listings. The reason is to prevent a DoS attack where a user could just issue a few "ls" commands to the FTP server and tie up huge amounts of bandwidth and CPU resources.

    A good advise is to increase the depth of the directory structure by creating additional sub folders and moving the files from the main folder into the newly created sub folders.
    How To get started#2537

    1. Web Hosting Solution
    To get started you need a place where you can store your files, pictures, and media. You need a web hosting provider. Web hosts provide space on a server they own for use by their customer .

    We do NOT recommend the following web hosting providers:
    Yahoo Web Hosting
    GoDaddy
    NetBroadCasting.tv

    2. FTP client
    Once you have an FTP account with a host, user, and password information you can start uploading files. To upload files, you need an FTP client. You can download and install SmartFTP for free.
    Download SmartFTP

    3. How-Tos
    Please see the How-Tos from the SmartFTP support section. It provides tutorials on how to connect, upload and download files.
    Support - How-Tos

    FTP Server Software (Some Options)#2538

    Windows 

    Freeware
    Quick ’n Easy FTP Server

    Commercial
    Serv-U
    Gene6 FTP Server
    RaidenFTPd

    Linux

    Freeware
    ProFTPd

    How To find your license key information#2539
    1. Select Help > About from the main menu. The About window appears
    2. The license key information can be found in the License dialog.
    If Unlicensed Version or ID: 000000000 appears in the license key dialog, SmartFTP has not been activated yet. To activate it follow the instructions in the license key email sent to you after purchase. To receive your license key email again go to the Lost License Key webpage.

    If you are an unlicensed user you can buy a license in our Online Shop.
    How To switch to HFS mode on z/OS#2540
    If you want to switch to HFS mode on a z/OS system follow the steps below:

    1. Open the command line: Menu: View -> Toolbars-> Command Line
    2. Then enter "CWD /any/valid/path" in the command line and press Enter.

    To switch back to MVS, enter "CWD 'any path' " in the command line.
    Maintenance Plan#2541
    SmartFTP Maintenance Plan

    When you buy a SmartFTP license key, your license is bundled with a maintenance plan valid for at least a one year period. Once your maintenance plan expires you can always renew to continue updating and enjoying the benefits that the maintenance plan offers.

    The SmartFTP maintenance plan includes Premium Support and Upgrade Protection. Please click on the link below to buy or renew a maintenance plan.
    Renew Maintenance Plan

    If you buy the maintenance plan in advance you save 50% per year. The price for a one year maintenance plan is 50% of the license price, or 25% if you buy it in advance.

    Premium Support
    • Email and Forum Support.
    • Response Time: 1 business day.
    Upgrade Protection
    • Free Minor (2.x to 2.y e.g. 2.0 to 2.1) and Major (1.x to y.z e.g. 3.0 to 4.0) upgrades.
    Maintenance Expiration#2543
    When you buy a SmartFTP license key, your license is bundled with a maintenance plan valid for at least a one year period during which you are entitled to update to the latest available version of SmartFTP. Maintenance plans are available for one, two and three years. Once your maintenance plan expires you can always renew to continue updating and enjoying the benefits that the maintenance plan offers. If you decide not to renew your maintenance after the maintenance expiration date SmartFTP will keep running and no additional costs apply.

    What is included in the maintenance plan?
    SmartFTP Maintenance Plan

    How to renew the maintenance?
    Renew Maintenance

    How do I see if my license key is valid for updates?
    License Manager
    Software Firewall Compatibility#2545

    SmartFTP is compatible with all known software firewalls. In specific the following software firewalls have been tested and work with SmartFTP:

    • Agnitum Outpost Firewall 1.0.1817.1645
    • Agnitum Outpost Firewall Pro 2.0.225.2919
    • >li>Armor2Net Personal Firewall v3.10
    • Bullguard Firewall
    • Deerfield Visnetic Firewall v2.2
    • ESET Smart Security Public Beta 1
    • Etrust Ez Firewall v3.7.179
    • Kerio Personal Firewall 4.0.10
    • Look'N'Stop 2.04
    • McAfee Internet Security Suite 7.00 (2005)
    • Mcafee Personal Firewall Plus 5.0
    • Nforce 4 hardware firewall
    • Norton Internet Security 2005
    • Norton Personal Firewall 2004
    • Sygate Personal Firewall 5.5.2525.0
    • Tdifw
    • Tiny Personal Firewall 5.5.1288
    • Tiny Firewall Pro 6.0.110
    • Windows XP BuiltIn Firewall
    • Windows XP SP 1 Final BuiltIn Firewall
    • Windows XP SP 2 Final BuiltIn Firewall
    • ZoneAlarm 4.5.538.0 & Pro
    • ZoneAlarm 5.5.062.0 & Pro
    If your software firewall does not work with SmartFTP make sure you have the latest update of the firewall software installed.

    If you know a software firewall that works with SmartFTP but is not listed here feel free to post it in our forum. In our forum you will also find additional advice that might help if you are experiencing problems with your software firewall:
    SmartFTP Software Compatibility

    Note: It is not recommend to have 2 firewall software applications enabled at the same time. Disable one of them. For example if you have Windows XP installed and a 3rd party firewall software, disable the Windows XP firewall.
    How To password protect a folder#2547

    There is no direct way to restrict the access of folders/directories with an FTP client. The access control happens at the HTTP server/client level. Instructions on how to restrict the access depend on the HTTP server software. The following links will redirect you to instructions on how to restrict access depending on your server software.

    Apache
    Apache on Linux
    Apache 2.0 on Windows
    http://www.serverwatch.com/tutorials/article.php/1127711
    Ask Google

    Microsoft IIS
    Install IISPassword

    Unrecognized License Key#2548

    If SmartFTP does not recognize your license key, please follow the steps below:

    1. Install the latest SmartFTP version from
      SmartFTP - Download
    2. Resend your license key at:
      http://wwww.smartftp.com/purchase/lost.php
    XCRC#2549
    The XCRC command uses a CRC (Cyclic Redundancy Check) algorithm to calculate the hash value of the file. This value can be used to verify the integrity of the file transfers. If the CRC value of the local and remote file match, both files are considered equal and therefore the transfer is successful.
    If the server supports the XCRC command SmartFTP verifies the transfers. If the XCRC check fails, SmartFTP automatically renames the bad file and restarts the file transfer.

    How To

    1. Select Favorites > Edit Favorites from the SmartFTP menu. The Favorites window appears.
    2. From the Favorites window select the Favorite of interest. Right click on the Favorite and select Properties. The Properties dialog appears.
    3. Under the Transfer option select Integrity. From the Integrity tab under Transfer Integrity you can enable the XCRC feature.

    List of FTP Servers supporting XCRC
  • RaidenFTPD
  • GlobalScape Secure Server
  • Titan FTP Server
  • Gene6 FTP Server
  • Serv-U
  • NoFeel FTP Server
  • Downgrading#2550
    Downgrading the SmartFTP version it is not recommended. It may result in damaged data files including Favorites, History and Queue files.
    Clear Command Channel (CCC)#2551
    The CCC command makes a secured control/command channel revert back to plaintext (un-secured).
    This feature helps to solve data connection problems in situations where all the conditions below are met:
    • Secure (SSL Explicit) connection to the remote server
    • Client behind a NAT router.
    • Control connection to port 21
    • Passive (PASV) data connections are not working (e.g. incoming connections blocked on the server side or FTP server behind a NAT)

    If the Clear Control Connection (CCC) setting is enabled, the FTP client connects to the server, negotiates a secure connection, authenticates (sends user and password) and reverts back to plaintext.

    To change the control connection protection in SmartFTP go to the Favorite Properties. Then go to the FTP->Connection->SSL/TLS dialog and change the Control Connection option.

    Technical Background
    NAT routers automatically examine the PORT command sent through a control channel for un-secured control connections to the default FTP port (21) of the remote FTP server. This allows them to open an incoming port for the data connection, setup the routing/forwarding and rewrite the PORT IP with the external (WAN) IP address. If a secured connection (SSL) is made to a FTP server, the NAT router cannot interpret the data correctly as everything is encrypted. Therefore it cannot translate a PORT command and open the appropriate port for the expected incoming data connection. By sending a CCC command and further reverting back to plaintext the NAT router are once again able to translate the PORT commands.

    Server Support
    Most modern servers support this feature.

    References
    RFC 4217
    Microsoft - How NAT works
    RFC 1631 - The IP Network Address Translator (NAT)

    How To calculate the used space#2552

    With SmartFTP

    1. Connect to the server
    2. In the Remote Browser (server window) select the folder for which you want to calculate the used space
    3. Right-click on the select folder and select Properties from the context menu
    4. Click on the Calculate button

    With a script running on your server

    Calculating the used disk space on a remote server requires all folders to be recursively enumerated. This is a very inefficient if it has to be done this way. The better solution is to do this calculation directly on the server. We have written two scripts you can use for this purpose:
    PHP and ASP Script - DiskUsage.zip

    Transfer Problems#2553

    Problem

    Having problems uploading/downloading

    Solutions

    Change "Data Connection Mode"
    If you are connecting through a favorite then change the data connection mode in the favorite item settings dialog. If you are using "Passive Mode (PASV)" change it to "Active Mode (PORT)" or vice versa. Refer to the following Knowledge Base article if you are unsure how to do this:
    KB: How To switch between active and passive mode
    To verify the data connection mode being used, take a look in the log view of the Remote Browser. If you see a "PORT x,x,x,x y,z" command in the log view, then "Active Mode (PORT)" is enabled, if you see a "PASV" command then the "Passive Mode (PASV)" is enabled.

    Software Firewall, Anti Virus Software
    See KB: Connection Refused

    Update Router Firmware
    Known problems are with certain Netgear firmware versions. To update to the firmware go to the web administration panel of your router and initiate the firmware update. The web administration tool of your router can usually be found at http://192.168.0.1 or similar.

    Windows 64-Bit#2554

    A 64-bit version of SmartFTP Client is available on the Download page.


    References
    64-Bit and Windows 2003/Windows XP

    Microsoft ISA 2004 and Access denied#2556

    Problem

    When connecting through a Microsoft ISA 2004 server, the FTP client has read only access to files and folders. Uploading, renaming, or deleting a file or folder is not possible. The FTP server replies with the following error: 

    550 Access denied.

    Solution

    Microsoft ISA 2004 server (acts as Firewall) default settings only allow read access (list and download).

    To change these settings open ISA management -> Select Firewall policy -> Web Access -> Protocol -> Filtering ->Configure FTP. On this page remove the check mark from the "Read Only" option.

    Applies To
    Microsoft ISA 2004

    Links
    FTP Client Access from an ISA Server Network

    Local Browser freezes#2557

    Problem
    When opening the "Local Browser" the application freezes.

    SmartFTP reads the contents of .zip and .cab files and shows the archive in a tree structure in the Local Browser. An archive with a large amount of files/folders takes a long time to enumerate giving the impression that the application has frozen.

    Solution
    Move the .zip and .cab files on your Desktop to another folder.

    How To change Transfer Buffer Sizes#2558

    How To

    1. Select Favorites > Edit Favorites from the SmartFTP menu. The Favorites window appears.
    2. From the SmartFTP Favorites window select the Favorite to be used. Right click on the Favorite and select Properties. The Properties dialog appears.
    3. Select Transfer > Performance. From the Performance tab under Buffer Sizes you can change the transfer buffer sizes.
    Important
    Setting the Send Buffer Size value too high for slow connections might cause timeouts and the transfer speed calculation becomes inaccurate. To read more about the settings please see the Performance - Transfer Buffers article.
    HIPAA Compliant#2560
    SmartFTP is a fully HIPAA compliant FTP client. The SmartFTP Client can be configured to require 128-bit SSL/TLS  encryption.

    More information on HIPAA requirements can be found at http://www.hipaa.org/

    License, Usage and Pricing#2561

    License and Usage
    SmartFTP is available for a 30-day evaluation. During this trial period, SmartFTP will operate as SmartFTP Professional Edition with no limitations. If you would like to continue using SmartFTP after your evaluation, a license for SmartFTP must be purchased. The term of the license is perpetual. It means you can forever use the version of SmartFTP you have bought a license for. For further details please read the License Agreement


    Pricing
    The licensing model is based on per user model, rather than a per seat or per computer model. This means you need to license the software for each user/person using it. A licensed user is allowed to use the software on any number of computers.

    Situation License 
    One user/person wants to use the software on a the computer in the company, the computer at home and on a computer notebook. Single User License 
    Two users/persons want to use the software on any number of computers  Multi User License for 2 Users 
    Three users/persons want to use the software on two computers.  Multi User License for 3 Users 

    550 Can't check for file existence#2562
    Problem

    When attempting to upload a file to a remote FTP server, a 550 error code is encountered

    SIZE file
    550 Can't check for file existence
    550 Requested action not taken

    Cause

    The SIZE command is sent by the FTP client for two reasons :

    • The SIZE command is sent in an attempt to determine if a file with the same name exists on the remote server.
    • The SIZE command is sent in an attempt to get the size of the remote file.

    The server responds with a 550 code indicating that the file does not already exist on the server.

    Solution

    In this case the 550 code returned by the remote FTP server is for information purposes only and can be ignored.

    How To install sounds#2563

    1. Create a folder named "Sounds" in the SmartFTP Application folder or in any other folder you like.
    E.g. C:\Program Files\SmartFTP Client 2.0\Sounds

    2. Download and extract the .cab file below into the "Sounds" folder you created.
    SmartFTP Client Sound Addon

    3. Open SmartFTP:

    • Select Tools > Settings from the SmartFTP menu. The Settings dialog appears.
    • From the Settings dialog under General select Events. From the Events tab you can select the sound file for each event you want to assign a sound to.
    How To get the logs#2564

    The log contains communication data between the client and the server. This information is very valuable when analyzing technical problems.

    Privacy Concerns
    The log may contain your user name, file names being transferred, IP addresses of the server/client. When posting the log in the forum or submitting it to the SmartFTP technical support, feel free to replace/delete the information you do not want to share.

    From the Remote Browser
    The log view can be found at the bottom of the Remote Browser. To save the log to a file, right-click in the log view and select "Save As..." from the context menu. To copy the content from the log, select the text and copy it to the clipboard (CTRL+C). If you do not see the log pane you can enable it in the Menu: View -> Panes -> Log or you can press Shift + F3.

    Logview

    From the Transfer Queue
    Select the item in the list in the Transfer Queue window. Then right-click on the item and select "Show Log" from the context menu.

    Queue - Show Log

    Sample Log
    [17:00:35] SmartFTP v2.0.997
    [17:00:35] Resolving host name "smartftp.com"
    [17:00:35] Connecting to 213.144.155.6 Port: 21
    [17:00:35] Connected to smartftp.com.
    [17:00:36] 220-SmartFTP Server
    [17:00:36] 220 service ready

    File Exist Rules#2565

    Rules

    Size 
    SmallerIf the destination file size is smaller than the source file size
    BiggerIf the destination file size is bigger than the source file size
    EqualIf the destination file size is equal than the source file size
    DifferentIf the destination file size is different than the source file size
    UnknownSize is not returned in bytes (e.g. blocks or always zero) by the server 
    No MatterThe destination file size is not taken into account
      
    Time 
    NewerIf the destination file time is newer than the source time time
    OlderIf the destination file time is older than the source tile time
    EqualIf the destination file time is equal than the source file time
    DifferentIf the destination file time is different than the source file time
    RecentIf the destination file time is not older than the current time minus the "Recent" time span.
    Unknown- Server does not support MDTM and Time Zone not set in the Favorite Item Settings
    - Server does not return seconds for time
    No MatterThe destination file time is not taken into account
      
    Transfer 
    UploadUpload
    DownloadDownload
    FXPFXP / Server to Server transfer 
    No MatterThe transfer type is not taken into account 

    Best Practices

    How To change the password#2566

    There are two important cases:

    A) Your password has already been changed on the server side and you want to update it in SmartFTP 

    1. Click on Favorites - Edit Favorites from the menu
    2. Locate your favorite. E.g. look in the Quick Connect folder
    3. Select the favorite and right-click on it.
    4. Select Properties from the context menu
    5. Go to the General dialog and change the password
    6. Click OK
    7. Connect to your favorite

    B) You can login to the FTP server but you want to change the password you use to login

    Most FTP servers do not allow you to directly change the password through the FTP client. They typically offer a control panel where you can manually set a new password for your account. If this is not the case please contact your web hosting provider for assistance. Once the password has been changed on the server side please proceed with A above.

    System i#2567

    The System i (formerly known as iSeries, AS/400, and Application System/400) is a computer platform produced by IBM. System i uses two different name formats (See Reference 1). By default format 1 is enabled. If the user/client sends a CWD command starting with a / the server automatically switches to format 2. To go back to format 1 you have to send a SITE NAMEFMT 1 manually or by using the custom commands in SmartFTP.

    Starting with SmartFTP v2.0 Build 996 Patch 41 new custom commands have been added to change the "File Naming Format" easily. See Menu: Commands -> Custom Commands -> AS/400 (iSeries).

    References
    1. Why am I getting the error, "501 Unknown extension in database file name." when FTPing files to an iSeries system, and why does data go into a stream file rather than the specified library name?
    2. Practical Programming for AS/400 FTP Automated Interfaces
    3. List of iSeries (AS/400) FTP Tips and Techniques
    4. Regarding Targetting library-specific files on AS/400

    Portable SmartFTP#2568
    To install SmartFTP on a portable device (e.g. USB stick) follow the following steps:
    • Download PortableSmartFTP.zip.
    • Extract the .zip archive to a directory on your portable device. e.g. P:\SmartFTP.
    • Copy all files (SmartFTP.exe, sfFTPLib.dll, sfFavorites.dll, sfTransferQueue.dll, sfFavoritesShellExtension.dll, sfFTPShellExtension.dll, sfShellTools.dll, etc) and folders (en-US) from the SmartFTP installation folder (%ProgramFiles%\SmartFTP Client) to the folder on the portable drive (e.g. P:\SmartFTP).
    • To start SmartFTP run the PortableSmartFTP.exe from your portable drive (e.g. P:\SmartFTP\PortableSmartFTP.exe)

    Limitations

    • The portable wrapper must be run under administrative privileges 
    • There may be functional limitations when using the portable wrapper.
    Keyboard shortcuts#2569
    Alt+X Exit SmartFTP
    Alt+Left Go Backward
    Alt+Right Go Foreward
    Ctrl+A Select All
    Ctrl+B Connect
    Ctrl+C Copy
    Ctrl+D Disconnect
    Ctrl+E Edit Favorites
    Ctrl+F Add Favorite
    Ctrl+G Go
    Ctrl+H Change Folder
    Ctrl+I Copy selected items from one side to the other
    Ctrl+J Move selected items from one side to the other
    Ctrl+L New Local Browser
    Ctrl+Shift+L Open Default Local Browser
    Ctrl+N New Remote Browser / Quick Connect
    Ctrl+O Settings
    Ctrl+P Show/Hide Statistics
    Ctrl+Q Show/Hide Transfer Queue
    Ctrl+R Reconnect
    Ctrl+S Select Dialog
    Ctrl+T / Ctrl + Z Download to Default
    Ctrl+U Copy URL
    Ctrl+V Paste
    Ctrl+X Cut
    Backspace Folder Up
    Delete Delete
    Insert New Folder
    Return Open
    Alt+Return Properties
    F1 Help
    F2 Rename
    Shift+F2 Show/Hide Folders
    Shift+F3 Show/Hide Log
    F4 Select/View History
    F5 Refresh
    Shift+F5 Show/Hide Command Line
    F7 Edit
    F8 View
    F9 Abort
    Ctrl+0-9 Selection Group 0-9
    Free Text Editor#2570
    Free Editors:
    PSPad Good HTML integration. (Recommended)
    Notepad++ Open Source. Based on Scintilla. A lot of plugins available. (Recommended)
    Notepad2 Open Source. Based on Scintilla.
    CodePad Not actively developed anymore.
    JEdit Java. Open Source. GPL 2.0.

    Please contact us if your favorite free editor is missing.

    Lost License#2571
    To resend your license key go to:
    Lost License Key

    To reinstall SmartFTP go to:
    Download
    sfFTPLib is not licensed#2572
    Problem
    The following error message is displayed in the log:

    sfFTPLib is not licensed.

    Explanation
    This error appears if your operating system is not able to verify the digital signature of the sfFTPLib.dll file. This is not a SmartFTP software problem since the file (sfFTPLib.dll) is correctly signed with a valid certificate. To verify the file manually, right click on the sfFTPlib.dll file in Windows Explorer and select Properties. The Properties dialog appears. Select the Digital Signatures tab and click on the Details button. The Digital Signature Details appears. If you see an error either the sfFTPLib.dll is corrupted or there is a problem with your system/configuration.

    Solutions
    To workaround this problem:
    • Install the latest version of SmartFTP from the Download page (your settings will not be lost).
    Last Resort
    • From the Microsoft KB 555374
      1. Open regedt32.exe and browse to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\SystemCertificates\TrustedPublisher
      2. Under TrustedPublisher look for Safer key and delete it.
    500 'MLSD': command not understood by proxy#2573

    If you get one of the following errors:
    500 'MLSD': command not understood by proxy
    451 Connect: No Port Specified

    Solution

    Disable the Use MLSD option found on the Favorite Properties Dialog.

    How to:

    1. Select Favorites > Edit Favorites from the SmartFTP menu. The Favorites window appears.
    2. From the SmartFTP Favorites window select the Favorite to be used. Right click on the Favorite and select Properties. The Properties dialog appears.
    3. Under FTP select Transfer. Under the MLSD you can click on the drop-down option and disable the Use of MLSD.
    4. Click on the OK button to save the changes.

    MLSD

    How To selectively transfer files#2574

    Goal
    To exclude or include files or folders during transfer by setting Filters. SmartFTP allows you to set filters from the Properties dialog box and apply them to individual Favorites. You can then selectively transfer files or folders according to your particular needs.

    Example: To only download/upload PDF Files (*.pdf) from a server.

    How To

    1. Select Favorites > Edit Favorites from the SmartFTP menu. The SmartFTP Favorites window appears.
    2. From the SmartFTP Favorites window select the Favorite that you want to apply the filter to. Right click on the Favorite and select Properties. The Properties dialog appears.
    3. Under the Transfer option select Filters. From the Filters tab under the Options list you can enable filtering for the selected Favorite.
    4. Under the Filter list select Use Favorite Settings.
    5. If you want to filter at the folder level, select Folder under the Scope option. If the filter matches a folder name, the entire contents of that folder are included or excluded along with the folder.
    6. You can also filter at the file level by selecting File under the Scope option.
    7. You can filter by file extensions by using WildChars, for example, *.pdf.
    8. Important: If you want to traverse into/include the sub folders you have to the add the following filter: Type=Wildchar, Value=*, Scope=Folder
    Note: SmartFTP saves the Filters settings per Favorite. If you want to set Filters for a single transfer for example, you can make a copy of the Favorite of interest and change the Filters Properties there, so that the original Favorite Properties remain.

    Properties - Filters - *.pdf

    Website does not update#2575

    Problem
    After a successful transfer, the uploaded files are yet not updated on the website

    Solution

    • Make sure you are uploading into the correct folder/directory on the FTP server. The correct folder/directory depends on how the FTP server is set up. You may want to consult your web hosting provider for clarification.
      Common FTP root locations are /htdocs, /www, /wwwroot or /http
    • Refresh the web page you are looking at in your web browser (e.g. Internet Explorer). The page will refresh from your local cache.
    • Hold the Ctrl key while you click on the Refresh button (Ctrl + F5 works as well). By using the Ctrl + Refresh or Ctrl + F5 command, you are forcing the page to refresh from the server bypassing the local cache
    • At last contact your web hosting provider for further assistance

    32-bit version on Windows 64-bit Editions#2576
    Installation of the 32-bit version of SmartFTP on Windows 64-bit Editions is supported. Alternatively, there is a native 64-bit version of SmartFTP available. There is no general recommendation whether to install the 32-bit version on Windows 64-bit or the native 64-bit version.
    Windows 98 / Windows Me#2577
    As of July, 11th 2006 Windows 98 and Windows Me are no longer supported. Support for these operating systems has been stopped at the same time that Microsoft closed its Extended Support.

    References
    Microsoft Windows: End of support for Windows 98, Windows Me
    Microsoft Support Lifecycle Policy

    How To keep a connection open#2578

    Goal
    To maintain an active connection to a server

    How To

    1. Select Favorites > Edit Favorites from the SmartFTP menu. The SmartFTP Favorites window appears.
    2. From the SmartFTP Favorites window select the Favorite for which you want to use the Keep Alive feature. Right click on the Favorite and select Properties. The Properties dialog appears.
    3. Under the FTP > Connection option select Keep Alive. From the Keep Alive tab under the Options list select Use Favorite Settings.
    4. You can enable the Keep Alive feature for the selected Favorite under the Settings list. Select this to automatically send commands at random to the FTP server to keep a connection open.
    5. Choose the time interval SmartFTP will wait before sending a command to keep the connection alive.

    Properties - Keep Alive - *.pdf

    Append/Restart not permitted, try again#2579

    Problem
    You may receive the following error message from the FTP server when trying to transfer a file:
    Append/Restart not permitted, try again

    Cause
    The FTP server denies clients to restart/resume an interrupted transfer.

    Solution
    Enable restarts/resumes of uploads and downloads on the server side. You may need to contact the server administrator or the web hosting company to request this change.

    Special Case: proftpd
    By default proftpd denies clients to restart/resume interrupted uploads (AllowStoreRestart). But it allows clients to restart/resume interrupted downloads (AllowRetrieveRestart). This causes the REST command to appear in the FEAT reply and SmartFTP assumes that restart is supported. Thus SmartFTP tries to restart the transfer and fails because the FTP server doesn't allow it.

    References

    Technical Support#2580
    SmartFTP offers the following technical support:

    Licensed Users
    Technical support is offered during the maintenance period via email with a 24h response time from Monday through Friday. When contacting our support department please include your license key information (license key id is sufficient) and a detailed description of your problem to avoid any delays with your support request.

    Unlicensed Users
    Only limited pre-sales support can be offered due to the huge number of unlicensed users. The Support page includes Tutorials, Knowledge Base articles and Community Forums that can assist you in finding a solution to your problem. To get the benefits of premium support please purchase a license for our product.

    SFTPDROP#2582

    Problem
    When using drag&drop to the Desktop or an instance of Windows Explorer a folder called "SFTPDROP" is created.

    Cause
    The Shell CopyHook handler SmartHook.dll is not correctly installed.

    Resolution
    Download and install the newest version of SmartFTP. Then reboot your system.

    Welcome to SmartFTP#2583
    Welcome to SmartFTP! Our powerful tool will allow you to transfer files between your local computer and a server on the Internet in a flexible, reliable and secure manner. Start enjoying the easy to use FTP client that makes file transferring a trivial task. We hope that our knowledge base articles will assist you in your journey of discovering the many features and advantages that SmartFTP offers.

    You can also browse through our tutorials for practical lessons on how to use our software: Tutorials

    For posting and discussing specific topics visit our Forums: Forums
    Windows Vista: Header in Local Browser#2584

    Problem
    When updating Windows XP to Windows Vista some headers in the Local Browser's list control are now drawn correctly.

    Solution
    Right-click on header and click on "Size All Columns To Fit"

    How To encrypt data files#2585
    There are two methods to encrypt the data files (Favorites, Custom Commands)

    Method: Encrypted File System (EFS)
    Applies To: All supported operating systems but Windows XP Home

    1. Open Windows Explorer (explorer.exe)
    2. Locate the application data folder. Open the Settings dialog from the menu: Tools -> Settings. It's the Application Data Folder in in the General dialog The default location is %APPDATA%\SmartFTP\Client 2.0.
    3. Right-click on the folder and click on Properties from the context menu.
    4. In the General tab of the Properties dialog click on the Advanced button.
    5. In the Advanced dialog check the Encrypt contents to secure data option.
    6. Click OK and the files will get encrypted.

    Method: TrueCrypt
    Applies To: All operating systems

    1. Download and install TrueCrypt from http://www.truecrypt.org
    2. Setup a new TrueCrypt volume. Refer to the TrueCrypt documentation.
      How to Create and Use a TrueCrypt container
    3. Start SmartFTP
    4. Go to menu: Tools -> Settings
    5. In the General dialog change the Application Data Folder to a folder on the encrypted drive
    6. Restart SmartFTP
    Error creating process#2586

    Problem

    Error creating process <...>. Reason: C:\Windows\System32\advpack.dll

    Solution

    Download and install SmartFTP from SFTPNSI.exe

    How To add the license to the forum#2587

    How To add the license key id to the profile in the forum

    1. Go to the Forums
    2. Click on "My Controls" at the top of the page.
    3. In the "My Controls" page, on the left side under "Personal Profile", click on "Edit Profile Information"
    4. Enter your license key id into the input field at the bottom.
    Local Browser displays empty folder#2588

    Problem
    Local Browser displays no content in the listing. Also the column header is not painted correctly.

    Solution
    Right-click on the column header and select "Size All Columns To Fit" from the context menu.

    This action cannot be completed because the other program is busy#2589
    Problem

    Server busy
    This action cannot be completed because the other program is busy. Choose "switch to" to activate the busy program to correct the problem.

    Solution

    • Open the registry editor (regedit.exe)
    • Go to HKEY_CURRENT_USER\Software\SmartFTP
    • Delete this whole key (HKEY_CURRENT_USER\Software\SmartFTP).
    How To change the proxy settings#2590

    Change Default Proxy Settings

    1. Go to menu: Tools - Settings.
    2. In the Settings dialog go to Favorites.
    3. In the Favorites dialog under Default Favorite click on the Edit button.
    4. The Properties dialog of the Default Favorite is displayed.
    5. Continue with the steps in Change Proxy Settings in Favorite dialog

    Change Proxy Settings of a individual Favorite

    1. Go to menu: Favorites - Edit Favorites.
    2. In the Favorites window locate your favorite (Check the Quick Connect folder)
    3. Right-click on the .
    4. The Properties dialog of the Favorite is displayed.
    5. Continue with the steps in Change Proxy Settings in Favorite dialog

    Change Proxy Settings in Favorite dialog
    There are two different kind of proxy settings. One applies for all protocols and the other one applies for the FTP protocol only.

    • To change the proxy settings for all protocols go to the Connection - Proxy dialog.
    • To change the proxy settings for the FTP protocol go to the FTP - Connection - Proxy dialog.
    PGP#2591
    SmartFTP does not support PGP out of the box. However there are several free and commercial tools available which integrate nicely into SmartFTP.

    GnuPG
    The GNU Privacy Guard (GnuPG or GPG) is a free software replacement for the PGP suite. While it doesn't offer all the features (e.g. PGP Disk) of commercial products it does file encryption with ease. For example the GPGee shell extension which is included in the GnuPG for Windows package can directly be accessed in the SmartFTP Local Browser to encrypt a file on the local computer.

    gpgee

    PGP Desktop from PGP Corporation
    Please refer to the product page for further details.

    References
    Backup file not recognized#2592

    Problem
    The backup archive (.zip) cannot be restored with the Backup Tool.

    Cause
    The backup file is not recognized by the Backup Tool. For example it is not possible to restore a backup created with version 1.x in version 2.5.

    Solution
    Install the latest version of SmartFTP on the computer you want to make the backup. Then you can restore the backup file on the new computer. If you do not have access to the computer with the backup anymore you can extract the files from the backup archive manually.

    Important: There was a bug with SmartFTP up to version 2.5.1006.44 which caused that backup files created with the client could not be restored with the Backup Tool.

    Installed product does not match#2593

    Problem
    The following error is displayed when starting SmartFTP:
    The installed product does not match the installed source.

    installed product does not match installed source

    Solution I
    1. Install the latest version from http://www.smartftp.com/get/SFTPMSI.exe

    Solution II
    1. Uninstall SmartFTP (Start -> Control Panel -> Add/Remove Programs)
    2. Install the latest version from http://www.smartftp.com/download

    How to collect crash reports#2594
    • Crash reports/dumps can greatly help us find and fix problems you are experiencing with SmartFTP. To collect the crash dumps on your computer please follow these steps:

    Preparation

    If SmartFTP crashes:

    • If SmartFTP crashes during startup. Download the ShowDebugMessage.zip archive and double click the ShowDebugMessage - Enable.reg.
    • Execute the following command at the command line prompt:
      32-bit Version: cscript "%ProgramFiles%\Debugging Tools for Windows (x86)\adplus.vbs" -crash -FullOnFirst -pn SmartFTP.exe -o C:\Dump
      64-bit Version: cscript "%ProgramFiles%\Debugging Tools for Windows (x64)\adplus.vbs" -crash -FullOnFirst -pn SmartFTP.exe -o C:\Dump

      Dump files will be generated at “C:\Dump”.
      Remarks: Ignore the "Missing symbol paths variable" popup.
    • Try to reproduce the problem

    If SmartFTP hangs (Window not responding):

    • Start SmartFTP
    • Reproduce the problem until SmartFTP hangs
    • Execute the following command at the command line prompt:
      32-bit Version: cscript "%ProgramFiles%\Debugging Tools for Windows (x86)\adplus.vbs" -hang -pn SmartFTP.exe -o C:\Dump
      64-bit Version: cscript "%ProgramFiles%\Debugging Tools for Windows (x64)\adplus.vbs" -hang -pn SmartFTP.exe -o C:\Dump

      Dump files will be generated at “C:\Dump”.
      Remarks: Ignore the "Missing symbol paths variable" popup.

    Upload Dump Files

    • After SmartFTP crashes go to folder "C:\Dump". There can be multiple .dmp files. Please zip the .dmp file(s) upload them to a server (e.g. www.rapidshare.com) and send the link to us.

    References
    How to use ADPlus to troubleshoot "hangs" and "crashes"

    How to get a pro-forma invoice#2595
    1. Go to the online shop at: http://www.smartftp.com/buy.php
    2. Click on the Buy Now button.
    3. Select Wire Transfer in the Method of Payment input field.
    4. Fill out all other information.
    5. Click the Next button at the bottom to continue.
    6. Click on the Generate Proforma Invoice button.
    Program won't start#2596

    If you see an expiration dialog or if nothing happens when you start SmartFTP install the latest version from:
    http://www.smartftp.com/download

    If after the installation no window or dialog is displayed when you start SmartFTP follow these steps:

    1. Start the registry editor (regedit.exe)
    2. Delete the "HKEY_CURRENT_USER\Software\SmartFTP" key
    3. Start SmartFTP
    SSL/TLS not working with Windows Vista#2597

    Problem
    Unable to establish an SSL/TLS session on Windows Vista to some FTP servers. For example Netware. In this case the log may look like this:
    Connected to ftp.host.tld.
    220 Service Ready for new User
    AUTH TLS
    234 Enabling SSL
    Connected. Exchanging encryption keys...
    An established connection was aborted by the software in your host machine.

    or

    AUTH TLS
    234 AUTH command accepted - proceed with Negotiation.
    Connected. Exchanging encryption keys...
    SSL/TLS client handshake failed (Error = 0x80090308).
    The token supplied to the function is invalid

    Reason
    By default SSL 2.0 is disabled on Windows Vista for security reasons.

    Workaround
    Enable SSL 2.0 by editing the registry. Set the DisabledByDefault value to 0.
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\Schannel\Protocols\SSL 2.0\Client
    DisabledByDefault DWORD 0x00000000

    How to post a screenshot?#2598
    1. Press the Prnt Scrn key on your keyboard
    2. Open Microsoft Paint from the Start Menu -> Accessories -> Paint
    3. Paste the image from the clipboard. Menu: Edit -> Paste
    4. Save the image as a png. File -> Save As ...
    5. Upload the file to your webserver or to http://imageshack.us/
    6. Send/post the link to the image
    SmartFTP version 2.5#2599

    SmartFTP version 2.5 has been discontinued.

    Please download the latest version of SmartFTP from here:
    Download Latest Version

    If you would like to use version 2.5 of SmartFTP please purchase a license for the latest version:
    http://www.smartftp.com/buy.php
    The license is good for version 2.5 and version 3.0.

     

    How To setup a dual transfer environment#2600

    Situation
    You want to download large files in the background from one server but you still want to quickly edit a file on the same server.

    Problem
    When using only one favorite to do this the edit operation will have to wait until the large transfers are finished.

    Solution I 

    1. Create a copy of your existing favorite which already contains the username/password and host information to connect to a particular server. For example you can rename the copy to "My Favorite - Large Transfers".
    2. Go to the favorite settings of the "My Favorite - Large Transfers" favorite. Then go to the Transfer -> Queue dialog. Set the Number of Workers to 1.
      Important: The setting need to be changed in the favorite settings and not in the global settings.
    3. Connect to the "My Favorite - Large Transfers" favorite
    4. Set the number of Workers in the Transfer Queue toolbar to a value greater than 1. For example to 2. You can also change this value in the global settings. To do this go to the menu: Tools -> Settings then go to the General -> Queue dialog.
    5. Download all the larges files you want. They will automatically get added to the Transfer Queue.
      You will notice that the Transfer Queue will only use one worker for all the files you have just added, regardless of the number of workers global setting.
    6. Connect to the other favorite which you use to do your normal tasks like editing a file.
    7. Now edit any file you want and it gets immediately processed in the Transfer Queue.

    Solution II
    With this solution the Open / View / Print / Play operations are handled in the Remote Browser instead of the Transfer Queue and therefore reuse the current connection in the Remote Browser. This also means that the Remote Browser is blocked during the download.

    1. Install the latest version from http://www.smartftp.com/download
    2. Go to menu: Tools -> Settings. Then go to the General -> Navigation dialog.
    3. Set the Open / View / Print / Play operation to Browser.
    4. Click OK to apply the change
    Upload Problems#2601

    Problem
    When using SmartFTP version 3.0 you experience problems uploading. In particular files do not get transferred or do not seem to show up on the server.

    Solution
    Please follow the steps below to solve your problem:

    1. Download and install the latest version of SmartFTP from:
      http://www.smartftp.com/download
    2. Take a look at the Upload Tutorial.
    3. If the Transfer Queue (the window at the bottom) is not started yet (it means the blue play button is disabled) click on the blue play button to start it. By default the Transfer Queue is automatically started.
    4. If the files are stuck in the Transfer Queue double click the first file and look at the log. You will find the reason the file is not transferring in the log. Please see the 2nd paragraph of the following article on how to get the log: KB: How to get the logs
    5. If you need assistance with the log please sign up to our forums (free) and post the log:
      Public Support Forum
    421 Too many connections (1) from this IP#2602

    Problem
    You see the following error in the log:
    Resolving host name "xxx"
    Connecting to xxx Port: 21
    Connected to xxx
    421 Too many connections (1) from this IP
    or
    421 I can't accept more than 1 connections as the same user

    It means that you have reached the number of concurrent connections to the server. In this case the user is only allowed to have one (1) concurrent connection. 

    Solutions

    1. Close all Remote Browsers in SmartFTP. The Remote Browser is the window which shows your files on the server. Then wait a few seconds (30 seconds) until the Transfer Queue tries to process the item again.
    2. Set the number of workers in the Transfer Queue (bottom window) to 1. 
    3. Disable the Background Transfers in the favorite settings Transfer dialog. To access the favorite settings please see: KB: How to edit the favorite settings.
    4. Contact your web hosting provider or the system administrator of the server and ask them to increase your connection limit. If you are using a free web hosting provider the one connection limitation is usually in place to encourage you to upgrade to their paid hosting plans.
    How To disable Transfer Queue animation#2603
    1. Go to menu: Tools->Settings
    2. Then go to the Interface dialog
    3. Uncheck the [ ] Show Transfer Queue animation checkbox
    How To setup a secure connection#2604

    Goal
    To setup a secure FTP connection over SSL/TLS to a server where all data between the client and the server are encrypted.

    How To

    1. Go to menu: File -> New Remote Browser
      The Quick Connect dialog opens
    2. Select FTP over SSL Explicit in the Protocol selection
    3. Enter the Host name. e.g. ftp.myhost.com
    4. Enter the Username and Password which have been provided to you. If you do not have this information please contact your web hosting provider.
    5. Click on the Properties button
    6. The favorite Properties dialog opens
    7. Go to the FTP -> Connection -> SSL/TLS dialog
    8. You will find a group called Data Connection
    9. Set the File Transfer setting to Private (Secure)
    10. Set the List Transfer setting to Private (Secure)
    11. Click OK to save the settings
      The Properties dialog closes
    12. Click OK in the Quick Connect dialog to connect to the server

     

    File Encryption#2605

    Purpose
    File encryption stores the transferred files encrypted on the server and decrypts the files when they are transferred back to the local computer. The files are encrypted/decrypted with the password specified in the favorite settings.
    The files are transparently encrypted on-the-fly. It means that the files do not need to be encrypted and stored on the local computer first before they are transferred. This is especially useful when dealing with large files (e.g. backups) where space and I/O resources are limited.

    Implementation
    SmartFTP implements the following encryption modes:
    AES 128-bit with MD5 AES with a 128-bit key. The key is the MD5 hash value of the password.
    AES 192-bit with SHA256 AES with a 192-bit key. The key is the first 192 bits of the SHA256 has value of the password.
    AES 256-bit with SHA256  AES with a 256-bit key. The key is the SHA256 hash value of the password.

    The Initialization Vector (IV)/nonce is initialized with the start position divided by the AES block size (16 bytes).

    AES CTR Encryption/Decryption Tool
    The AES CTR encryption/decryption tool is also available separately and can be used to manually encrypt/decrypt files using AES in CTR mode. This tool is free and provided as is.
    Download AES CTR Encryption/Decryption Tool

    Availability
    This features is available in the Professional Edition of SmartFTP version 3.0 Build 1014 or higher. Since the encryption is done on the client side it works with all protocols (FTP, SFTP, etc) and servers.

    References
    Wikipedia: Block cipher modes of operation
    Wikipedia: AES - Advanced Encryption Standard

    SDK#2606

    SDK (Software Development Kit)

    SmartFTP can be fully automated using COM/ActiveX. Please read more about it on the SDK feature page:
    http://www.smartftp.com/features/sdk

     

    Transfer Queue FAQ#2607

    Q: The Transfer Queue does not start.
    A: Click on the blue play button (looks like a play button of your CD player) in the Transfer Queue's window toolbar.

    Q: I repeatedly have to start the Transfer Queue.
    A: Go to the menu: Tools -> Settings. Then go to the Queue dialog and set the On Application Start option to Remember Last State. And set the On Queue Complete option to Idle.

    Q: I want to disable the animation when adding something to the Transfer Queue
    A: Go to the menu: Tools -> Settings. Then go to the Interface dialog and uncheck the [ ] Show Transfer Queue animation option.

    Q: How to automatically use the file exist rules instead of file exist dialog?
    A: Go to the favorite settings. menu: Favorites -> Edit Favorites. Locate your favorite. Right-click on it then select Properties from the context menu. Then go to the Transfer -> File Exist dialog. Set the first option to Use Automatic Rules.
    If you want to change the default behavior change the option in the default favorite: Go to the menu: Tools -> Settings. Then in the General -> Favorites dialog click on Edit button in the Default Favorite section.

    How To timestamp downloads#2608

    Sometimes it is necessary to dynamically change the destination file/folder name. For example if you have a backup task scheduled which should put the files into a different folder each time it is started. The solution is to use predefined variables in the destination path.

    In this example we setup a backup task which downloads a folder from a server to a local folder:

    1. Schedule a transfer as describe in the following article:
      http://www.smartftp.com/support/kb/how-to-schedule-a-transfer-f145.html
    2. Right-click on the newly created item in the Transfer Queue. Select Properties from the context menu.
    3. In the General dialog go to the Destination at the bottom of the dialog.
    4. In the Path input box add the desired Variables. For example if the path is called: C:\Backup\ and you want to put the files into a new folder each time you change it to C:\Backup\*d-*m-*Y\
      If the task would be started on the 4th May 2004 the files will be downloaded into the following destination folder:
      C:\Backup\04-05-2004\

    Variables 
    *a Abbreviated weekday name
    *A Full weekday name
    *b Abbreviated month name
    *B Full month name
    *d Day of month as decimal number (01 – 31)
    *H Hour in 24-hour format (00 – 23)
    *I Hour in 12-hour format (01 – 12)
    *j Day of year as decimal number (001 – 366)
    *m Month as decimal number (01 – 12)
    *M Minute as decimal number (00 – 59)
    *S Second as decimal number (00 – 59)
    *U Week of year as decimal number, with Sunday as first day of week (00 – 53)
    *w Weekday as decimal number (0 – 6; Sunday is 0)
    *W Week of year as decimal number, with Monday as first day of week (00 – 53)
    *y Year without century, as decimal number (00 – 99)
    *Y Year with century, as decimal number

    How To get notified about updates#2609
    1. RSS Feed
      http://www.smartftp.com/update/rss/ChangeLog.xml
      Updates on every build number increase (e.g. Build 1018 to Build 1019).
    2. Mailing List
      Subscribe to our mailing list and get notified about every major upgrade.
      http://www.smartftp.com/ (right side)
      Emails are sent on major releases only (approximately every 3 months).
    3. Web site
      Detailed changelog with all changes:
      http://www.smartftp.com/forums/SmartFTP-Client-30-Change-Log-t14037.html
      Updates daily.
    Email Notifications#2610

    Description

    The Email Notification feature in SmartFTP automatically sends an email notification when the item is processed, succeeds or fails. The settings can be configured in the menu: Tools - Settings. Then go to the Queue - Email dialog.
    This feature is available in the Professional Edition of SmartFTP only.

    Variables

    You can use the following variables in the subject and templates:

    {Id}  Unique Id of item e.g. {6251B600-6386-4e02-A9DE-EFA5A2446C43}
    {Status} Success | Failed | Unknown
    {Type} File | Folder | Unknown 
    {Operation} Unknown | Copy | Move | Delete | SetPermissions | ReadDirectory | Custom 
    {Synchronization}  Unknown | One Way | One Way with Delete 
    {Size}  Size of the file. For folders this value is 0 
    {Retry} Number of retries 
    {StartTime} Start time (Local Time) in ISO8601 format
    {FinishTime} Finish time (Local Time) in ISO8601 format
       
    {Source.Favorite.Id} Favorite Id
    {Source.Favorite.Name} Favorite Name
    {Source.Favorite.Description} Favorite - Description
    {Source.Favorite.Username} Favorite - Username
    {Source.Type}  Local | Remote | Unknown
    {Source.Path}  Full path 
    {Source.Filename}  Filename extracted from full path. Available in version 3.0.1018.3
       
    {Destination.Favorite.Id} Favorite Id
    {Destination.Favorite.Name} Favorite Name
    {Destination.Favorite.Description} Favorite - Description
    {Destination.Favorite.Username} Favorite - Username
    {Destination.Type}  Local | Remote | Unknown
    {Destination.Path}  Full path
    {Destination.Filename}  Filename extracted from full path. Available in version 3.0.1018.3
       
    {Progress.TransferredBytes}  Number of bytes transferred during the last transfer
    {Progress.StartTime} Start time (Local Time) in ISO8601 format of last transfer
    {Progress.StopTime} Stop time (Local Time) in ISO8601 format of last transfer
    {Progress.DeltaTime}  Total time in seconds of last transfer
    {Progress.StartPosition}  Start position of last transfer
    {Progress.AverageSpeed}  Average speed of last transfer 
    Auto Rename Rules#2611

    Introduction
    The auto rename feature allows renaming of files and folders according to user defined rules.

    Type

    WildChar
    The input is being matched against the search value. If there is a match the replace value acts as a template to generate the output value.
    The following wild-char or meta characters are defined and can be used in the search and replace value:

    • * matches any character string (sequence of characters)
    • ? matches any single character

     Examples
    Search Replace Input Output
    *.htm *.html index.htm a.html
    X*Y*Z AA*BB*CC X1stY2ndZ AAFirstBBSecondCC
    file?.txt ?file.txt file1.txt 1file.txt
    *exp?sin tra?la* 94expXsin tralXla94

    WildChar (No Case)
    Same as WildChar with the difference that the case is ignored when matching the search value with the input.

    Scope
    The scope value defines the range in which the rule applies.

    File  Applies to files only
    Folder  Applies to folders only 
    Any File or Folder

    Ignore Error#2612

    Introduction
    In some situations where the server returns wrong information it is necessary to disable the transfer verification checks in SmartFTP. The most common case is when SmartFTP requests the size of the transferred file, the server returns the wrong size of the actual file on the server. Thus SmartFTP correctly assumes that the transfer failed. To circumvent this problem the transfer integrity checks or the resulting errors from it must be ignored.

    Enable "Ignore Error" option

    • Go to menu: Favorites->Edit Favorites
    • Locate your favorite. Look in the Quick Connect folder.
    • Right-click on the favorite and select Properties from the context menu
    • Go to the Transfer - Files dialog
    • Change the Ignore Error option from Use Default Settings to Enable
    • Click OK to save the changes

    Example from buggy FTP server

    SmartFTP sends 8950 bytes:
    STOR file.htm
    125 Data connection already open; Transfer starting.
    8950 bytes transferred. (56,0 KB/s) (156 ms)
    226 Transfer complete.

    Server reports that the file is only 7069 bytes.
    SIZE file.htm
    213 7069

    How To enable debug logs#2613

    How to enable debug logging in SmartFTP.

    Note: This should only be done to enable logging for debug purpose. If you want to enable logging of your transfers in SmartFTP go to the menu: Tools->Settings and then go to the General - Advanced dialog.

    1. Download and extract
      http://www.smartftp.com/Products/SmartFTP/Addons/LogLevel.zip
    2. Double-click the "SmartFTP - Enable Log.reg"

    Now log files are created in the %AppData%\SmartFTP\Client 2.0 folder.

    Advanced Settings#2614

    There are several settings that only be changed through the registry.

    Description: Enables logging
    Key: HKEY_CURRENT_USER\Software\SmartFTP\Client 2.0\Settings
    Name: Log Level
    Type: DWORD
    Value: Log mask. Set to 0xffffffff for all log levels
    Default: 0 (no logging)

    Description: Scroll interval for the transfer status message in the window title when SmartFTP is minimized
    Key: HKEY_CURRENT_USER\Software\SmartFTP\Client 2.0\Settings\Interface\Transfer Status
    Name: Scroll Interval
    Type: DWORD
    Value: Time in milliseconds
    Default: 350

    Description: Template for the transfer status message in the window title when SmartFTP is minimized
    Key: HKEY_CURRENT_USER\Software\SmartFTP\Client 2.0\Settings\Interface\Transfer Status
    Name: 0
    Type: SZ
    Value: Template for uploads and downloads
    Default: "{download.count} downloads at {download.speed} KB/s and {upload.count} uploads running at {upload.speed} KB/s"

    Description: Template for the transfer status message in the window title when SmartFTP is minimized
    Key: HKEY_CURRENT_USER\Software\SmartFTP\Client 2.0\Settings\Interface\Transfer Status
    Name: 1
    Type: SZ
    Value: Template for downlodas
    Default: "{download.count} downloads running at {download.speed} KB/s"

    Description: Template for the transfer status message in the window title when SmartFTP is minimized
    Key: HKEY_CURRENT_USER\Software\SmartFTP\Client 2.0\Settings\Interface\Transfer Status
    Name: 2
    Type: SZ
    Value: Template for uploads
    Default: "{upload.count} uploads running at {upload.speed} KB/s"

    Description: Shows breadcrumb when queue is hidden or stopped
    Key: HKEY_CURRENT_USER\Software\SmartFTP\Client 2.0\Settings\Interface
    Name: Show Queue Breadcrumb
    Type: DWORD
    Value: 0=do not show. 1=show
    Default: 1 (show breadcrumb) 

    Description: Template for the Remote Browser window title
    Key: HKEY_CURRENT_USER\Software\SmartFTP\Client 2.0\Settings\Interface
    Name: Remote Browser Window Title Template
    Type: SZ
    Value: Template for window title
    Default: "[{Favorite.Name}] {Location}"

    Description: Computer wide setting to disable the Show Password option
    Key: HKEY_LOCAL_MACHINE\Software\SmartFTP\Client 2.0\Settings\Policies
    Name: Expose Passwords
    Type: DWORD
    Value: 0=disable, 1=enable
    Default: 0 (disabled)

    Description: Displays debug message box right at the start of SmartFTP
    Key: HKEY_CURRENT_USER\Software\SmartFTP\Client 2.0
    Name: ShowDebugMessage
    Type: DWORD
    Value: 0=do not show, 1=show
    Default: 0 (do not show)

    PureFTPd UTIME bug#2615

    PureFTPd (as of version 1.0.21) suffers from a serious bug when setting the date/time of a file on the server using the SITE UTIME command. The file on the server gets a time which is off by several hours. As a result the keep file time feature to "synchronize" the file time of the remote file (file on the server) with the local file does not work. This has major consequences for synchronization operations which depend on the correct file time.

    Proof

    Comments are in blue color. Lines starting with a 3 digit number are FTP server replies. Lines without a 3 digit number are commands sent by the FTP client.

    220---------- Welcome to Pure-FTPd [TLS] ----------
    ....
    FTP client sends command to set time of the remote file test.txt in UTC with the SITE UTIME command:
    SITE UTIME test.txt 20080825033443 20080825033443 20080825033443 UTC
    FTP server acknowledges command
    250 UTIME OK
    FTP client sends MLST command to get the file information (time) of the remote file test.txt
    MLST test.txt
    FTP server returns the information. Note that the time (in red) is 5 hours off the time above (in green)
    250-Begin
    type=file;size=151194;modify=20080825083443;UNIX.mode=0644; test.txt
    250 End.
    FTP client sends MDTM command to get the file time only. Note that the time (in red) is once again 5 hours off.
    MDTM test.txt
    213 20080825083443
    FTP client sends STAT command to get the "unix" like listing of the file test.txt. This listing contains the time in local time which is only of use if the server locale (timezone with daylight savings) is known.
    STAT test.txt
    213-STAT
    -rw-r--r--    1 rabbaak  rabbaak    151194 Aug 25 04:34 test.txt
    213 End.

    Recommendation

    1. Disable the Keep File Time option for uploads in SmartFTP. This way your files will always have the time when they have been uploaded and not the same time as the source file.
    2. Contact the pureftpd author at j@pureftpd.org
    3. Consider using another FTP server product since there have been no updates since 2006 for pureftpd. If you do not control the server contact your web hosting provider and encourage them to switch to another FTP server.
      A widely used and actively developed FTP server is proftpd
    Performance - Transfer Buffers#2616

    Auto Tune Receive Buffer 
    Windows 2000, Windows XP, Windows 2003
    If this option is enabled SmartFTP measures the bandwidth and delay during the transfer and automatically increases the Send Buffer Size to the optimal size. The optimal size can be calculated from the Bandwidth x Delay Product (BDP).
    Windows Vista, Windows 2008 or higher
    If this option is enabled the Auto Tuning of the TCP Receive Window feature from the Windows kernel is used and not the Auto Tune feature from SmartFTP. In this case the Receive Buffer Size has no effect.
    Default: Enabled

    Receive Buffer Size
    Sets the size of the socket receive buffer (SO_RCVBUF). This value directly affects the TCP window size. If the Auto Tune Send Buffer Size option is enabled this is the initial value used before the connection is established. 
    Default: 128 KB 

    Auto Tune Send Buffer Size
    If this option is enabled SmartFTP measures the bandwidth and delay during the transfer and automatically increases the Send Buffer Size to the optimal size. The optimal size can be calculated from the Bandwidth x Delay Product (BDP).
    Default: Enabled

    Send Buffer Size
    Sets the size of the socket send buffer (SO_SNDBUF). This value directly affects the TCP window size. If the Auto Tune Send Buffer Size option is enabled this is the initial value used before the connection is established. 
    Default: 128 KB

    References
    - Technet: TCP Receive Window Auto-Tuning
    - MSDN: TCP Receive Window Size and Window Scaling (Applies to Windows XP and Windows 2003)
    - MSDN: Very technical article about Auto Tuning on Windows Vista and higher
    - MSDN: setsockopt Function (Windows)
    - RFC1323: TCP Extensions for High Performance (TCP Window Scaling, SACK, etc)

    Known Server Bugs#2617
    Server   Bug
    vsftpd  
    ??? - 2.0.1 MDTM returns date/time for non existent files 
    ??? - 2.0.7.1 Protected data connection fail when using SSL control session id.
    Workaround: Upgrade to latest version of vsftpd or disable protected data transfers
       
    Pure-FTPd  
    - 1.0.21 SITE UTIME does not set correct date/time
    See Details
    - 1.0.21 MLSD does not always return hidden files.
    Workaround: Disable MLSD
       
    ProFTPD  
    ??? - 1.3.0 MDTM returns local time instead of UTC time
       
    VMS  

    VMS TCPware V5.7-2
    VMS MultiNet V5.1(91)

    SIZE returns wrong size.
    Note to VMS developers: Please refer to paragraph 4. File SIZE in the RFC 3659.

     

     
    Date not correctly displayed on AS/400#2618

    Problem
    The dates when connecting to a AS/400 server are not displayed correctly in SmartFTP.

    Cause
    This originates from the fact that the server uses different date formats depending on the server's locale:
    YY/MM/DD
    DD/MM/YY
    MM/DD/YY

    SmartFTP can detect the format correctly if the MM part of the date is greater than 12. However in other situations for example if the date is returned as 01/02/03 it is impossible for the FTP client to know which part of the date represents the year.

    Solution
    Change the LISTFMT attribute in the AS/400 FTP server configuration from *DFT to *UNIX

     

    Return Policy#2619

    Before deciding to purchase our software, please be sure to download, install, and test-drive the evaluation versions that we provide:
    Download

    We do not offer refunds on software where the license key has already been sent to the customer. We go to great lengths to produce a trial version with which customers can ensure their satisfaction and system compatibility. This allows them to make an informed purchasing decision. Once that purchase has been made, we do not offer a cash refund or an exchange. We feel this policy is consistent with the major software retailers nationwide.

    Unlike physical goods, electronically distributed software and software licenses can be duplicated. Once a license has been issued, it is unfortunately not possible for us to recall all copies.

    Therefore we do not accept product returns or exchanges. You are expected to be satisfied with the product before purchasing. If you need more than 30 days to evaluate the software please contact us to get a trial extension.

    MSXML3.dll error#2620

    Problem
    The license key fails to load.

    Cause
    MSXML3.dll is not correctly installed.

    Solution
    Register the msxml3.dll

    Windows Vista
    1. Click the Start button. Select All Programs, select Accessories and then right-click Command Prompt.
    2. Select Run as administrator from the context menu
    3. If you are prompted for an administrator password or for a confirmation, type the password or click Continue.
    4. The command line opens. Type the following command, and then press ENTER:
    regsvr32 %windir%\system32\msxml3.dll
    5. If the file can be located and is available, you receive the following message:
    DllRegisterServer succeeded in C:\Windows\System32\msxml3.dll is succeeded.

    Windows XP
    1. Click the Start button. Select All Programs, select Accessories and then right-click Command Prompt.
    2. The command line opens. Type the following command, and then press ENTER:
    regsvr32 %windir%\system32\msxml3.dll
    5. If the file can be located and is available, you receive the following message:
    DllRegisterServer succeeded in C:\Windows\System32\msxml3.dll is succeeded.

     

    How To import user accounts from DreamHost#2621

    This article shows how to import all user accounts stored in the DreamHost web panel with your DreamHost account:

    1. In SmartFTP go to the menu: Favorites -> Edit Favorites
    2. In the Favorites window go to the menu Tools -> Import
    3. Select DreamHost from the Source combo box
    4. Click OK
    5. In the DreamHost Importer enter your Username/Email and your web panel API Key
      You can generate an API Key in the DreamHost web panel.
    6. Click OK to import all user accounts

    Watch the Flash Tutorial

    How To import user accounts from cPanel#2622

    This article shows how to import all user accounts from cPanel:

    1. In SmartFTP go to the menu: Favorites -> Edit Favorites
    2. In the Favorites window go to the menu Tools -> Import
    3. Select cPanel from the Source combo box
    4. Click OK
    5. In the cPanel Importer enter the URL to cPanel. Examples:
      http://yourhost.com:2082
      https://yourhost.com:2083
    6. Enter the Username and Password you use to access cPanel.
    7. Click OK to import all user accounts
    How To import user accounts from Plesk#2623

    This article shows how to import all user accounts from Plesk:

    1. In SmartFTP go to the menu: Favorites -> Edit Favorites
    2. In the Favorites window go to the menu Tools -> Import
    3. Select Plesk from the Source combo box
    4. Click OK
    5. In the cPanel Importer enter the Host to Plesk. Example:
      yourhost.com
    6. Enter the Username and Password you use to access Plesk.
    7. Click OK to import all user accounts
    How To run SmartFTP as a service#2624

    Purpose
    This article shows how to run SmartFTP as "a service". As "a service" means that no user interaction is required to start SmartFTP and there is also no requirement that a user must be currently logged on to the computer.
    For this purpose a new task is create in the built-in task scheduler facility in Microsoft Windows. The task can then be configured to run at a specific time or as in this case when the computer starts. Following the step-by-step instructions on how to create and configure this task:

    Before Windows Vista: Scheduled Tasks

    1. Click on the Start button
    2. Go to All Programs - Accessories - System Tools
    3. Select Scheduled Tasks
    4. Click on Add Scheduled Task
    5. Click Next
    6. Select SmartFTP Client from the list of applications. If SmartFTP Client is not present in the list click on the Browse... button and select the SmartFTP.exe file located in the "%programfiles%\SmartFTP Client" folder.
    7. Click Next
    8. Select the trigger for this task. For example select When my computer starts
    9. Click Next
    10. Select the user the task will run as
    11. Click Next
    12. Click Finish

    Windows Vista and higher: Task Scheduler

    1. Click on the Start button
    2. Go to Programs - Accessories - System Tools
    3. Select Task Scheduler
    4. Select the Task Scheduler Library in the tree on the left side
    5. Click on Create Task... on the right side
    6. In the General tab enter a name for your task. e.g. SmartFTP
    7. In the Security options select Run whether user is logged on or not
    8. If you want to run the task under a different user click on the Change User or Group... button
    9. Select the Triggers tab
    10. In the Trigger tab click on New...
    11. In the New Trigger dialog set the Begin task to At startup if you want to run the task when the computer starts
    12. Click OK to close the New Trigger dialog
    13. Select the Actions tab
    14. In the Actions tab click on New...
    15. In the New Action dialog set the Action to Start a program if this is not the case yet
    16. In the Program/script input box select the SmartFTP.exe file located in the "%programfiles%\SmartFTP Client" folder using the Browse... button. Leave the other input fields empty
    17. Click OK to close the New Action dialog
    18. Click OK to close the Create Task dialog

    Optional

    Close SmartFTP after the transfer queue has been processed

    1. Start SmartFTP
    2. Go to the menu: Tools - Settings
    3. Select the Queue settings dialog
    4. Set the On Queue Complete option to Close Application
    5. Click OK
    How To delete all registry settings#2625
    1. Close SmartFTP 
    2. Click on the Start button in Windows
    3. Select Run...
    4. Enter regedit.exe
    5. Press ENTER
    6. The Registry Editor opens
    7. Delete the following registry key/folder
      HKEY_CURRENT_USER\Software\SmartFTP\Client 2.0
    8. Start SmartFTP
    How To use Gmail to send emails#2626

    To configure gmail for the email notifications use the settings below:

    Host smtp.gmail.com
    Protocol TLS
    Port 465
    Authentication  Auto 
    Username login@gmail.com
    Password Your gmail password

    SSL/TLS not working with Windows XP#2627

    Problem
    On Windows XP when you are trying to connect to a FIPS enabled FTP server you get the following error:

    AUTH TLS
    234 AUTH command accepted - proceed with Negotiation.
    Connected. Exchanging encryption keys...
    SSL/TLS client handshake failed (Error = 0x80090308).
    The token supplied to the function is invalid

    Solution
    Enable FIPS mode in the Local Security Settings:
    http://support.microsoft.com/default.aspx/kb/811833

    FIPS 140-2#2628

    FIPS 140-2
    The Federal Information Processing Standard (FIPS) Publication 140-2 specifies the security requirements of cryptographic modules used to protect sensitive information.

    Enable FIPS 140-2 Mode in SmartFTP

    1. Go to the menu: Tools - Settings
    2. Go to the Connection dialog
    3. Select Enable in the FIPS settings
    4. Click OK

    Enable FIPS in Microsoft Windows

    1. Click the Start button
    2. Go to Control Panel
    3. Select Administrative Tools
    4. Select Local Security Policy
    5. Go to Local Policies - Security Options in the tree on the left side
    6. Enable System cryptography: Use FIPS compliant algorithms for encryption, hashing, and signing
    IsThreadDesktopComposited could not be located#2629

    Problem
    The following error is displayed when the application is started:
    The procedure entry point IsThreadDesktopComposited could not be located in the dynamic link library USER32.dll.

    Solution
    Delete the dwmapi.dll file in the Windows\System32 folder.

    Affected Operating Systems
    Windows XP

    SSH - X.509 certificates#2630

    Summary

    X.509 certificates can be used for user authentication and for host key verification.

    Use in SmartFTP 

    Select certificate for user authentication

    1. Go to the Favorite Properties
    2. Go to the SSH dialog
    3. Select Personal Certificate Store in the Public Key group
    4. Select the certificate to be used

    Export public key from certificate

    1. Go to the Favorite Properties
    2. Go to the SSH dialog
    3. Select Personal Certificate Store in the Public Key group
    4. Click on the Cert Manager button
    5. Select the certificate you want to export
    6. Click on the Export... button
    7. Select No, do not export the private key
    8. Click Next
    9. Select Base-64 encoded X.509 (.CER) in the file format
    10. Send the certificate to the server administrator

    Interoperability

    • Roumen Petrov's OpenSSH patch [1]
    • VanDyke VShell [3]

    Technical

    Supported public key algorithms: x509v3-sign-rsa [1], x509v3-sign-dss [1], x509vs-sign-rsa-sha1 [2], x509vs-sign-dss-sha1 [2]

    References

    How To install an additional language?#2631
    1. menu: Tools - Settings
    2. Go to the Interface - Language dialog
    3. Right-click on the language you want to install
    4. Select Install from the context menu
    5. Install the language addon 
    6. Restart SmartFTP
    7. Go to the Language dialog and select the preferred language

    Important: After you have upgraded to a new version of SmartFTP you have to do steps 1-5 again.

    Transfer Queue Item Scripting#2632

    Introduction

    A script can be assigned to a transfer queue item which will be loaded right before the transfer queue item is processed. The transfer queue fires several events which can be handled by event handlers within the script. An event handler has access to the transfer queue operation object and indirectly - through this object - to the complete transfer queue facility.
    Scripts assigned to individual transfer queue items make most sense when the same transfer queue item is processed multiple times. For example when it contains a trigger with a recurring schedule.

    Technical

    Objects exposed in the global scope:

    • ScriptHost
      The object that created the script context. It offers some basic methods:
      Echo: Display the first argument in a message box
    • TransferQueueOperation
      This object is responsible to run the actual operation and additionally offers helper methods.

    The following events are sent from the TransferQueueOperation object:

    • OnBegin
      This event is fired before the operation starts.
    • OnRun
      This event is fired after OnBegin and before the actual operation begins. This is the place to add the logic of a custom operation.
    • OnEnd
      This event is fired after the operation ended.
    • OnAddItems(items)
      This event is fired right before the items are added to the transfer queue

    For the complete reference please refer to the documentation included in the SmartFTP SDK1.

    Mini Tutorial

    In the this tutorial we demonstrate how to use a script to transfer a file or folder to a different destination each time the item is processed. The idea is to implement a custom operation which does the following:

    1. Create a new item based on the item we are processing
    2. Copy all the important item properties (name, size, operation type, source, destination) to the new item
    3. Change the destination path of the new item
    4. Add the new item to the transfer queue
    5. Set the operation result to success to prevent the execution of the normal operation

    Let's start with the skeleton of the script:

    VBScript

    ScriptHost.Echo "Load"
    
    Sub TransferQueueOperation_OnBegin() 
      ScriptHost.Echo "OnBegin" 
    End Sub 
    
    Sub TransferQueueOperation_OnRun() 
      ScriptHost.Echo "OnRun" 
    End Sub 
    
    Sub TransferQueueOperation_OnEnd() 
      ScriptHost.Echo "OnEnd" 
    End Sub

    JavaScript

    ScriptHost.Echo("Load");
    
    function TransferQueueOperation::OnBegin()
    {
      ScriptHost.Echo("OnBegin");
    }
    
    function TransferQueueOperation::OnRun()
    {
      ScriptHost.Echo("OnRun");
    }
    
    function TransferQueueOperation::OnEnd()
    {
      ScriptHost.Echo("OnEnd");
    }

    We choose to implement the logic for the custom operation in the OnRun() event handler.

    VBScript

    Sub TransferQueueOperation_OnRun() 
      'ScriptHost.Echo "OnRun" 
      '// Create new transfer queue item based on this item
      Dim newItem 
      Set newItem = TransferQueueOperation.CreateItem()
      '// copy its properties
      Dim item 
      Set item = TransferQueueOperation.TransferQueueItem
      newItem.Type = item.Type
      newItem.Size = item.Size
      newItem.Operation = item.Operation  
      newItem.SizeUnit = item.SizeUnit 
      newItem.Source = item.Source.Clone()
      newItem.Destination  = item.Destination.Clone()
      '// now change the destination path
      '// format the date/time "YYYYMMDD 'T' HHMMSS"
      Dim date
      date = CStr(Year(Now())) & CStr(prefixWithZero(Month(Now()))) & CStr(prefixWithZero(Day(Now())))
      Dim time
      time = CStr(prefixWithZero(Hour(Now()))) & CStr(prefixWithZero(Minute(Now()))) & CStr(prefixWithZero(Second(Now())))
      Dim suffix
      suffix = date & "T" & time
    
      newItem.Destination.Path = newItem.Destination.Path & suffix
      '// ScriptHost.Echo newItem.Destination.Path
      
      '// add the new item using the AddItem helper
      TransferQueueOperation.AddItem(newItem)
      
      '// return success. This prevents the operation to continue any further
      TransferQueueOperation.Result = sfTransferQueueOperationResultSuccess
    End Sub

    JavaScript

    function TransferQueueOperation::OnRun()
    {
      //ScriptHost.Echo("OnRun");
      // Create new transfer queue item based on this item
      var newItem = TransferQueueOperation.CreateItem();
      // copy its properties
      var item = TransferQueueOperation.TransferQueueItem;
      newItem.Type = item.Type;
      newItem.Size = item.Size;
      newItem.Operation = item.Operation;  
      newItem.SizeUnit = item.SizeUnit;  
      newItem.Source = item.Source.Clone();
      newItem.Destination  = item.Destination.Clone();
      // now change the destination path
      // format the date/time "YYYYMMDD HHMMSS"
      var now = new Date();
      var date = now.getFullYear().toString() + prefixWithZero(now.getMonth() + 1).toString() + prefixWithZero(now.getDate()).toString();
      var time = prefixWithZero(now.getHours()).toString() + prefixWithZero(now.getMinutes()).toString() + prefixWithZero(now.getSeconds()).toString();
      var suffix = date + "T" + time;
    
      newItem.Destination.Path = newItem.Destination.Path + suffix;
      // ScriptHost.Echo newItem.Destination.Path;
      
      // add the new item using the AddItem helper
      TransferQueueOperation.AddItem(newItem);
      
      // return success. This prevents the operation to continue any further
      TransferQueueOperation.Result = sfTransferQueueOperationResultSuccess;
    }

    For the complete scripts please see the SmartFTP SDK1.

    References

    1. SmartFTP SDK
    Software Compatibility Issues#2633

    Bluetooth Drivers / Helper

    Problem

    Several low cost Bluetooth products come with a shell extension that causes SmartFTP to crash when downloading files using Drag&Drop or by clicking on the Copy/Move buttons in the middle toolbar.

    Solution

    Identify the shell extension file and unregister it or uninstall the Bluetooth driver.

    Affected Products

    Toshiba Bluetooth

    Files:
    C:\Windows\System32\TosBtExt.dll
    C:\Windows\System32\TosBtShell.dll

    References

    Adobe Photoshop 7

    Problem

    When the Adobe Photoshop thumbnail/icon shell extension (psicon.dll) is installed, the SmartFTP process hangs (not responding) when files with a .psd extension are displayed in the Transfer Queue.

    Cause

    psicon.dll's RPC calls cause a dead lock.

    Solution

    Go to the C:\Program Files\Common Files\Adobe\Shell folder and rename the psicon.dll file to psicon.disable.dll.

    References

    Forums: Transfer Queue freezes SmartFTP interface

    Kaspersky Internet Security

    Problem

    When using a high global upload transfer limit with multiple workers the SmartFTP process consumes all available CPU resources.

    Cause

    Kaspersky cannot handle a high numbers of Winsock send() calls efficiently.

    Solution

    Disable or uninstall Kaspersky Internet Security.

    References

    Forums: high CPU loading

    Windows 2008

    Problem

    When the preview pane in SmartFTP is enabled and the user selects a file with a .htm or .html extension the Windows HTML Preview handler is loaded. The preview handler causes the COM host surrogate process to crash (DEP).

    Cause

    Bug in Windows 2008 .html preview handler.

    Solution

    • Unregister the html preview handler:
      Delete the following registry key:
      HKEY_CLASSES_ROOT\htmlfile\shellex\{8895B1C6-B41F-4C1C-A562-0D564250836F}
    • or ignore the crash as it does not crash SmartFTP itself.

    References

    Affected Products

    Windows 2008 SP2 32-bit (all installations)
    Windows Vista SP2 32-bit (some installations only)

    SlipStream Accelerator

    Problem

    When downloading multiple folders or files SmartFTP crashes unexpectedly.

    Cause

    SlipStream Accelerator installs a LSP dll which inserts itself into Winsock respectively into the TCP/IP stack. Due to a bug in this dll (sliplsp.dll) it causes the crash.

    Solution

    See Tracker: SmartFTP Pro crashes when downloading

    Affected Products

    Every product which includes the Slipstream Accelerator. For example:

    Netscape Accelerator

    References

    Tracker: SmartFTP Pro crashes when downloading

    How To move items to another folder after transfer#2634

    Goal

    You would like to move the items after they have been transferred to another folder on the source.

    Example 1

    You want to upload all files from local folder C:\Upload to a server. After the files have been transferred you want to move them into the C:\Archive folder on your computer.

    Example 2

    You want to upload a single file on your local computer from C:\Upload\file.pdf to a server. After the transfer completed you want to move this file to the C:\Archive folder on your computer.

    Solution

    For Example 1

    1. Setup a scheduled transfer as described in
      KB: How to schedule a transfer
      KB: How to selectively transfer files
    2. Download and install the SmartFTP Client SDK
    3. Right-click on the transfer queue item, select Properties from the context menu
    4. Go to the Script dialog
    5. Click on the Browse button
    6. Select the MoveAddedSourceItemsToFolder.js script from the C:\Program Files\SmartFTP SDK\Samples\TransferQueueItem\JScript folder
    7. Enter the folder where you want to move the files to into the Arguments input field. e.g. C:\Archive

    For Example 2

    1. Setup a scheduled transfer as described in
      KB: How to schedule a transfer
    2. Download and install the SmartFTP Client SDK
    3. Right-click on the transfer queue item, select Properties from the context menu
    4. Go to the Script dialog
    5. Click on the Browse button
    6. Select the MoveSourceItemToFolder.js script from the C:\Program Files\SmartFTP SDK\Samples\TransferQueueItem\JScript folder
    7. Enter the folder where you want to move the files to into the Arguments input field. e.g. C:\Archive
    Generated in 0.0059s

    Copyright © 2009 by SmartSoft