Results 1 to 4 of 4

Thread: Read, not download, from FTP

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Aug 2002
    Posts
    23

    Read, not download, from FTP

    Hello all,

    I have used the WebClient.DownloadData Method for reading html data from a website. This is a very helpful function as it allows you to read the data directly from the website without downloading it first.

    Is there an FTP equivalent? I would like to read data from a text file from and FTP site without downloading it to a temp file first.

    Thank you.

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    I'm not sure what you mean. What part of DownloadData makes you think you do NOT download? Well I guess it doesn't matter unforunately there is no native .NET FTP tools Although you can pass credentials to the WebClient if you need to access something behind a password protected HTTP site.

  3. #3
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682
    Perhaps I'm being a bit thick here, but how can you possibly read something without downloading it?

    Anyway .Net FTP tools can be found here
    http://www.rebex.net/download/

    Don't know if it's any good or not.
    Last edited by wossname; Nov 18th, 2003 at 03:40 AM.

  4. #4
    Frenzied Member Ultimasnake's Avatar
    Join Date
    Feb 2002
    Location
    Amsterdam, holland
    Posts
    1,172
    well you Don't have to save a file before reading it.. you can put it in a buffer.. :S.... you should write your own socket though
    For my PC and MS Smartphone 2003 software visit
    http://www.ultimasoftware.nl

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