|
|
Upload Lite List of Categories
Page 1 Page 2
- I'm sure I selected a file, but see "No files selected for uploading"
- Why do I receive a Permission denied error?
- Can I view the contents of a folder without uploading a file?
- Why do I sometimes see an "n" in the filename?
- Does Upload Lite send form data to me?
- I see the files on my server, why aren't they displayed when I click the links?
- What are the size limitations of Upload Lite?
- Why can't I see the files I uploaded?
- How do I allow all file types to be accepted?
- Can my visitors select the folder files are uploaded to?
-
I'm sure I selected a file, but see "No files selected for uploading"
You must ensure the file input field is named as follows, note the field name must be in UPPERCASE :
<input type="file" name="FILE3">
If you would like to add additional "Browse" buttons, which allow the user to send more than one file, you must ensure each name has a unique number and that the name also contains "FILE" in UPPERCASE.
-
Why do I receive a Permission denied error?
If you're on a Unix server, the error may look like this :
Permission Denied
To correct this error, make sure all folders leading up to and including the destination folder are CHMOD to 777.
If you're on a Windows server, the error may look like this :
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:
CGI open of tmpfile: Permission denied
In this case, you need to have your host set permissions for you. Write to them and let them know which folder you'd like to upload to. Have permissions for that folder set to full read/write. You'll also need to ensure temp files can be created.
Temp files (uploads) are usually stored in "C:\temp". You or your host need to ensure that this folder also has full read/write permissions so that the script can create a file in that folder. Also make sure the folder exists. Your system may use a different drive, such as "D:\temp" or "F:\temp".
-
Can I view the contents of a folder without uploading a file?
No, this feature is not available in Upload Lite. Upload Plus, Upload Gold and Upload Pro have this feature built in, each with their own levels of security. Upload Gold and Upload Pro require the member to log in to manage their files. Upload Plus has no member management. And Upload Pro allows the member to protect their directory using Basic Authentication.
-
Why do I sometimes see an "n" in the filename?
The letter "n" is used to replace any characters in the filename that are deemed invalid. Take the following filename for example :
the~world.gif
The tilde ~ in the above filename would be replaced with an "n" for non alphanumeric. This is done so that all files uploaded can be properly displayed by browsers (even if the filename contained unicode characters not found in the ASCII set). Valid characters include any alphanumeric character, dashes, underscores and dots. Anything else will be replaced with an "n".
-
Does Upload Lite send form data to me?
No, it only uploads files and notifies you of the file upload. If you want other form data sent to you also, you need to look at either Upload Plus, or the Attachment Mailer series of scripts.
-
I see the files on my server, why aren't they displayed when I click the links?
Make sure you have the correct path in the $folder variable on line 28 of the script. Enter your servers name as well as the name of the folder files are being uploaded to. Eg
$folder = "http://www.yourserver.com/uploads"
-
What are the size limitations of Upload Lite?
Both upload Lite and Upload Gold have been successfully tested on files as large as 36 megabytes. To restrict users to a certain file size, enter the number of kilobytes allowed on line 28 of the script. For example, the next line allows a user to upload files that are up to 100kb in size.
$max = 100;
This next line allows users to upload files that are as large as 1 megabyte.
$max = 1024;
To have no limit enter a large number such as
$max = 1000000000;
-
Why can't I see the files I uploaded?
Make sure you are looking in the right folder. The file will have been uploaded to the folder you specified in the script on line 24. If for any reason the upload failed, and you have the $redirect option set to false, the script will tell you why. To set the $redirect option on line 38 of the script to false, the value (between the quotes) must be empty. Eg.
$redirect = "";
-
How do I allow all file types to be accepted?
Enter the keyword "ALL" on line 87 of the script. It must by in Uppercase and without the quotes. Eg.
@types = qw~
ALL
~;
-
Can my visitors select the folder files are uploaded to?
No, this feature is available in the Plus and Gold versions.
Page 1 Page 2
|
|
|