in reply to chmod of an FTP transfer via perl
You may find you can't, as the site interface is often either restricted or completely locked down, but if you're lucky it'll be there. Unfortunately because the site interface is being used you can't count on any sort of consistency across servers, but if you're using wu-ftpd or something compatible, the command looks like:
If you're not lucky, well, check your server docs and hope for the best.$ftp->site("CHMOD $mode $file");
|
|---|