in reply to Perl CHMOD command
For the chmod piece of the question...
Here is a snippet to use after the FTP upload is complete using Net::FTP:
$ftp->site("chmod 600 $uploadedFile");
Update: made note that this question only referenced the chmod part of the question.
|
|---|