Why aren't my folders or uploaded files working?
When creating folders and uploading files to UVACollab, folder and file names that contain special characters can affect site participants' ability to download or access the files correctly.
Issues can also arise from uploading files with very long names in excess of 250 characters, or from saving files inside many stacked folders so that the resulting file location is greater than 250 characters.
This article includes the following:
Special characters in a file or folder name.
Certain characters should not be used in folder or file names, because computers use these characters to denote file locations. For example, a slash (/) signifies a location within a folder. In Windows, a colon (:) is used to identify a drive location, such as the computer's hard drive or an external storage device like a flash drive. A period (.) precedes the file type in a file name.
If special characters are used in a file name, the file may not open properly when site participants try to access it. If a file with special characters in its name can be opened by clicking on it when viewing the UVaCollab site in an internet browser, site participants might not be able to download it via WebDAV.
UVACollab's Resources and File Drop tools may also allow you to enter special characters in folder names, but having certain characters, including colons, slashes, and periods, in a folder name may prevent site participants from downloading files contained in it via WebDAV.
Recommended file/folder naming conventions.
Using the following characters in folder and file names will help ensure that your folders and files will work in Resources and File Drop:
- letters (no accent marks) A-Z (either lowercase or uppercase)
- numbers 0-9
- hyphens -
- underscores _
The following characters are known to cause issues when they are used in folder or file names in Resources or File Drop:
Very long file and folder names.
You may encounter an error when attempting to upload a file with a name that exceeds 250 characters. Issues can also arise if you store the file inside many folders, so that the resulting file path is greater than 250 characters. Pictured above is an example of a potentially problematic file, where the file path is:
Note: Some online journals post articles with their entire bibliographic entries in the file names. These names may contain special characters and be very long. If such a file is uploaded without editing its name, it can cause errors when uploading other files to the same folder.
Tips for making shorter file and folder names.
Limit the use of spaces.
Tip: When you use a space in a file name, it actually takes up three characters in a file path. Each space in a URL is represented by %20. You can decrease the number of characters in your file path by using an underscore: _ instead of a space or eliminating spaces. Below is a table with an example of a file name and its length when spaces are replaced with underscores or eliminated.
|File Name on Computer||File Name in URL||Number of Characters in URL|
|UVACollab Quick Start Guide To Resources.pdf||UVACollab%20Quick%20Start%20Guide%20To%20Resources.pdf
Display more text with a Display Name.
Tip: Each file in Resources or File Drop has a name that displays for site participants when they view the file within the site, which is independent from the actual file name. A Display Name can be longer than a file name without increasing the length of the file path.
In Resources or File Drop, select Actions, then Edit Details.
- To the right of the file for which you would like to change the Display Name, select the Actions menu.
- Select Edit Details.
Note: On mobile devices or small screens, the Actions menu displays as a down arrow icon.
Enter the new Display Name.
By default, the Display Name is the same as the file name. In the Display Name box, change the file name to the name you want displayed in Resources or File Drop.
At the bottom of the page, select Update.
- The new Display Name will be shown in Resources or File Drop instead of the file name.
- When someone downloads the file, it will have the original file name.