I'm a beginner... I want to make a simple page with no more than a Link to a file on a FTP Server (not the same one there the page is hosted) but in order for me to get the file I need to login (username and password)

How can I work that out??

I mean, I tried the <a href> thing... but it doesn't work...
e.g.
<a href="">Link to file</a>

I also tried

<a href="/file.ext">Link to file</a>

With no luck..

One could think, why not do it in the same server where the page is... the thing is that I'm using Geocities and it won't let me upload files larger than 5MB ... THe file I need is about 15MB. I hope there is a way to do this without having to pay hehe

Dani AI

Generated

Good instincts, — trying to force an FTP login from a static page is the wrong path. Browsers and clients treat FTP differently, embedding credentials in a public URL is insecure, and many modern setups either block or mishandle ftp:// links. As suggested, using an HTTP(S) file host is the simplest route, and as noted your email provider can sometimes help for single transfers.

Practical options that work with a static Geocities page:

  • Use a cloud-drive or file-sharing service that serves files over HTTPS: upload the file, set the sharing so "anyone with the link" can download, then place that HTTPS link on your page. This avoids FTP client prompts and credential leaks.
  • If you only have Geocities and must keep everything there, split the 15MB file into smaller parts (under 5MB) with a tool that creates multi-volume archives, upload each part, and instruct users how to download and recombine. A common tool for that is 7-Zip (see below).
  • If you control any other server that supports server-side code, a small proxy script can fetch the file from FTP using credentials and stream it to the browser over HTTPS — but do not publish FTP credentials in your page and be aware of bandwidth and performance.

Notes and cautions:

  • Do not put usernames/passwords in public links. That is insecure and often unsupported.
  • Check attachment size limits if using email (many providers cap around 25MB and will route larger files through cloud storage).
  • For technical background on FTP URLs and considerations, see the FTP specification and protocol overview below.

References:

Recommended Answers

All 4 Replies

Hi e_pech,

This is what I would sugguest. Pull the file from its current host.

Upload it to one of the MANY file hosting providers on the web. E.g.

Mediafire
Rapidshare
sendspace
megaupload

ect..

It's free and should solve your problem.

Regards.


If this reply solved your problem, please mark the thread as solved.

commented: Very good! Thank you! +1

I'm a beginner... I want to make a simple page with no more than a Link to a file on a FTP Server (not the same one there the page is hosted) but in order for me to get the file I need to login (username and password)

How can I work that out??

I mean, I tried the <a href> thing... but it doesn't work...
e.g.
<a href="">Link to file</a>

I also tried

<a href="/file.ext">Link to file</a>

With no luck..

One could think, why not do it in the same server where the page is... the thing is that I'm using Geocities and it won't let me upload files larger than 5MB ... THe file I need is about 15MB. I hope there is a way to do this without having to pay hehe

Look into your emailserver. I found on the website of my e-mail all the information needed you are looking for

Hi e_pech,

This is what I would sugguest. Pull the file from its current host.

Upload it to one of the MANY file hosting providers on the web. E.g.

Mediafire
Rapidshare
sendspace
megaupload

ect..

It's free and should solve your problem.

Regards.


If this reply solved your problem, please mark the thread as solved.

Thank you! I had a cousin of mine recommend the same thing yesterday! That's what I'll do!!
Once, again, thank you!

Not a problem at all. Always a pleasure to help. All the best

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.