Actually, I think I can use your code to get what I'm after, Ignore the
burble below.

Thanks for your help!

-----Original Message-----
From: Wilson, Craig [mailto:[EMAIL PROTECTED]]
Sent: 09 March 2001 11:47
To: CF-Talk
Subject: RE: Browsing in the browser


Thanks Philip, but I need to actually attach the file to an CF generated
e-mail, it's to enable users to attach error messages or screen prints as an
attachment.

It's to form part of a web based problem logging interface with Tivoli
Problem Management.

Tivoli requires the document attached to an SMTP mail.  Clients may be
located in a physical location where they have e-mail connectivity but not
access to the Tivoli server for dumping files on.  

I've tried adapting the applet which CF administrator uses to browse for
datasources but it only browses the server and not the clients PC.

-----Original Message-----
From: Philip Arnold - ASP [mailto:[EMAIL PROTECTED]]
Sent: 09 March 2001 11:31
To: CF-Talk
Subject: RE: Browsing in the browser


> Does anyone know of a good applet/script that would allow me to
> browse for a local file then use that file as a MIME attachment
> using CFMAIL?

You can do it via HTML forms

<form action="myPage.cfm" method="post" ENCTYPE="multipart/form-data">
<input type="file" name="myFile">
<input type="submit">
</form>

Then <CFFile Action="Upload"> to put the file where you want

Watch out though as NT file system isn't immediate - if you try to use the
file as soon as you've CFFile'd it, it probably won't be there yet - it can
take several seconds before NT makes it "visible"

Philip Arnold
Director
Certified ColdFusion Developer
ASP Multimedia Limited
T: +44 (0)20 8680 1133

"Websites for the real world"

**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to