Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Net::FTP using the third argument in the get method.

Status
Not open for further replies.

randy4126

Programmer
Jun 2, 2001
62
US
I am having trouble using the third argument in the get method(where in bytes). Every time I use it never downloads the rest of the file. Is this not supported by every ftp server? I am trying to avoid having to send a larger file over and over. I on;y want the new part of the file.

Randy
smiletiniest.gif
 
If you turn on debug mode, does it give you a specific error message?
$ftp = Net::FTP->new($host, Debug => 1);

I get this error..
504 Restart requires Block or Compressed transfer mode.

And the module documentation says block or compressed transfer mode is unimplemented.. maybe it's not possible with this module? I'm also FTPing from a mainframe, so you might get different results.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top