in reply to FTP CWD not working
Have you tried logging into the server on the command line and changing to that directory? Is it maybe a permissions problem?
Also worth nothing that in your current code, $ftp->message will never be printed. You should change that semicolon to a comma.
$ftp->cwd($dir) or die "Can't cwd to $dir\n", $ftp->message;
|
|---|