Click to See Complete Forum and Search --> : FTP through a browser


bruce1271
06-15-2001, 02:44 PM
what is the correct syntax to add a user login to a (my)website through a browser?

Ben Tran
06-15-2001, 02:57 PM
ftp://username@hostname

Ben Tran
06-15-2001, 02:57 PM
ftp://username@hostname

YaRness
06-15-2001, 03:16 PM
i assume you mean to log in to an ftp site through a browser?

ftp://username:password@ftp.foo.org/

bruce1271
06-15-2001, 03:31 PM
Actually, I am tring to ftp into my linux Box from remotely using a web browser. Is this possible?? none of the above worked.

YaRness
06-15-2001, 03:41 PM
is the box set up correctly, connected correctly, is the firewall set up correctly, are you using the right user and password... etc etc. that IS the way to browse an ftp site through a web browser.

bruce1271
06-15-2001, 03:49 PM
Well, I did it form a local lan machine this morning(ftp'ed in) through DOS. But IU never tried the browser thing form home. I try it now and it says "connection refused by server ffo.org the connection may not be accepting connections or may be busy.

My firewall might be blocking me maybe. I thought it would just drop the packets though becaus eI have drop set-up. Hmm.

YaRness
06-15-2001, 04:55 PM
definitely sounds like a firewall/network type issue. especially if the lan you refer to is at work.

Craig McPherson
06-15-2001, 05:36 PM
To access your FTP server with a web browser, it has to support passive mode rather than active mode. Most FTP servers are by default configured to handle both connection types, but YMMV.

If you can FTP with an FTP client, but not with a browser, than you can be pretty sure your FTP server isn't handling passive FTP.

bruce1271
06-15-2001, 05:38 PM
Thanks,

The Lan I tried was local at home. I will try the browser when I get home.

thanks for the help!!

bruce1271
06-15-2001, 05:51 PM
Are there FTP Clients on UNIX I can try while I am here at work?

bruce1271
06-15-2001, 05:59 PM
DAAH Other than ftp. I try with ftp and it says "connection refused" and I dont know if it is my work or my linux box/firewall??
What is the port # for ftp??

bruce1271
06-15-2001, 06:16 PM
Ok, So I answered my own question. I managed to connect to ftp.rpmfind.net so it is my fiorewall(atleast the thing works) Now I have to open it up to allow ftp.. Is there a way to unblock the ftp port? I would rather do that on case by case rather than hack up my firewall.

Falcon
06-16-2001, 03:08 PM
Are you using RedHat? If you are just su to root and type

/usr/sbin/setup

That will bring up the RedHat config utility. The second thing is firewall, select it and go to custom. Select FTP as open and hit ok. That should unblock it.

Just a suggestion, if your users don't mind downloading a client you should use SFTP as it is more secure. If you are using RedHat SSH comes installed and configured to use SFTP and SCP. You should just use the SSH NHF here to set up the user files and use SCPwin to connect.

Hope this Helps,
Falcon

[ 16 June 2001: Message edited by: Falcon ]