Setting Up FTP Using a Web Browser - Mike

  • Thread starter Mike Phan
  • Start date
  • Tags
    Web
In summary, you can use FTP to upload and download files to and from your web server using web browser, but you should also install a package set containing an apache web server, ftp server, and php server to be more convenient for all.
  • #1
Mike Phan
67
0
Hi,

I own a website; now I want to setup FTP for my friends to upload/download files to/from my server.

The best way is to run FTP using web browser (i.e. internet explorer, firefox...). Anyone can tell me steps to do?

I will appreciate that!


Mike
 
Computer science news on Phys.org
  • #2
If you have a website on your own server, I presume you have software running to allow people to watch web pages on your server.
Which software are you using?
Are you using for instance Microsoft's IIS or Apache?
 
  • #3
This may depend if your web hosting service supports uploads via normal web browsers.

You could try using a FTP client like Filezilla (freeware).
 
  • #4
I am using Apache.
 
  • #5
For FTP server/client, I am using Filezilla. It works fine locally (LAN net work), but just sometimes for WAN.

To be convinient for all, I try to let people use web browser instead of filezilla client which is required to install to the client's machine.

I google about using web browser for FTP, some recommends to use Mindterm or Putty as tunnelings, but some never mention it. Need or doesn't need the Mindterm or putty?
 
  • #6
Mike Phan said:
For FTP server/client, I am using Filezilla. It works fine locally (LAN net work), but just sometimes for WAN.

To be convinient for all, I try to let people use web browser instead of filezilla client which is required to install to the client's machine.

I google about using web browser for FTP, some recommends to use Mindterm or Putty as tunnelings, but some never mention it. Need or doesn't need the Mindterm or putty?

I see you already have software up and running for FTP which apparently already works locally.
I suspect your problem will be that you have a firewall in place (in your server, in your modem, or probably even both).
The problem with FTP is that it is not really designed to work through firewalls.

Actually I would recommend to install a package set of software containing an apache web server, ftp server, php server, and more.
The relevant software package is called XAMPP.
You can find it here:
http://sourceforge.net/projects/xampp/
 
  • #7
When I test on WAN, it sometimes works that make me carzy. I checked my router forwarding, firewall settings of the web sever, and on client machine's firewall. I don't know what else I need to do.

As you said "The problem with FTP is that it is not really designed to work through firewalls", so the reason why someone recommended to use Mindterm/Putty to "break the firewall"? Do you think we need to use one of these? I tried Mindterm, but got stuck.

I just download the XAMPP package. Do you think it would change my sevrer's configuration if I install it? My server recently has web/ftp/php server.

Appreciate your help!
 
  • #8
Mike Phan said:
When I test on WAN, it sometimes works that make me carzy. I checked my router forwarding, firewall settings of the web sever, and on client machine's firewall. I don't know what else I need to do.

As you said "The problem with FTP is that it is not really designed to work through firewalls", so the reason why someone recommended to use Mindterm/Putty to "break the firewall"? Do you think we need to use one of these? I tried Mindterm, but got stuck.

Yes, that will be the reason.
But you won't need them with XAMPP, although I'm not sure you'll be able to get FTP to work through your firewall. But XAMPP gives you the options to use HTTP or HTTPS for uploading and downloading.

Mike Phan said:
I just download the XAMPP package. Do you think it would change my sevrer's configuration if I install it? My server recently has web/ftp/php server.

Appreciate your help!

I recommend installing it in a different directory, and see that it works.
Then copy your old stuff to the new directory.
And finally throw out your old web server.

Your welcome! :smile:

Cheers!
 
  • #9
I will try as your recommendation. It won't be easy since I am an electrical guy, not IT. Anyway, I won't give up.

Again, Thanks I like Serena!
 
  • #10
Netscape used to have a "file upload" option for ftp, but it disappeared from the menu long ago so I'm not sure if you can still execute ftp send through a browser.

You can however (apparently) still login via ftp using this syntax for the URL --
ftp://[login-name]:[/URL][password]@[host.xxx]/[directory]
I found that on my web-host, the directory is relative to my home, rather than root. So it would be something like "/public_html/whatever"...
 
Last edited by a moderator:
  • #11
I am using IE 7. I will try Netscape and Firefox.
The syntax you provided looks strange to me. How to include a directory there?
We have to type a password on URL address box?

Please advise!
Thanks!
 
  • #12
With Firefox I got a password popup when I left it off the URL. So e.g.:

ftp://myname@myhost.net/public_html/TMP/[/URL]

Goes to my website's /TMP directory after asking for the pwd. But I'm still not sure that you can upload files via the browser. You _can_ download, but you can (usually) do that with http: to directories under the web server's root anyway.
 
Last edited by a moderator:
  • #13
I tried the AMPP package yesterday. Local test worked fine. Of course, it won't work for URL.
Even thought it recommends not to use for production (not secure), I tried to see if we can use FTP over internet browser.
First, I test my webpage, it doesn't work. There is an easy step to change (re-configurate) the reference files , such as .conf file...?
 
  • #14
