- How do I set the upload limit?
You can pass in the value in Kilobytes using the max_upload parameter. Please also make sure that
your webserver and php configuration file etc does not conflict with this value. In other words the
value you specify for max_upload should be less than your web servers max POST size.
- I set the max_upload parameter but it does not work, why?
- The max_upload parameter only works with the Rad Upload Standard and Plus editions. The free version has a hard coded limit of 512Kb while the standard edition has a maximum of 100MB.
- What if my users do not have the correct version of Java?
How do I make the Java Plug-in Auto download?
There are several options. The first approach is to take your existing applet tags (see applet.html) and pass it through the htmlconverter tool that's part of the J2SDK. This resulting HTML
will cause the browser to attempt to install the correct version of the Java plug in. The download bundle includes a applet-js.html that is similar in functionality to the code generated by htmlconvertor but more readable.
The examples page includes ports of applet-js.html in other languages.
- How can I pass session information?
Can the applet pass cookies?
We recommend that you pass the session id just as you pass other parameters by
encoding into into the URL. Alternatively You can make use the session_id parameter to pass your session id to the applet, which will
in turn pass it on to your upload handler. Please refer to your server side programming language documentation to find out how session ids can be generated in this manner.
The applet does not get or set any cookies
tell me more...
- Can I gather additional data from an HTML form?
- Yes you can. The Plus edition allows the applet to be embedded into the an HTML form, when you
submit the form all form fields will be posted to the server along with the file data.
- Does Rad Upload work in folders protected by .htpasswd?
Can I use it with 'basic' HTTP Authentication
The applet will function smoothly with HTTP authentication provided that
the jar file, the web page that contains the applet and the server side up load
handler all reside in the same directory. However the handler script can be moved
to a different folder or website if it's protected by the same username password
Please also note that this function depends on having access to HTTP Authentication
variables these can be easily accessed with perl and PHP but may not be available in others.
- Can your applet upload files larger than 32MB ?
- Yes it can. We use our own HTTP client that can upload any amount of data using Rad Upload Plus
(bandwidth, disk space and processor permitting). On the other hand the default HTTP client distributed with the JRE
throws an 'out of memory error' when the total upload size exceeds 32MB. So we have created our own HTTP class to overcome this problem.
- Should I use FTP or HTTP upload?
Let us present you with the facts so that you can decide your self.
For HTTP uploads a single socket connection can be used to upload multiple files (RFC 1867)
thanks to the use of multipart/form-data. However that means you need extra processing power
on the server side to decode this data. Depending on your web programming language it might
consume large amounts of memory as well. (this applies to normal form based file uploads and not just Rad Upload).
NOTE: multipart/form-data encoding is fully reversible and does not
offer any extra security by itself.
FTP (RFC 959) transfer on the other hand does not involve the use of
MIME (multipart/form-data) encoding or decoding. However most FTP servers only support
'stream mode' of FTP which requires that a socket connection be established with the
server for each and every file that is uploaded which has it's own overheads. As with
HTTP uploads FTP does not provide any forms of security.
The major disadvantage that you might have with FTP is that a small percentage of users behind firewalls may not be able
to transfer files via FTP. The major advantage you have would be that you need to spend very
little time on server side scripts especially with
recursive folder uploads.
Learn more about FTP support
- Do you use passive or active FTP?
- We use passive (PASV) mode by default since this is less likely to be blocked by firewalls. However the applet does support Active mode (PORT command) it can be configured to
- When an upload completes can you send a notification to the site owner?
With HTTP file uploads the files are saved on the server by the 'server side upload handler' sending an email notification to the website owner is simply a matter of adding one line of code to server side handler script. You will find several server side handlers on our examples page.
- What about security?
Is Rad Upload a secure means of file upload?
- File transfer with Rad Upload is no more / no less secure (or insecure - which ever way you look at it) than conventional file transfer with html forms or FTP. Please also see the
next question and if you are really concerned about security please have a look at our
Secure FTP applet as well.
- Does Rad Upload work with HTTPS or SFTP?
- You can use our applet to transfer files using HTTPS. The contents of the files will
be encrypted while in transit. Rad Upload does not support SFTP due to the
availability of our Secure FTP applet
- Can I sign the applet with my own digital certificate ?
- Yes you can.
- Can I pass additional parameters to the upload handler without using a form?
- Yes. All modern web servers and web based programming languages are capable of
accepting a mixture of POST and GET data. Thus you can directly add your additional
parameters as the 'query string' to your upload handler URL. Our applet will then pass them on the upload handler.
- Where are the files that I just uploaded?
The sample server side handler script needs to be told where the files should be
saved. If you are using the sample PHP script provided please edit the $save_path parameter
to specify where the files should be saved.
- What is the largest file size that your applet can handle?
We have not set any arbitrary limitation on maximum file size. However most webservers
can only handle 2147483647 (2 Giga Bytes) bytes of data under ideal conditions. This
figure also corresponds to the largest value that can be assigned to an Integer
data type in most programming languages.
- Do I have to show that coffee cup in the drop area?
- Absolutely not! the welcome message displayed when the applet first starts up can be
easily configured see online documentation for details.
- I am having trouble configuring my server to handle large file uploads, can you help?
Our knowledge base article on configuring PHP to handle large uploads may be
all that you need.
If you are using apache as the web server you may need to look at the
LimitRequestBody directive in the httpd.conf file.
If you use Rad Upload Plus you will be able to transfer very large files almost independent of server configuration by using it's resumable mode
- How are self signed SSL certificates handled?
How does Rad Upload deal with expired SSL certificates?
If you specify that the upload should take place through a secure connection, the applet will attempt to
validate the certificate presented by the server. If this validation fails for whatever reason
the user will be informed of this fact and given the option to either continue with the transaction or to cancel it. This is similar to the way your web browser would behave.
- The download contains three files named applet.html, applet-js.html and applet.php, which one should I use?
- These files are described in the examples page under the heading 'Applet Containing Web Page' and this question is answered in detail.
- Why is it that Rad Upload seems to ignore my radupload.properties file?
The most likely cause is that the webserver does not correctly identify the content type for this file (eg with: seen with IIS). In such cases the properties file can be renamed so that it has a different extension. Then the props_file html parameter can be used inform the applet where to look for the new file.
<param name="props_file" value="http://www.radinks.com/radpload-properties.php">
When we released version 3.0 we changed the name of the configuration file to radupload_properties.txt from radupload.properties so that this problem can be avoided all together.
Learn more about this feature...
- Can I avoid scroll bars?
- You can avoid scroll bars around the changing the height and width of the applet. Please see next question for details
How can I change the height and width of the applet?
The applet is taking up too much/too little space on the web page, how can I change that?
- The amount of space taken up by Rad Upload is determined by the 'height' and 'width' attributes for the 'applet' tag (or the object) tag. Feel free to change them to better suite your site