ftp & file permissions

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello
I'm having trouble with my current ftp program - or perhaps it's the ISP - who can tell
and am learning how to use the ms-dos version, instead

Can't find any info on how to chmod, or set file permissions for remote DIR's / files -
possible?

Also - once 'put' to remote, I read that the files will be sort of randomly locate
(http://domain.com/username/file) - or did I misinterpret? You can control whic
DIR the files are being sent to, yes

Thanks in advance
El.
 
LJK said:
Hello -
I'm having trouble with my current ftp program - or perhaps it's the
ISP - who can tell - and am learning how to use the ms-dos version,
instead.

What's the problem?
Can't find any info on how to chmod, or set file permissions for
remote DIR's / files - - possible?

Most likely your isp or website host isn't going to let you set file or
folder permissions. Why would you need to?
Also - once 'put' to remote, I read that the files will be sort of
randomly located (http://domain.com/username/file) - or did I
misinterpret? You can control which
DIR the files are being sent to, yes?

Yes you should be able to put files into any folders you created on the
remote server. You should be able to create and delete folders and files
where you want in these folders.
 
Phil -
The problem is that I can access remote file trees from many sites - but not the one that
I'm planning to use for writing and testing my own .cgi / .pl scripts. It is a free webspace
via the ISP - they have a new web-based javascript file manager that'll do in a pinch,
yet no file permission options are listed there!
I've used this same ftp program before to access the same site w/ no problems at all -
and the ISP tech says he can get in no prob. (They recently switched to a new webmail
system that includes some account controls, but don't think that's causing the problem.)

So, I need to set file permissions in order to make the scripts executable, or to limit the same.

Does ms-dos ftp have this capability, or no?

-El.
 
I don't think dos ftp has that capability.(although not 100% sure). Have you
tried another ftp program like WSFTP or Cute FTP?
 
The command you are looking for is 'chmod'. I just looked in the FTP
program that is a standard part of XP, and surprisingly to me it does
not exist (I ran 'help' after logging into my ftp server).

I use the ftp program on a Red Hat Linux machine. It has over a 100
commands available, whereas the old FTP program included in XP seems to
have only a subset, say 50 or so. None that I see look to be equivalent
to ftp.

Your ISP tech guy says he can "get in", but that's different than you
trying to use XP's ftp program.

Ideas for you:

1. Instead of 'ftp' to your web server, use 'telnet'. Then once logged
in use the 'chmod' command provided by the operating system on that
machine (I'm presuming it's Unix or Linux). It doesn't have anything to
do with yoru XP box other than running the terminal emulation program
'telnet'. To do this you'll probably need what's called a shell account.
Consult with you isp.

Note: keep in mind that telnet (and ftp for that matter) is considered
by some to be insecure since it sends the login passwsord across the
network in clear text and not encrypted. Consider using ssh. For XP I
use a program called PuTTY which is free and an excellent ssh program
for logging into remote machines.

2. Get another ftp program for XP. I don't have any experience with
it, but I hear one called "cute ftp" (or something like that) is pretty
good. Check out first if it provdes the chmod program.

3. Find a unix/linux workstation to use their more powerful ftp
programs to connect.

4. Long shot .. ask the ISP to fix their file manager program to manage
permissions.

5. Request the ISP to change the permissions for you.

Hope this is useful to you. Let us know.

rms
 
Whew
The ISP recommended I try ms-dos to see if it was a program or xp error..
I found the necessary commands, but here' the kicker

ftp> quote site chmod 755 filename.ex

(quote is listed as a command under help while connected to the server but no
the rest of it.) So, it worked, but the script - which I've run before on another site - won't

Turns out they stopped using sendmail and I'm not sure if I can substitute thei
Mail Scanner in the script. So, to wrap this up; does mailto: work for Mozilla browsers
(What the recipient is running - not me, of course!) I might just have to write a new one

Thanks again for the input
El.
 
Back
Top