How do you check the file extension with JavaScript?  I thought one of the
security features built into JS would not allow you to access local file
systems.

Snipe - <CF_BotMaster Network="EFNet" Channel="ColdFusion">

On Mon, 27 Aug 2001, Timothy Heald wrote:

> Hey,
>       Using JavaScript, CFFILE, CFDIRECTORY and some plain old html you can write
> your own web based FTP client.  Use Javascript to verify the file type
> against your personal list of ok file extensions.
> 
> Tim Heald
> ACP/CCFD :)
> Application Development
> http://www.schoollink.net/
> 
> -----Original Message-----
> From: Duane Boudreau [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 27, 2001 1:58 PM
> To: CF-Talk
> Subject: RE: CF "FTP" Application
> 
> 
> My bad, I should have said cfcontent. Sometimes the fingers work faster the
> brain.
> 
> Most clients are not likely to want to separate html from php/asp/cf files,
> especially with the sites being dynamic.
> 
> Basically I'm looking a webbased pseudo FTP client written in CF, similar to
> what geo cities used to do.
> 
> Duane
> 
> 
> 
> 
> -----Original Message-----
> From: Howie Hamlin [mailto:[EMAIL PROTECTED]]
> Sent: Monday, August 27, 2001 1:47 PM
> To: CF-Talk
> Subject: Re: CF "FTP" Application
> 
> 
> You can't build such an application with cfftp.  Cfftp is a client and not a
> server.  What you can do is only allow uploads into a
> folder that does not have execute or scripting rights (assuming that you are
> using IIS).  If you do this then you can use any ftp
> server including the one built into Windows.
> 
> HTH,
> 
> Howie Hamlin - inFusion Project Manager
> On-Line Data Solutions, Inc.
> www.CoolFusion.com
> 631-737-4668 x101
> inFusion Mail Server (iMS) - The Intelligent Mail Server
> Join the DevCon community at www.coolfusion.com/devcon
> 
> ----- Original Message -----
> From: "Duane Boudreau" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Monday, August 27, 2001 1:27 PM
> Subject: CF "FTP" Application
> 
> 
> > I have a server that I will be hosting several clients on. I don't want to
> > give clients complete ftp access. I need to limit there ability to upload
> to
> > only those with files with specific extensions such as html, zip, gif,
> jpg,
> > etc. In other words, no cfml, asp, cgi, exe etc.
> >
> > I am looking for an application built in CF that will allow me to set a
> list
> > of file extensions that can be uploaded, that uses CFFile and CFFTP. I
> don't
> > see anything in devex that fills the need or is available. Does anyone
> know
> > or have such an application?
> >
> > Thanks,
> > Duane
> >
> >
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to