molson has asked for the wisdom of the Perl Monks concerning the following question:
use strict; use warnings; use Net::FTP; my $directory = "the directory"; my $ftp; $ftp = Net::FTP->new("1.1.1.1", Debug => 0) || die "Cannot connect to 1.1.1.1: $@"; $ftp->login("user",'pass') || die "Cannot login ", $ftp->message; $ftp->binary(); $ftp->get("$directory.thedir","C:\\temp\\ftp") || die "get failed ", $ftp->message; $ftp->quit;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: File Open Error = 13?
by BrowserUk (Patriarch) on Oct 28, 2009 at 20:16 UTC | |
by molson (Acolyte) on Oct 28, 2009 at 21:12 UTC | |
by ikegami (Patriarch) on Oct 28, 2009 at 21:18 UTC | |
by molson (Acolyte) on Oct 28, 2009 at 21:25 UTC | |
by ikegami (Patriarch) on Oct 28, 2009 at 21:27 UTC | |
| |
|
Re: File Open Error = 13? (remote)
by tye (Sage) on Oct 29, 2009 at 01:09 UTC | |
by molson (Acolyte) on Oct 29, 2009 at 17:53 UTC | |
by tye (Sage) on Oct 29, 2009 at 17:56 UTC |