Sorry, try this:
<a href="ftp://ftpserver.doma
Main Topics
Browse All TopicsHello,
I have made an asp.net website for a company. This company has bought a ftp server, which can be called with ftp://1234.12 ... and is password protectet.
Now they don't want to put the data which should be accessable /downloadable from their website, (for example .pdf oder .zip files, etc.) on their webserver but on their company's ftp server. For example the user clicks on xxx.pdf- the xxx.pdf should be replaced on their ftp server and be retrived from there on the website!
I have no idea if this is possible at all? And if yes, how the link could look like? for example <a herf="ftp://111.11.11/xxx.
Thanks for a convincing answer.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Sorry, try this:
<a href="ftp://ftpserver.doma
The example above would put you into the directory so you could browse for the files although it should really be :
<a href="ftp://111.11.11.11/p
or the example you gave yourself
<a herf="ftp://111.11.11.11/x
would allow you to download an individual file. (I added a missing quote and the name and the end </a>
One place this falls down is if the ftp site is password protected.
the two examples will both try to login with
user = anonymous and password of email address (probably default to some string by the browser like user@firefox.com)
You can specify the username and password in the link like this :
<a herf="ftp://username:secre
But that is not exactly secure is it as you are putting the password in plain text in the web page.
A better way would be to have the files in the http area and then these can be controlled by access lists and passwords etc.
Hello and thanks,
I still don't have the possibility to test, but I think
<a herf="ftp://username:secre
could be a possilbe solution, by the time now I have to make some suggetions. Though some questions due to the last sentence:
>A better way would be to have the files in the http area
Do all ftp-servers have a http:// area?
>these can be controlled by access lists and passwords etc.
This is fully ununderstandable for me, may you please explain a little bit more about it?
Thanks a lot
If your server is for internal users only and you are happy to have the username and password embedded in the html then the solution posted by edster9999: is fine.
If on the other hand you want people to enter the username and password into a prompt box then just use the ftp link and miss out the user details.
Only web servers have an http area, Edster was suggesting you lock specfic directories down on the web server and using access lists and .htaccess, set it up so that users have to enter a username and password to gain access. Which would be my preferred way of doing it.
Have a read of:
http://en.wikipedia.org/wi
mmmh.
Had me worried there, so I double checked..
My IE (version 7) does show a prompt box, but Firefox (version 3) doesn't. So, not really good enough for use in the real world as it looks shoddy.
So, really it all depends on whether the OP is happy to have login info in the link. I wouldn't unless it was on a LAN, and would use .htaccess (as you sufggest) instead esp as it is so easily configured in Apache.
Maybe the OP also needs to question the reason why the company doesn't want the files on the web server?
Business Accounts
Answer for Membership
by: Mr-MadcowzPosted on 2008-10-24 at 03:20:24ID: 22794796
Use the following format:
b/">UWM FTP pub</A>
<HREF="ftp://ftp.uwm.edu/pu