Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: NET::ftp mkdir succeeds but then dies with 501?

by rjc_thatsthat (Initiate)
on Mar 01, 2010 at 15:10 UTC ( [id://825941]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ftp->cwd($i2) or die "change directory $i2: ".$ftp->message." / ".$ft
    +p->code;
    my @nfiles = $ftp->dir;
    ...
    } else {
    $ftp->mkdir($i3) or die "make directory ".$ftp->code;
    }
    
  2. or download this
    push @errs,"cannot change directory from $ftp->pwd to i2: $ftp->messag
    +e" unless $ftp->cwd($i2);
    my @nfiles = $ftp->dir;
    ...
    
    $ftp->quit;
    if(@errs){ print join "<br />",@errs; }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://825941]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (2)
As of 2024-04-26 02:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found