http://www.perlmonks.org?node_id=284595


in reply to chmod of an FTP transfer via perl

I found this here
.... after connecting and login ........ $ftp->site("CHMOD 755 NEW.cgi") || die &error("Couldn't chmod NEW.cgi +: $!"); ........ other code .......

BTW, I marked this for deletion, but the other two duplicates were already deleted by the time I submitted the request.
Sorry :)

HTH,
Chris

Replies are listed 'Best First'.
Marked Node (was Re: Re: chmod of an FTP transfer via perl)
by blue_cowdawg (Monsignor) on Aug 18, 2003 at 14:42 UTC

        BTW, I marked this for deletion, but the other two duplicates were already deleted by the time I submitted the request.
    'ts-ok.... I think I just learned about a ahem! feature of this site that I need to be careful of in the future.

    Feeling very sheepish....


    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. You generally can't edit top-level nodes, though you can normally edit reply nodes. One more reason to make sure things look right with that nice little preview button before sumitting. :)