sz has asked for the wisdom of the Perl Monks concerning the following question:
The cut-off is always at the same point, so I'm guessing I'm missing some parameter or other. I would have thought that a failure to complete the upload would trigger the error message I specified via die, but it does not. Can anyone point me towards a solution? Thanks for your time.my $ftp = Net::FTP->new($destserv) or die "error connecting\n"; $ftp->login($destuser,$destpass); $ftp->cwd('/path/to/proper/directory'); $ftp->put($output_file) or die "error uploading\n"; $ftp->quit();
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Truncated upload using Net:ftp
by derby (Abbot) on Aug 29, 2001 at 00:19 UTC | |
|
Re: Truncated upload using Net:ftp
by LD2 (Curate) on Aug 28, 2001 at 23:22 UTC | |
by sz (Friar) on Aug 29, 2001 at 00:17 UTC | |
|
Re: Truncated upload using Net:ftp
by cLive ;-) (Prior) on Aug 29, 2001 at 00:25 UTC | |
by sz (Friar) on Aug 29, 2001 at 21:03 UTC | |
by sz (Friar) on Aug 30, 2001 at 05:33 UTC |