Results 1 to 27 of 27

Thread: Transfer file to Remote Server

Threaded View

  1. #10
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: Transfer file to Remote Server

    Quote Originally Posted by jmsrickland View Post
    Same question. Show an example, please.
    Holy cow. This should have been plenty of information.

    You can map a WebDAV share outside the program by hand or you can use Shell or WScript objects or API calls to do it in the program.

    After that it's just a FileCopy statement. You can even open, read, write, kill, etc. files using regular old VB6 I/O statements. And it all happens over HTTP.

    The attached demonstration shows the use of the API calls to map and unmap the share. Won't do you much good without a WebDAV account somewhere but there are tons of free sites and you can always set up IIS for WebDAV to test locally.
    Attached Files Attached Files

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