[SLUG] Changing file permissions on a remote ftp server.

From: Brett Simpson (Simpsonb@hillsboroughcounty.org)
Date: Wed Jan 09 2002 - 10:20:50 EST


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



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 18:29:26 EDT