Re: How to transfer local file to web server when name of local file is known to server, not web end user?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Marina (someone_at_nospam.com)
Date: 09/16/04


Date: Thu, 16 Sep 2004 12:50:44 -0400

There is no way to do this. It would be a major security flaw, if web apps
could upload files at will. The user has to be the one to select the file.

"Peter White" <peter@vocada.com> wrote in message
news:Hfj2d.21720$H24.13114@newssvr24.news.prodigy.com...
> I am trying to transfer a file from a user's local machine (the file is
> automatically created by a 3rd party tool and stored in the users local
> settings/temp directory) via a web form to my web server. I am using
Visual
> Studio.Net 2003 and running IIS 5.0. There is no need to use the
input=file
> html control b/c the user has no idea the name of the temporary file that
I
> need to capture and store on the server. I believe the "value" property
on
> the input=file control is disabled in IE. My server side code knows the
> name and location of the local file, I just want to add a "Save" function
to
> my web from that transfers this file to the web server.
>
> Thanks,
> Peter
>
>



Relevant Pages

  • Re: How to transfer local file to web server when name of local file is known?
    ... or else a webpage could extract all kinds of neat-o things from your hard ... > I am trying to transfer a file from a user's local machine (the file is ... > settings/temp directory) via a web form to my web server. ... > html control b/c the user has no idea the name of the temporary file that ...
    (microsoft.public.dotnet.csharp.general)
  • How to transfer local file to web server when name of local file is known to server, not web end use
    ... I am trying to transfer a file from a user's local machine (the file is ... automatically created by a 3rd party tool and stored in the users local ... settings/temp directory) via a web form to my web server. ... html control b/c the user has no idea the name of the temporary file that I ...
    (microsoft.public.dotnet.framework.aspnet)
  • How to transfer local file to web server when name of local file is known?
    ... I am trying to transfer a file from a user's local machine (the file is ... automatically created by a 3rd party tool and stored in the users local ... settings/temp directory) via a web form to my web server. ... html control b/c the user has no idea the name of the temporary file that I ...
    (microsoft.public.dotnet.csharp.general)
  • RE: http file uploads using HttpWebResponse
    ... you would like to upload files to a web server ... static void Main ... You also can refer to the KB "323246 HOW TO: Upload a File to a Web Server ... This posting is provided "as is" with no warranties and confers no rights. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Do you use HOSTS file ?
    ... > * If your local machine does run a web server, ... They display very nicely and much more quickly with the ads missing. ...
    (comp.os.linux.security)