Hi all friends,

I am facing problem with my uploading of file
programme.In my client side interface I want to give
facility to client that they can "Pause" the uploading
of one file in between just like cancelling it and can
start uploading of new file from scratch and when they
want to restart("Resume") that file again which they
paused it in between it should be start from that
point where they paused it means if they paused it at
40% it should start from 41% not from scratch.For
monitoring upload iam using progress monitor dialog
.Now for that :-
1.client have to send query to remote server to get
the length of remote file which is incomplete.
2. client to skip ahead in the file reading up to the
length reported by the servlet.
3.And should send those portion of file to server
which is incomplete and server will have to APPEND the
data to the file,
rather than writing it.
4.Or client can simply begin a new upload from
scratch.
5.the servlet would have to be able to distinguish
these two cases 3 and 4.

I couldn't decide(confused)how I can start to give
this facility to client.My programme working fine with
simple uploading without those options.Can any one
guide me how I can do that or give me some code for
that.I couldn't attach my codes coz it's big programme
if any one really want to help me I can send my codes
to him/her.

Thanks in Advance
Bikash

__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to