Allowing FTP access to my web site

Posted on 1998-11-18
Last Modified: 2010-04-09
This is so basic, I feel a bit foolish asking.

I want people to be able to FTP files to and from a directory in my web site. Actually, I want them to be able to FTP "upload" to an UPLOAD directory, without seeing what other files are in that directory, and to be unable to download any files in that directory.

At the same time, I want to set up a separate UPLOAD directory so that people can pick up the file I have left for them.  Again, I don't want them to see any of the other
files in that directory.

I suppose when the person arrives on my UPLOAD/DOWNLOAD page they should first see a page which welcomes them and tells them what to do, to enter the name of the file they are uploading/downloading and then push the button and the file transfer takes place.

So how can I do this?   Maybe it's some HTML coding and directory setup.  Or maybe there's some kind of shareware/shell program out there.


Rowby Goren
Question by:Rowby Goren
  • 3
  • 2
  • 2
LVL 16

Expert Comment

ID: 1839864
if you need real FTP access you'll need an FTP server. there some very good FREEWARE programs. usually when some user connects to your FTP server he must login providing userName and password. FTP server checks user identity and then restricts actions

Maybe you can configure many users with name and password - the file that they should be able to Download and configure these users to has access only to this single file. and you can configure an Uploader account - uploader will be able just to upload files - neighter download, nor see any.

i think you can get the idea - your FTP server has with, and when this user log-ins the only possible action he can perform is downloading

The only problem is to find FTP server that can be easily administered ... but i think that there are many Great shareware or even freeware programs on the web - just search

hope this information helps you

Accepted Solution

chrisbolt earned 100 total points
ID: 1839865
heyhey's solution will only work if you are online whenever visitors will be visiting your website since you would have to install the FTP server on your own computer and use your computer's connection to the internet to serve the files. Although you could serve it from a dialup connection, you would have to be connected to the net for the FTP server to be online, and the FTP server would probably be slow. It is better if you have a cable modem but you would have to leave your computer on all of the time. Also, many ISPs have rules against running servers like this. If you do want to run an FTP server though, you can get one for free from

If you don't want to do this, you should ask your system administrator if you are allowed to have an anonymous FTP server. If you pay for your hosting, this is usually possible but if you are using a free web host or your ISP's bundled web hosting package it is probable that you won't be able to do this.

Author Comment

by:Rowby Goren
ID: 1839866
Thanks for your comments.  Would I be able to use any of the shareware-type solutions in a directory in my service provider's server?  I mean, my web site is on a remote server.  Would I be uploading the ftp program to the server itself???

I hope this comment is clear.  If not, please ask me some more questions!

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

LVL 16

Expert Comment

ID: 1839867

yes you need a program (FTP server) to be running on the server machine ... The problem is if your web-space provider does not allow you to run programs on his server (probably this is the case if you are using some free stuff...) But your main problem is that you need to PRECISELY administer who can have access to your files, and what exactly he can upload / download ...
I don't think that you can use some free services (nobody will care for such a precise administering just for free) - maybe you'll need to have your own computer connected to Internet and FTP server working on it, so you'll be able to administer everything yourself...
if i understand you, you don't need 'anonymous FTP server' but a 'full strength' one ...

Maybe there is a more simple solution. you can send your client the HTTP url of the file they may download - and if you don't give them access to directories (and use filenames like thay should be to download able only this file. But if youu need to allow them to UPLOAD, I think that you'll a (maybe a small) server program / script ... You'd better contact your provider (a small Perl script can handle the Upload requests from client)

>> I mean, my web site is on a remote server.
the problem isn't that your server is remote. the problem what are you allowed to use on this server. Ask for CGI scripts at least ...

hope this helps


Author Comment

by:Rowby Goren
ID: 1839868

I think your idea of just ending them the name of the file I want them to retrieve from my directory is the solution to the first part.  

Your comment::

"But if youu need to allow them to UPLOAD, I think that you'll a (maybe a small) server program / script ... You'd better contact your provider (a small Perl script can handle the Upload requests from client)"

And I do have acceess to my CGI bin.  So you're suggesting a CGI perl script would allow someone to SEND a file to a directory on my server?  That sounds ok.  Do you know how to write that perl script????  
LVL 16

Expert Comment

ID: 1839869
>> Do you know how to write that perl script????  
Sorry, no ... but there is such a discussion at the moment (with a solution i think)

look at
"Sending a file over the web"


Expert Comment

ID: 1839870
Or you can get Genesis from which allows you to have a full file management interface including uploading or you can use a script from

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
bootstrap footer centering and columns alignement 3 59
two div layout one vertical other horizontal. 5 28
Html5 string 3 23
Call a function within the ASP code 4 12
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

832 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question