Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
How do i provide a link to download a zip file?
Old 01-07-2009, 10:19 AM How do i provide a link to download a zip file?
Super Talker

Posts: 135
Trades: 0
Hello,

I have a website and i have a large zip file i want to provide to download to users. The file was uploaded via ftp to my server and i used an a href tag to provide a link to the file.

The probelm im having is when the link is clicked and the user is asked to save the file, it instantly saves as a 0kb size zip file which does not contain what it should. I have tried changing small parts of the syntax in the html for the link to no avail.

Whats the best way to provide a downloadable file to my users without forcing them to use an external program?

fyi the file is 3.8GB in size, is .zip, and is in the root directory of my server. My website is based on PhPBB3 but the file that provides the link is HTML.

Thanks
__________________

Please login or register to view this content. Registration is FREE

Computers – Electronics – Technology | Bringing Together your Digital Home
CompTronicsTec is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 01-07-2009, 10:30 AM Re: How do i provide a link to download a zip file?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,380
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
have you tried downloading using the FTP protocol rather than HTTP?

href="ftp://pathtofile.zip"
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 01-07-2009, 02:23 PM Re: How do i provide a link to download a zip file?
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
It creates the 0kb file until it actually starts to download the file. 3.8GB in ONE file is HUGE and will take quite a bit of time for most people to download.

I have to agree with Chris, FTP is a better way to go.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 01-07-2009, 02:42 PM Re: How do i provide a link to download a zip file?
Junior Talker

Posts: 4
Trades: 0
Wow, a file that size is a bit much to handle on port 80. If this is on a shared hosting server, you are likely to have problems getting it downloaded. The recipient may not be savy enough for FTP using something like filezilla, but their is always FTP from a browser.

If you can create an FTP account (aside from your main user) for this user and allocate a folder to it (common on linux cpanel setups), then you may be able to FTP to the server from a browser using the following syntax

ftp://user@yourdomain.com

The syntax may vary with your setup, however if you can provide them the right syntax, you can send them a link and give them login info, and (with IE atleast) they will be able to connect to the server and see a folder setup that looks like their own desktop. This is something to consider.

Going back to filezilla however, I have a kbase article that details where to download, and how to connect to the server with filezilla if you want to send that to them.

http://my.cwihosting.com/knowledgeba...d=446&nav=0,34
CWI Tech Guy is offline
Reply With Quote
View Public Profile
 
Old 01-07-2009, 03:28 PM Re: How do i provide a link to download a zip file?
Defies a Status

Posts: 1,606
Trades: 0
Second option is to split that file into many segments and create a download page linking to the smaller files. Still a lot to handle via http.

If this is going to be downloaded a lot you might want to check some of the file hosting sites. I have a hunch you are about to create some problems with your host.
__________________
Colbyt

Please login or register to view this content. Registration is FREE
colbyt is offline
Reply With Quote
View Public Profile
 
Old 01-07-2009, 03:50 PM Re: How do i provide a link to download a zip file?
AD7863's Avatar
Major Geek

Posts: 435
Name: Artful Dodger
Location: England, UK
Trades: 0
You could always use WinRAR to make the files into like 100MB each? But that would make 38 of them to download lol.
__________________

Please login or register to view this content. Registration is FREE
AD7863 is offline
Reply With Quote
View Public Profile Visit AD7863's homepage!
 
Old 01-07-2009, 04:48 PM Re: How do i provide a link to download a zip file?
Super Talker

Posts: 135
Trades: 0
Quote:
Originally Posted by chrishirst View Post
have you tried downloading using the FTP protocol rather than HTTP?

href="ftp://pathtofile.zip"
I have not tried this, ill give it a go and see.

This is the thing...i only intend on letting a couple of people dl the file. For the ease of things i was hopeing to leave the file intact as it is an image of a DVD. This way they can just dl it and then mount and copy it.

I had looked at a online storage site (free) but they limit individual files to 2GB. What would be the alternatives to hosting this file from my site?

I am using shared hosting with 1and1, i also realize it would be possible to setup an alternative ftp account and give these few access to it, but then they would need an ftp program...im trying to make this as easy on them as possible.

Thanks
__________________

Please login or register to view this content. Registration is FREE

Computers – Electronics – Technology | Bringing Together your Digital Home
CompTronicsTec is offline
Reply With Quote
View Public Profile
 
Old 01-07-2009, 04:59 PM Re: How do i provide a link to download a zip file?
Super Talker

Posts: 135
Trades: 0
i changed the syntax to use the ftp in it...i think the result is the same.

I think this may be a browser issue...

It seems both firefox and opera's download managers have no problem starting and maintaining an active download (regardless of the syntax i use in a href)...only IE7 seems to prompt for a save, then close without starting and maintaining an active download...as soon as you pick where to save it dings and "finishes" without actually downloading.

my understanding was that IE had an impossed dl limit of 4.2GB, tho i could be wrong.

So aside from asking these few guys to dl FF or Opera, what other options do i have for providing them easy access to this download?
__________________

Please login or register to view this content. Registration is FREE

Computers – Electronics – Technology | Bringing Together your Digital Home
CompTronicsTec is offline
Reply With Quote
View Public Profile
 
Old 01-07-2009, 06:29 PM Re: How do i provide a link to download a zip file?
Decaf's Avatar
Ultra Talker

Posts: 489
Name: Adam
Trades: 0
Host it on a 3rd party site that allows massive files.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Decaf is offline
Reply With Quote
View Public Profile Visit Decaf's homepage!
 
Old 01-07-2009, 11:11 PM Re: How do i provide a link to download a zip file?
Super Talker

Posts: 135
Trades: 0
Quote:
Originally Posted by Decaf View Post
Host it on a 3rd party site that allows massive files.
Any suggestions, i have an Adrive account now but they impose a 2GB limit.
__________________

Please login or register to view this content. Registration is FREE

Computers – Electronics – Technology | Bringing Together your Digital Home
CompTronicsTec is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to How do i provide a link to download a zip file?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.26071 seconds with 12 queries