Hi

I am trying to use the NET::FTP module to recursively chmod files.
Either of these two ways of telling the server to chmod it seem to work:

$ftp->command("SITE CHMOD 755 $file");
or
$ftp->quot("SITE CHMOD 755 $file");


...but once that runs once, even successfully, $ftp->pwd() returns an empty string afterwards, and no files are found if I cwd to valid directories.


I know the FTP section is working right, I can watch it run through every file and folder in the cgi-bin recursively, *if* I comment out the CHMOD line.

If I leave that line active, it does CHMOD everything in the base dir, but can't cwd after the first CHMOD.

Does anyone have any ideas of why this may be happening?

TIA


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to