Mike Phan said:
I tried the AMPP package yesterday. Local test worked fine. Of course, it won't work for URL.
Even thought it recommends not to use for production (not secure), I tried to see if we can use FTP over internet browser.
First, I test my webpage, it doesn't work. There is an easy step to change (re-configurate) the reference files , such as .conf file...?

There's a httpd.conf file that contains everything you may want to configure.
That is to tweak if the web interface can't do it for you.
This is a regular text file.
It contains comments that explain what things do.
If you change it, you need to "stop" apache and "start" it again.
NOTE: Before you change it, please make a backup of the original!

If you use the same port as your old apache server, an URL should work (assuming you "stopped" your old apache server).

If you have problems there's an error.log file and an access.log file that will tell you what's happening and what went wrong.

As with everything, Google is your friend! :)
 
  • #15
The httpd.conf from the xampp is different from the Apache alone. So we have to look through all pages. And the VirtureHost configuration is also different to me.

I used to add ".txt" to the httpd.conf to convert it to text for editing. The apache can help this, but the xampp doesn't. That is only way to edit?

You are right, I forgot to restart the appache for the changes. I will try again

Yes, I used to backup the original before I change

I used a new hard drive to setup the xampp, so the old apache is on the other hard drive which was took out from my server. I tested URL, and it showed below:

"Object not found!
The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.

If you think this is a server error, please contact the webmaster. "

I think something is wrong with the httpd.conf, but have no clue yet.

Any time I question you guys, I tried on Google. My experience is that the Google is not nice as you all :). It sometimes fools me arround!

Thanks!
 
  • #16
Mike Phan said:
The httpd.conf from the xampp is different from the Apache alone. So we have to look through all pages. And the VirtureHost configuration is also different to me.

I don't know about a VirtureHost thing and I suspect it is best left alone.

How did you get the old apache configured?

Note that it is usually best to leave everything to the default.
Only change something if you know you need it (and change stuff back if it didn't help you).

Mike Phan said:
I used to add ".txt" to the httpd.conf to convert it to text for editing. The apache can help this, but the xampp doesn't. That is only way to edit?

There is no need to add ".txt". The file can simply be opened in for instance Notepad or Wordpad. And yes, that is the way to edit it.

Mike Phan said:
I used a new hard drive to setup the xampp, so the old apache is on the other hard drive which was took out from my server. I tested URL, and it showed below:

"Object not found!
The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.

If you think this is a server error, please contact the webmaster. "

I think something is wrong with the httpd.conf, but have no clue yet.

Thanks!

An URL will only work if the corresponding file is in the location where apache will look for it.
In your old apache directory you should have a directory somewhere (I think it's called "htdocs" or something) in which your web pages are, or perhaps it is configured to be in another place (check httpd.conf).

In the XAMPP directory this same directory will be there and will probably contain only a couple of files, specifically one that contains the html text "It works!".

I recommend you copy the files from your old location to the new location.
Then an URL should work.
If it doesn't look in "access.log" where apache tried to find it, and look in "errors.log" why it didn't work.

Things you typically need to check in httpd.conf is the port apache is listening to and perhaps the ip address of the server.
And you need to check the directory where apache expects the web pages to be, although I recommend that you do not change it (just to cut back on unneeded problems).


And your welcome! :smile:
 

1. How do I access the FTP server using a web browser?

To access the FTP server, you will need to enter the server's URL or IP address into the address bar of your web browser. For example, if the server's URL is ftp.example.com, you would type "ftp://ftp.example.com" into the address bar and press enter. This will take you to the FTP server's login page.

2. What information do I need to log in to the FTP server?

To log in to the FTP server, you will need a username and password provided by the server administrator. These credentials will usually be sent to you via email or given to you in person. If you do not have this information, you will need to contact the server administrator to obtain it.

3. How do I upload files to the FTP server?

To upload files to the FTP server, you can either use the web browser's built-in FTP functionality or use a third-party FTP client software. Once you have logged in to the server, you can navigate to the desired folder and use the "Upload" or "Upload File" option to select and transfer files from your local computer to the server.

4. Can I download files from the FTP server using a web browser?

Yes, you can download files from the FTP server using a web browser. Once you have logged in to the server, you can navigate to the desired folder and use the "Download" or "Download File" option to select and transfer files from the server to your local computer.

5. How do I create a new folder on the FTP server?

To create a new folder on the FTP server, you can use the "Create Directory" or "New Folder" option in the web browser's FTP functionality. Alternatively, you can also use a third-party FTP client software to create a new folder on the server. Make sure to name the folder appropriately and choose the correct location for it to be created.

Similar threads

  • Programming and Computer Science
Replies
19
Views
2K
  • Computing and Technology
Replies
3
Views
1K
  • Computing and Technology
Replies
9
Views
2K
  • Programming and Computer Science
Replies
15
Views
1K
  • Computing and Technology
Replies
32
Views
3K
  • Programming and Computer Science
Replies
14
Views
2K
  • Computing and Technology
Replies
8
Views
2K
  • Computing and Technology
Replies
4
Views
3K
Replies
1
Views
759
  • Computing and Technology
Replies
1
Views
2K
Back
Top