> I'm trying to upload/download files programmaticly to a records
> management system. I have it working fine on my dev machine using
[quoted text clipped - 3 lines]
> seems to be trying to read the file from the server drive not from the
> client machine.
Yes, that's exactly what's happening. On your development machine, server
and client are actually the same physical machine...
> If there is a utlility that I can buy to programmaticly upload/
> download files I'd do that well. I need to do both actions without
> user interaction and coordinate that with my web services to manage
> the files and data.
You have (almost) no chance whatsoever of doing this, for fairly obvious
security reasons...
Imagine a public website which could upload and download files to and from
client browsers without user interaction - you'd be surfing away quite
happily while the site was freely downloading malware and uploading your
accounts file, password list etc...
All modern browsers are designed specifically to prevent this sort of
functionality - don't even bother trying...

Signature
Mark Rae
ASP.NET MVP
http://www.markrae.net
Mark - 19 May 2008 16:03 GMT
I agree it does sound like a security nightmare - but would it not be
possible to 'share' a drive on each PC with the server. Then the server
could then just reference the shared file area, eg.
\\mypc\mysharedfiles\myfile.doc
Just a thought,
Mark
Mark Rae [MVP] - 19 May 2008 16:09 GMT
> I agree it does sound like a security nightmare - but would it not be
> possible to 'share' a drive on each PC with the server. Then the server
> could then just reference the shared file area, eg.
> \\mypc\mysharedfiles\myfile.doc
Ah, but that's not the same thing at all...
At that moment, the browser doesn't come into it...
It is the browser, not ASP.NET per se, which blocks unassisted downloads and
uploads
Take the browser out of the equation, and anything is possible. What your
suggesting is hardly any different from network utilities which deploy
patches and service packs to workstations.

Signature
Mark Rae
ASP.NET MVP
http://www.markrae.net