|
-
Jun 29th, 2000, 03:00 AM
#1
Thread Starter
Member
How would anyone recommend i transfer files from a
vb application to a webserver using the http protocol
and any would i then control the reciept of the file on the
server side ( using ASP or CGI )?
Thanks
-
Jul 1st, 2000, 05:46 AM
#2
Thread Starter
Member
Thanks alot, I'll definately give that a try. I just have one question though.
I see that you are using the CreateTextFile Method of the
filesystemobject. Does this mean that this solution will
only work with text files , because i need to send picture files aswell ?
Thank again
-
Jul 1st, 2000, 06:30 AM
#3
Addicted Member
For pictures I think that you would need to either perform a binary transfer or perform a bit of a hack.
Open the picture file in binary format in VB. Send the contents of the file in the same way you do with the code I have provided. Then (I think this works) save it to a text file but give it a picture extension, and that might work. I think that you should play around with this first.
-
Jul 1st, 2000, 08:24 AM
#4
Thread Starter
Member
Thanks
I'll give it a try
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
|