Re: Server-Side FTP Upload Resume

Giganews Newsgroups
Subject: Re: Server-Side FTP Upload Resume
Posted by:  Sergio Perry (perc…@cytanet.com.cy)
Date: Thu, 17 Jul 2003

When you tell your ftp client to "resume" a download, you are basically
asking it to send a "REST X" command to the ftp server, where "X" is the
position to start  the download from (normally the local file's size).

So when the ftp server  receives the REST command, if  X is valid, it sets
the file's position (stream.position) to X automatically and starts sending
the file, reading from  X  down to the end of the file.

Replies

None

In response to

Server-Side FTP Upload Resume posted by virtek on Thu, 17 Jul 2003