Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

chmod 777 with FTP how???

899 views
Skip to first unread message

Harshana

unread,
Nov 8, 2000, 11:45:17 PM11/8/00
to
Hi all,

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.

Ken Wallis

unread,
Nov 9, 2000, 5:25:53 PM11/9/00
to
"Harshana" <hars...@mailandnews.com> wrote

> 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

Harshana

unread,
Nov 10, 2000, 3:00:00 AM11/10/00
to
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>,

Imfeld Tobias CIT-SEO-TSU-C-LU

unread,
Nov 10, 2000, 3:00:00 AM11/10/00
to
Harshana wrote:

> 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


Barry Margolin

unread,
Nov 10, 2000, 3:00:00 AM11/10/00
to
In article <8uglve$ne3$1...@nnrp1.deja.com>,

Harshana <hars...@mailandnews.com> wrote:
>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?

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.

0 new messages