And if the globbing is a real hassle for you, just use a similar
SITE command to set the UMASK instead prior to uploading the shit. :-)
-- Kyle
On Wed, 09 Jan 2002 10:20:50 -0500
"Brett Simpson" <Simpsonb@hillsboroughcounty.org> wrote:
> Hi,
>
> Does anyone know of a way to change the permissions of a file on a
> remote ftp server? I currently have a bash shell script that uploads a
> file to an ftp server but the admin of that server has asked me to set
> to permissions to 666 for the file. I've tried Ncftpput but it doesn't
> have any options for automating setting permissions. I tried automating
> just chmod through the kermit shell (just for setting permissions) but
> it won't allow the use of wildcards with chmod. Can perl be invoked in
> one line to connect to an ftp server and chmod a file? Thanks.
>
> Brett
>
-- Kyle Amon (TM) voice: 813-979-1633 email: amonk@gnutec.com Kyle Amon, Inc. fax: 813-977-5843 web: http://gnutec.com/~amonk icq: 46479255 KeyID 1024D/4EB96E44 Key fingerprint = E9EC 0046 8487 23D7 C91C D757 7B2A 8AE9 4EB9 6E44"I decry the current tendency to seek patents on algorithms. There are better ways to earn a living than to prevent other people from making use of one's contributions to computer science."
-- Donald E. Knuth, TAoCP vol 3
This email Copyright 2001 by Kyle Amon, Inc., a Florida corporation, 6002 Palm Shadow Way, Suite 1218, Tampa, FL 33647: (813) 979-1311 amonk@gnutec.com http://www.gnutec.com/~amonk. All rights Reserved.
This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 18:30:20 EDT