|
-
Sep 18th, 2002, 01:22 PM
#1
Thread Starter
Member
Httpinputfile Help
Is there a way to programatically create a "PostedFile"?
I currently have an HTTPINPUTFILE control on my page, however, is there a way to either write a value into this control using javascript (ie: some variable), then when posting the form, the file (which would be a something like c:\Test.txt) that was programatically entered into the control, be posted? Or is there a way to do this without using the actual control itself.
Any ideas would be great
Thanks in advance
-
Sep 19th, 2002, 05:10 AM
#2
Fanatic Member
Re: Httpinputfile Help
Originally posted by ghoff12
Is there a way to programatically create a "PostedFile"?
I currently have an HTTPINPUTFILE control on my page, however, is there a way to either write a value into this control using javascript (ie: some variable), then when posting the form, the file (which would be a something like c:\Test.txt) that was programatically entered into the control, be posted? Or is there a way to do this without using the actual control itself.
For security reasons, that control doesn't allow you to set the file name from the server side. Only the user can do it thru browsing.
You have to search for 3rd party controls for that ability.
John
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|