Is there a way that I can ftp to a server put a file and give execution
rights (chmod 777) using ftp?
Thanks,
Harshana
Sent via Deja.com http://www.deja.com/
Before you buy.
> Is there a way that I can ftp to a server put a file and give execution
> rights (chmod 777) using ftp?
Sadly, there probably is. It depends what permissions your ftp login has on
the system you are ftp'd to. If you have appropriate permissions you should
be able to run a remote command which could be 'chmod 777 file'. :-(
Cheers,
Ken
I have the root access, but as far as I know chmod is not a valid local
or remote command. There has to be another way to this, I heard that
cute FTP (for windows) is capable of doing this. Has anyone tried it?
Harshana
In article <duFO5.20270$SF5.4...@ozemail.com.au>,
> Ken,
>
> I have the root access, but as far as I know chmod is not a valid local
> or remote command. There has to be another way to this, I heard that
> cute FTP (for windows) is capable of doing this. Has anyone tried it?
>
> Harshana
>
> In article <duFO5.20270$SF5.4...@ozemail.com.au>,
> "Ken Wallis" <ke...@empower.aust.com> wrote:
> Sent via Deja.com http://www.deja.com/
> Before you buy.
It works very fine!!! You can set the permissions very easy.
Greets
Toby
The FTP protocol has an escape mechanism for nonstandard commands, the
"SITE" command. From the standard Unix ftp> prompt, do:
ftp> quote site chmod 777 filename
To enable this for anonymous FTP, the server administrator has to put a
copy of chmod into ~ftp/bin.
--
Barry Margolin, bar...@genuity.net
Genuity, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.