Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
use Net::FTP qw(); sub main { $ftp=Net::FTP->new("ebizftp.honda.com",Timeout=>240) or $newerr=1; die "Can't ftp to ftp://ftpsite.blah.com : $! " if $newerr; $ftp->login('username', 'password') or die "Cannot login. ", $ftp->mes +sage; $ftp->cwd("\/genex\/AcuraWeb\/Transfer") or $newerr=1; die "Can't cd: $ftp->message \n" if $newerr; # it makes it to here o.k., and then dies on this following "put" comm +and, with the "Access is denied" command $ftp->put("filename.txt") or die "Couldn't put the file ", $ftp->messa +ge; $ftp->quit;
20070821 Janitored by Corion: Added code tags, as per Writeup Formatting Tips
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: "Access denied" error received even _after_ logging in.
by Popcorn Dave (Abbot) on Aug 18, 2007 at 01:13 UTC | |
|
Re: "Access denied" error received even _after_ logging in.
by jZed (Prior) on Aug 17, 2007 at 22:59 UTC | |
by Anonymous Monk on Aug 17, 2007 at 23:33 UTC | |
|
Re: "Access denied" error received even _after_ logging in.
by Aim9b (Monk) on Aug 18, 2007 at 01:04 UTC | |
|
Re: "Access denied" error received even _after_ logging in.
by roboticus (Chancellor) on Aug 18, 2007 at 11:12 UTC | |
|
Re: "Access denied" error received even _after_ logging in.
by dwm042 (Priest) on Aug 18, 2007 at 13:15 UTC | |
|
Re: "Access denied" error received even _after_ logging in.
by bruceb3 (Pilgrim) on Aug 18, 2007 at 22:08 UTC | |
by Anonymous Monk on Jan 29, 2014 at 16:31 UTC |