Hi
Just a suggestion, try simply uploading the files to
the web server thru the VB app.
Shreekar
--- Brent Russell <BRussell@P...> wrote:
> I need to post binary files to an .asp page from
> within a vb app. I've been
> using the internet transfer control with limited
> success.
> I am able to transfer text files by reading the file
> into a byte array,
> converting to a string, and sending the data as a
> name value pair using
> inet.execute and the "post" command.
>
> My problem is that the inet control requires that
> data be both a string and
> url-encoded, which is fine for text files,
> but how do I send binary file information?
> Converting the byte array to a string is ok, but
> url-encoding the binary
> data is far too time-consuming, and I suspect causes
> data loss.
>
> Is there a more direct way to simulate
> "multipart/form-data" file
> information in an Inet control post that I am
> overlooking?
> I have found plenty of documentation on the Inet
> control regarding
> downloading binary files and uploading text
> information via http, but hardly
> any on posting non-text files with it.
>
> Any and all help or suggestions are much
> appreciated,
> Thanks,
> Brent
>
> > Brent Russell
> > Project Performance Corporation
> > 7600 Colshire Drive, Fifth Floor
> > McLean, VA 22102-7600
> > (xxx) xxx xxxx
> > http://www.ppc.com/
> >
> >
>
$subst('Email.Unsub').
__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/