http://www.perlmonks.org?node_id=533993


in reply to File download tool, file size issues, cgi-application

You could also wrap all of your statistic gathering into a small CGI that responds with a page containing instructions and a right-clickable link. This would allow you to have your cake and eat it too. As a bonus, you could allow the user to specify whether they want an http or ftp link in their request.

PS - In general, you'll probably want to use http links. The ftp option would require that your service provider has set up anonymous FTP ... not likely from the level of service you describe.


The intelligent reader will judge for himself. Without examining the facts fully and fairly, there is no way of knowing whether vox populi is really vox dei, or merely vox asinorum. — Cyrus H. Gordon
  • Comment on Re: File download tool, file size issues, cgi-application

Replies are listed 'Best First'.
Re^2: File download tool, file size issues, cgi-application
by cupojoe (Novice) on Mar 02, 2006 at 18:15 UTC
    Yeah we have anonymous ftp, but I just tried an http download with an 18 meg file and it was fine. The "small" cgi you mentioned is roughly what's happening except there's also an admin side so our guys can create accounts, set logins/pw's for downloaders, let's them assign the ftp'd files to the login, shows them brief reports about selected accts; users see their page with instructions, are informed this file and link will expire in 10 days (space savings). Auto email to our admin that it happened, configurable email to downloader thanking them and reminding them of the 10 day thing. etc.