in reply to Net::FTP::Recursive Permission and Ownership...
Programmatically, I think you're going to hit a world of trouble trying to accomplish what you're trying to do... A hacky workaround would be to use Net::Telnet to go in after the files are at the remote site and issue the changes you desire... but that doesn't surmount the fact that most secure servers don't let users without superuser privledges chown files.The FTP protocol does not have a command for changing the permissions of a file on the remote server. But some ftp servers may allow a chmod command to be issued via a SITE command, eg $ftp->quot('site chmod 0777',$filename); But this is not guaranteed to work.
What is preventing you from logging into the remote host as the user you ultimatly want to own the files?
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Net::FTP::Recursive Permission and Ownership...
by svnipp (Initiate) on Apr 07, 2004 at 16:59 UTC | |
by insensate (Hermit) on Apr 08, 2004 at 14:07 UTC |