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;In reply to Re: FTP CWD not working
by wink
in thread FTP CWD not working
by arm
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |