Re: Programmatically upload file from client machine
From: Sherif ElMetainy (elmeteny.NOSPAM_at_wayout.net.NOSPAM)
Date: 04/05/04
- Next message: one: "Re: Windows authentication setting in web.config"
- Previous message: Rob Venable: "Re: How is this done in ASP.Net"
- In reply to: Beatrice: "Programmatically upload file from client machine"
- Next in thread: Beatrice: "Re: Programmatically upload file from client machine"
- Reply: Beatrice: "Re: Programmatically upload file from client machine"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 6 Apr 2004 00:40:36 +0200
Hello
There is no way you can do this with HTML. The value property is read only
for security so that malicious sites don't attempt to read files from the
client computer
without the user approval. If browsers allow this, it would be a big
security hole.
Best regards,
Sherif
"Beatrice" <bwei@axonetinc.com> wrote in message
news:96246405.0404051412.337bcfea@posting.google.com...
> I am stuck with this problem and desperately need your help.
>
> I would like to upload an xml file or any file from client machine and
> then save it to the server machine. Since the file path on the client
> machine is predefined within the program, I am using the HTMLInputFile
> control, postedfile, saveas ... and set the input control visibility
> to hidden. However, the control value is read only and there is no way
> I can set the client file path. I am wondering if there is a simple
> way to uploading a file without user selection/specification?
>
> Thanks in advance for your help.
> Beatrice
- Next message: one: "Re: Windows authentication setting in web.config"
- Previous message: Rob Venable: "Re: How is this done in ASP.Net"
- In reply to: Beatrice: "Programmatically upload file from client machine"
- Next in thread: Beatrice: "Re: Programmatically upload file from client machine"
- Reply: Beatrice: "Re: Programmatically upload file from client machine"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|