08-23-04 10:54 PM
You can't programmatically invoke the input type=file command... this HAS to
be user-driven. You will need to find some way to do this (e.g. use a VBS
script to copy the file from one server to another, maybe via FTP or
\\fileshare\... you won't be able to automate a traditional upload via form
post without running third party tools.
--
http://www.aspfaq.com/
(Reverse address to reply.)
"James Baker" <cppjames@hotmail.com> wrote in message
news:uCcWh2RiEHA.3016@tk2msftngp13.phx.gbl...
> Is there a microsoft newsgroup where I can post a question such as the
> following?
>
> I have a form that has a couple input boxes and a "file" input box as
well.
> Basically you enter two text values, browse to a file and hit submit. I
> need to automate this, because I'm posting this data to another company's
> website at regular intervals. I assume I can just convert the text boxes
to
> hiddens with hardcoded values (they won't change). But I need to convert
> the "file" to a control that doesn't require input. It will be posting
the
> same file every time. Apparently I can't hardcode the value of the file
> control, so how in the world do I go about this?
>
> Thanks,
> Jim
>
>
[ Post a follow-up to this message ]
|