Hahaha. That's quite alright. Windows has the ability to be useful
sometimes.
The point is, I doubt you're the only one who ever wanted that kind of
functionality in an FTP server. If serv-u won't do it, then there are
almost certainly other FTP servers out there that can. No need to
re-invent the wheel using CF when it's already done in the FTP server
itself - which, really, is where that kind of functionality SHOULD be.
What if I just went around your CF application and hit your FTP server
directly? Then you'd be right back where you started.
HTH,
Jordan
Dennis Powers wrote:
> >> If serv-u can't, Pureftpd can do this:
> >> http://www.pureftpd.org/
>
> It looks like a nice FTP server however it is *nix based and we are
> (dare I
> say it) A windows house.
>
> Best Regards,
>
> Dennis Powers
> UXB Internet- A Website Design and Hosting Company
> 690 Wolcott Road - P.O. Box 6028
> Wolcott, CT 06716 tel: (203)879-2844
> http://www.uxbinternet.com
> http://dennis.uxb.net
>
> -----Original Message-----
> From: Jordan Michaels [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 24, 2004 6:43 PM
> To: CF-Talk
> Subject: Re: Simultaneous File download limiting system
>
> If serv-u can't, Pureftpd can do this:
>
> http://www.pureftpd.org/
>
> ::snipped from their home page::
> - A maximum concurrent connection from the same IP address can be
> enforced to avoid bandwidth starvation and denial-of-service attacks.
>
> I've personally used pure-ftpd for many many projects and I love it.
>
> Hope this helps,
> Jordan Michaels
> Vivio Technologies
> http://www.viviotech.net/
>
> Dennis Powers wrote:
>
> > Hi,
> >
> > We are attempting to create a file download system that will limit the
> > user
> > to two simultaneous file transfers. We have a project where we have a
> > file
> > browser web page in the web site that reads from a database and when the
> > user wishes to download a file they click the icon and we direct them
> > to our
> > ftp site with a redirection to a link like so:
> > ftp://ftp.oursite.com/filename.zip . The files are fairly large 6-25megs
> > each so we didn't want to burden the CF engine sending them inline with
> > <cfcontent>. We are using CF 5.x and Serv-U 4.x as the FTP server.
> >
> > We have bandwidth limiting on the FTP server so when a user opens
> multiple
> > download sessions the transfer rates drop. We are trying to write
> > either a
> > server side (CF) or client side (_javascript_) script to detect that
> > they are
> > already downloading two files and when one of the files finishes the
> third
> > file they queued will start.
> >
> > Within CF I can determine when a download starts but can't find a way to
> > determine when it is actually finished. I was wondering of anyone
> > knows of a
> > way to get the file completion status from Serv-U maybe with a plugin or
> > add-on utility, short of parsing the logs?
> >
> > Alternately being a _javascript_ novice I am unsure if a client slide
> > solution
> > can be written where the _javascript_ in the browser detects the two open
> > download windows and prevents them downloading another until one of the
> > windows is finished. It doesn't have to be foolproof to the advanced
> > users
> > like a server side solution would be. It just needs to be functional for
> > most users.
> >
> > Any assistance is greatly appreciated.
> >
> > Best Regards,
> >
> > Dennis Powers
> > UXB Internet- A Website Design and Hosting Company
> > 690 Wolcott Road - P.O. Box 6028
> > Wolcott, CT 06716 tel: (203)879-2844
> > http://www.uxbinternet.com
> > http://dennis.uxb.net
> >
--
Warm regards,
Jordan Michaels
Vivio Technologies
http://www.viviotech.net/
[EMAIL PROTECTED]
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

