note
arthas
<p>Hi!</p>
<p>Is FTP is the protocol, use [cpan://Net::FTP]. You can resume a file transfer from where is was interrupted by using the following syntax:</p>
<code>
$result = $ftp->get($remotefile, $localfile, $offset);
</code>
<p>In <i>$offset</i> you can specify the position from where the transfer should start. For HTTP, you can use [cpan://LWP] this way:
<code>
$request->header('Range' => "bytes=$local_size-$remote_size");
</code>
<p>This should be added as an header to the request for the file.</p>
<p>Hope this helps!</p>
<p>Michele.</p>
275857
275857