I have a perl script which uses LWP:UserAgent to mirror the contents of a URL to a file
What I would like to do is ensure that the file (whenever updated) maintains 755 permissions.my $ua = LWP::UserAgent->new; $ua->timeout(10); $ua->env_proxy; $ua->mirror($url.$url_suffix,"../../../public_html/preview.kml");
This is so that the file can be used in a Google Map
Any support would be champs!
Niall
In reply to Changing file permissions in perl by carterniall
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |