Hi friends,
I am having a web space www.abei.net. I want to change the file permission to (read write execute) for file /tmp/abc.txt in my web space.
I am using ncftp command to upload the file and it is set on crontab. So automatically the file get transfered in the web. I have used the following command line to upload it in to web.
ncftpput -u username -p passwd ftp.abei.net /tmp /home/vinod/abc.txt
now I want to change the permission of the uploaded file automatically from my local machine.
How to do that? Please guide me.
Regards,
Vinod.
On Sat, Mar 15, 2003 at 09:55:06AM +0530, Vinod Bhaskar wrote:
Hi friends,
I am having a web space www.abei.net. I want to change the file permission to (read write execute) for file /tmp/abc.txt in my web space.
I have't read the rfc's, but iirc, ftp supports the chmod command. I use it all the time in my ncftp scripts. Try it :)