GlobalSCAPE Knowledge Base

Best Practices for Naming Files

GlobalSCAPE 5


  • All Products


The following are best practices for naming files that will be uploaded to your Web or FTP site. Following these suggestions will help you avoid many of the pitfalls caused by the many disparate operating systems, browsers, and Web or FTP servers that are used on the Internet.

  • File names should be kept short. (e.g., mycatpicture.gif)
  • File names should be as meaningful as possible. (e.g., instead of dsc00035.gif, try BabyJimsFirstBottle_05052009)
  • File names should be in lowercase. (Some servers convert to lowercase automatically; some servers do not care about case.)
  • File names should never contain spaces or special characters. When necessary, file names should contain hyphens, not underscores, to join words. (e.g., picture-of-intrepid-accident-05-05-2009.gif)

GlobalSCAPE products follow the standard Windows naming conventions, with a few exceptions (such as no support for Unicode characters).

  • You can name files using almost any character for a name, except for the following reserved characters: < > : " / \ | ? *
  • The maximum length for a path is 255 characters. This limitation includes the drive letter, colon, backslash, directories, subdirectories, filename, and extension.

For more information regarding file-naming conventions, refer to the Microsoft Windows Developer Network article Naming a File.

Also In This Category

On a scale of 1-5, please rate the helpfulness of this article

Not Helpful
Very Helpful
Optionally provide private feedback to help us improve this article...

Thank you for your feedback!

Comments require login or registration.

Last Modified: 8 Years Ago
Last Modified By: GlobalSCAPE 5
Type: INFO
Rated 2 stars based on 24 votes.
Article has been viewed 31K times.
Find Similar