Check size of file before upload!

Is it really possible to check the size of a file before uploading it? For the past few weeks, I've been doing quite a lot of R & D towards this. Finally, I came to a conclusion that it is possible with a Java Applet. With a Java Applet you can check the size of a file and do virtually any other manipulations to it without uploading it to the server. When done this way, it saves a lot of bandwidth on the user who is going to use your application. Here are couple of links that might help you in getting this done in a quicker way;

1) JFile Upload : Supports HTTP and FTP based upload. They also claim to compress the files before doing the real upload. The official website is here.

2) JUpload: If you are looking for a open source based solution, then this is the right one. Contains all the necessary features that are required to implement a file upload solution. The open source link is available here.

No comments:

Post a Comment