If the file is on the client PC, you CAN do it but you'll need an ActiveX
control or some other kind of thick client, since HTML/script doesn't have
permission to the client's file system.
If the file is on the server then you'll need to use the basic file
functionality in the System.IO namespace.
--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Jack" <ja****@humlog.com> wrote in message
news:6e**************************@posting.google.c om...
Hi,
I'm wanting to email a file from a fixed location (c:\temp\file.doc).
This sounds easy but I'm having a few problems! I have no problem when
using a HtmlInputFile control but I'm wanting to just pick up the file
programmically without user intervention.
Thanks,
Jack