in reply to chmod of an FTP transfer via perl
Tried quot, didn't work... tried SITE as suggested by Elian and it worked.
Peter @ Berghold . Net
Sieze the cow! Bite the day!
Nobody expects the Perl inquisition!
Test the code? We don't need to test no stinkin' code! All code posted here is as is where is unless otherwise stated.
Brewer of Belgian style Ales
Yep. I tested it a few minutes ago and confirmed that $ftp->quot('chmod', "$perms $file"); doesn't work as I thought it would. I'm glad to see that site does work.