Results 1 to 4 of 4

Thread: File transfer over http

  1. #1

    Thread Starter
    Member
    Join Date
    Feb 2000
    Posts
    34
    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

  2. #2

    Thread Starter
    Member
    Join Date
    Feb 2000
    Posts
    34
    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

  3. #3
    Addicted Member
    Join Date
    Jan 1999
    Posts
    173
    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.
    "To the glory of God!"


  4. #4

    Thread Starter
    Member
    Join Date
    Feb 2000
    Posts
    34
    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
  •  



Click Here to Expand Forum to Full Width