Interviewer - Server Admin > Files > Uploading files from your computer to your user folder
 
Uploading files from your computer to your user folder
You can upload files from your computer to your user folder on the UNICOM Intelligence Interviewer - Server Admin server. This allows you to use files such as templates or image files that have been created outside of UNICOM Intelligence Interviewer - Server Admin. You can upload up to ten files at a time. Manage Files can upload files whose full pathnames are no longer than 128 characters. If you have files whose pathnames are longer than this you will need to rename them before uploading.
The Files activity uploads files in two stages. First it makes a copy of each file in a temporary folder. Each file is given a unique temporary name so that there is no chance that two people uploading files with the same name will overwrite each other's files. Then, it copies each file in turn into the project's folder in your user folder, renaming the file as it does so, and deletes the temporary file from the Temp folder. (The name of the temporary folder is defined in the registry in the DimensionNetUploadFolder key and defaults to c:\InetPub\wwwroot\SPSSMR\Temp.)
Files makes the following checks as it copies files into your user folder:
Filenames
All files belonging to a project must have a name whose root matches the project ID; that is, they must be called ProjectID.xxx. Activities locate the files they need to use by taking the project's ID and looking for files whose root matches that name. When creating files, activities name them by using the project ID with an appropriate extension. The exceptions are template files, which are often shared between many projects, and sample files.
When you upload a file that has an extension that UNICOM Intelligence Interviewer - Server Admin recognizes as a project file extension, and its name does not match the ID of the current project, Files asks you whether you want it to rename the file. You should normally answer Yes to this question.
Existing files
If a file already exists in your user folder, Files asks whether to overwrite it with the uploaded file. If you answer No, the file is not uploaded.
.mdd files
The procedure for existing files applies, but Files does not upload the file if its format is invalid or if it was created with a later version of UNICOM Intelligence that you are using now. (Technically, the test is whether the file's version number is greater than the version number of the MDMLib component that is installed on your computer.)
Empty files
Files issues a warning and ignores the file.
Zipped files
Files unzips the contents of the zipped file so that the component files are available separately in your user folder (the exception is if the zipped file contains another zipped file; in this case the second zipped file is not unzipped). All checks for non-zipped files are carried out on the individual files in a zipped file so, for example, if the zipped file contains an .mdd file that already exists in your user folder you will be asked whether to overwrite the existing file or merge the uploaded file into the existing file.
If the zipped file contains a folder structure, Files creates new subfolders within the project folder to match this structure. This ensures that the relationships between the files in the zipped file are maintained when the files are uploaded.
You can create subfolders within the project folder and upload files into subfolders. You might want to do this if you want to keep template files and stylesheets separate from the other project files, or if you have language-specific files that you want to store separately.
Notes
The Files activity does not support pathnames or filenames containing Japanese characters. If you want to upload a file whose name contains Japanese characters you should rename it first.
If you are using Internet Explorer with a pop-up blocker installed and you are uploading files from different computers using the IP addresses of those computers, you must turn off the pop-up blocker if you want to upload zipped files.
To upload files into your user folder
1 Navigate to the subfolder into which you want to upload files.
2 From the Files menu, choose Actions > Upload.
This opens the Upload Files dialog box. The Files to Upload list is empty when you start but will later display the names of the files you have chosen to upload.
3 Click Browse. Select the file you want to upload and click Open.
The filename is added to the Files to Upload list. If you choose a file whose name already exists in the Files to Upload list (even if the file is from a different location) an error message is displayed and your selection is ignored.
4 Repeat these steps to select more files. The Browse button is disabled once you have chosen ten files.
5 If you need to remove a file from the upload list, click the red cancel icon next to the filename. If you decide not to upload any files at all click Cancel.
6 When you have finished choosing files, click Upload.
A progress dialog box shows the status of the upload process and the name of the file currently being uploaded.
You can cancel the upload at any time by clicking Cancel. This stops copying files and deletes any that have already been copied into the Temp folder.
When all files have been uploaded, you are returned to the main screen where you will see the uploaded files tagged as Private in the file list.
To create a subfolder to upload into
1 From the Files menu, choose Actions Upload
This opens the Upload Files dialog box.
2 Click Browse.
3 Click the Create New Folder icon and then replace the default folder name with a name of your choice.
4 Click Open to create the subfolder.
5 Click Cancel to close the Choose file dialog box, and then click Cancel to close the Upload Files dialog box.
See also
Files