File Upload Trouble Shooting Guide.

Home Download Demo Contact Us
Home
 :: About Us
 :: Services
 :: Contact Us
Products
 :: Rad SFTP
 :: Rad Upload
 :: MMS
 :: Print Suite
 :: Card Designer
Demo
FAQs
Partners
Press
Members
Buy Now

Trouble Shooting your File Upload.

Rad Upload

Frequently Asked Questions

Developer FAQ

PHP Upload Configuration

Recursive Folder Upload

Download

java.net.SocketException

There could be several reasons for the error dialog that says Software caused socket write error: Connection abort. Most often this error is caused by an incorrect setting for the url parameter. According to the HTTP specification any special characters contained in a URL should be properly escaped or they should be url encoded. Many webmasters attempt to pass additional parameters to the upload handler without taking steps to ensure that the data is properly encoded.

Thus urls such as the ones listed below are all invalid because they contain special characters. http://www.radinks.com/upload/index.php?name=john smith http://www.radinks.com/upload/index.php?phone=13-4123-439

The solution however is trivial. Most web based programming langauges provide function that can properly encode this data for you. For example this function is urlencode() in PHP and URLConnection.encode() in java.

The second major cause of this error is that the connection is disrupted while file upload is in progress. This can happen due to network outages. In some instances this error may be caused by the server closing the connection before upload is complete. This in turn is most often caused by attempting to upload files that exceed the servers configured limits.

If you are using PHP you might find our brief configuration guide on the various settings usefull. If you are using other programming languages please refer to the documentation for that language to determine how you can optimize your server to accept large file uploads. Alternatively you can use the large file mode of the plus edition to attempt to by pass server limitations.

Uploaded Files are missing

Please make sure you have edited the url parameter of the applet to point to the correct location. Then please make sure that you have made the changes to the server side handler to save uploaded files. The sample upload handlers provided with the download bundle explain how this is done.

Finaly also make sure that the folder to which you are saving uploaded files has the correct permissions and sufficient storage space is available.

FTP Upload does not work.

Ensure that you are using the correct username and password to connect. Also make sure that the pathname is specified correctly. Some FTP server configurations do not automatically place you inside your home directly after login. in such cases you will need to specify an absolute FTP path name instead of a relative path.

I tried using a non standard port but the applet just hangs.

This is almost always caused by a firewall that refuses to let you make a connection on the specified port. Firewalls may 'gobble up' all the data sent by the applet with out either rejecting them outright or sending a response. As a result the applet will continue to make attempts to connect on the specified port and upload the files before eventually timing out.

Even if you do not have a firewall installed on your local network it's quite possible for a firewall at the other end of the wire to disrupt your upload on non standard ports.

Finally it should be noted that some organizations have very restrictive firewalls that do not allow any FTP traffic. In such cases you will have to use Rad Upload in HTTP mode.

I tried your sample perl handler but the server returned a 500 internal sever error.

First make sure that the path to the perl executable specified in the first line of the sample script matches your installation. Then please make sure that the script has the correct permissions and also confirm that the folder where files are being saved is writable by the webserver context.

The perl sample code provided makes use of the CGI module to handle file uploads. While it's technically possible for you to process the incoming data without the perl module you will find it far easier to download and install this module from CPAN.

My FTP username/password is not being accepted.

Your username or password may have special characters. If so they have to be properly 'urlencoded'.

For example, in some virtual hosting enviorenments, your username may take the form of yourname@yourhost.com. When such a username is use the resultant url looks somewhat like: ftp://yourname@yourhost.com:password@yourhost.com. The at sign (@) is a special character and it cannot be used in this manner. The correct url would be ftp://yourname%40yourhost.com:password@yourhost.com.

The applet says 'Document contained no data'

What this error means is that your server is not sending a timely response. Often it's caused by the server not been configured to accept large file uploads. Sometimes it's caused by the server side handler taking too long to save the files on the server hard disk. That can happen if your temporary folder and the save path are on two different hard drives or partitions.

I am using resumable mode and the applet said 'the server returned an unrecognized response

This is because the server side upload handler has not been properly executed at the server side. Please type in it's url into your browser, you will most likely see a more detailed error message displayed. Usually the error message provides sufficient information to solve the problem.

Also see: Advanced configuration guide

 

  Quick Navigator }  
Learn More,   Online Demo,   Q & A,   Docs,  
Download,   Features & Pricing,   Source Code

 

 

Site Map  |  About us  |  Services  |  Contact Us  |  Members

Copyright 2006 Rad Inks (Private) Limited. All Rights Reserved.

Privacy Policy   |  Terms of Use