Show Contents / Index / Search

Working with File Name Characters

The FTP Client supports long file names. Long file names in Windows can contain spaces. The only characters that are not allowed are:

The following length limitations apply:

  • Maximum path (excluding the file name): 246 characters (including drive letter, : character and \ character). This limit of 246 allows for the addition of a file name in the standard 8.3 format with the terminating null character.
  • Maximum file name: 256 characters (including terminating null character)
  • Maximum fully qualified name (path + file name): Varies slightly with different Windows operating systems. Use 259 characters to ensure a valid path for all Windows systems.

Working with file names that contain spaces

When you use FTP or SFTP commands, any file name that contains spaces must be enclosed in double quotation marks. Click here for rules on how quotation marks are used.

Working with server file names that contain prohibited characters or are too long

For file transfers to the PC, the client automatically ensures that the name given to the file on your PC is valid in Windows.

For file transfers to the PC, the Reflection client uses the following rules to convert a server file name into a valid Windows file name:

  • Strip all illegal characters. Example: fast*lane becomes fastlane.
  • Invalid characters are: \ / : * ? " < > |
  • If necessary, truncate the file name. In Windows, the following length limitations apply:
  • Maximum path (excluding the file name): 246 characters (including drive letter, : character and \ character). This limit of 246 allows for the addition of a file name in the standard 8.3 format with the terminating null character.
  • Maximum file name: 256 characters (including terminating null character)
  • Maximum fully qualified name (path + file name): Varies slightly with different Windows operating systems. Use 259 characters to ensure a valid path for all Windows systems.
  • The Windows path is always preserved. If the server file name plus the destination Windows path is greater than the maximum allowed, the server file name is truncated.
  • If the file name begins with a period, the appropriate number of characters are removed from the end of the file name. If the file name contains periods, the client determines the location of the last period in the name and truncates the appropriate number of characters to the left of the period.

If you want transfers from a server site to automatically derive a valid DOS name when the server file name is too long or when it contains invalid characters, select the Create Windows file names in 8.3 format check box on the Transfer tab in the Site Properties dialog box.