What's in a name? - File Names
From time to time, you may want to upload a file, such as a PDF, and provide it as a download to web visitors. So, what's so important about file naming anyway?
What would be a good practice for naming your files?
Keep in mind the following: make sure your file names do not include any special characters like "&" or "/". Special characters may cause your file to error during the upload process. It is also a good practices to eliminate spaces in the file name.
What would be a good file name?
An ideal file name would leave no doubt about what it is and where it came from. Something like:
The file name above gives you lots of information about what it is, where it came from and whether it is up-to-date. In fact, if the file name is useful to you, then it is use for ... you guessed it ... Google and other search engines.
Notice that there are no capital letters. Omitting capitals is more of an aesthetic requirement than a technical one. Also, putting a date on your files should be done with care and avoided, if possible. Why? Because a file without a date can simply be overwritten when you update it. You don't have to change the link and you don't have to delete the old file. It makes computer "housekeeping" easier. Aren't you glad that you read this?
Can you use capital letters in your filename?
Can you use "_" - underscores?
PDF files cannot be bigger than 2MB. If you get an upload error telling you that the file size is too large, contact Web Services.
Questions? Contact Web Services.
- Tags: best practices