Results 1 to 2 of 2

Thread: FTP how-to

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 2001
    Posts
    107

    Question FTP how-to

    I need to fill a dataset with data from an object, populate a flat file with that data, then upload the file via FTP to a server.

    What is the best way to FTP in .NET? I know that in earlier versions the INet class was used, but this isn't the case now. I just can't seem to find the best way to do this. The prior way to do this was done in one line:

    'objFTP.Execute "ftp://ftp:[email protected]", "Put c:\xlelu" & name & ".blk xlelu" & name & ".blk"

    ...where objFTP is an INet object. I currently know what server, etc. that I would like to use for testing this functionality but is there code that is analogous to the above, or do I need more?

    Thanks..

    ~Mike

  2. #2
    Hyperactive Member
    Join Date
    Aug 2000
    Location
    Texas
    Posts
    313
    http://www.vbip.com/winsock/index.asp look there it may help with what you need (middle of the page)

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