blue_cowdawg has asked for the wisdom of the Perl Monks concerning the following question:
Hi folks,
I am about to write a utility script to automate the uploading of files to a remote server in Perl. An old trick of mine that I'd love to use is to change the permission bits on the transferred file once it has finished transfer so that a daemon that watches the upload directory knows that the transfer is complete.
I looked at the man page for Net::FTP and do not see a method for chmod. Has anybody out there accomplished a chmod from Perl across an FTP connection?
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: chmod of an FTP transfer via perl
by Elian (Parson) on Aug 18, 2003 at 14:25 UTC | |
|
Re: chmod of an FTP transfer via perl
by cbro (Pilgrim) on Aug 18, 2003 at 14:29 UTC | |
by blue_cowdawg (Monsignor) on Aug 18, 2003 at 14:42 UTC | |
by Elian (Parson) on Aug 18, 2003 at 14:50 UTC | |
|
Re: chmod of an FTP transfer via perl
by Mr. Muskrat (Canon) on Aug 18, 2003 at 14:28 UTC | |
by blue_cowdawg (Monsignor) on Aug 18, 2003 at 14:30 UTC | |
by Mr. Muskrat (Canon) on Aug 18, 2003 at 14:56 UTC |