locked
ftp download fails RRS feed

  • Question

  • User1810061435 posted

     thanks for your time ... what I am doing wrong .. what do I miss

    my envronment: Vista Ultimate, VWD express 2008

    All 3 statements below do NOT download the file;  BUT also do not create any error msgs! However, when plugging FTP://localhost/QMSpathFTP/Prozess Akquisition.doc directly into the IE the .doc is shown correctly! I.e., to me, the virtual directory 'QMSpathFTP' is correct!

    What do I possibly miss here
    again thanks for your time, ed

    	'Dim ftpRequest As FtpWebRequest = WebRequest.Create("FTP://localhost/QMSpathFTP/Prozess Akquisition.doc")
            'Dim ftpRequest As FtpWebRequest = CType(WebRequest.Create("FTP://localhost/QMSpathFTP/Prozess Akquisition.doc"), FtpWebRequest)
    
            Dim ftpRequest As FtpWebRequest = DirectCast(WebRequest.Create("FTP://localhost/QMSpathFTP/Prozess Akquisition.doc"), FtpWebRequest)
            ftpRequest.Method = WebRequestMethods.Ftp.DownloadFile


    Friday, July 10, 2009 3:09 AM

Answers

  • User-1659704165 posted

    Hi,

    http://www.vcskicks.com/download-file-ftp.html

    http://www.codeguru.com/csharp/csharp/cs_internet/desktopapplications/article.php/c13163

    http://aspalliance.com/1187_Building_a_Simple_FTP_Application_Using_C_20.3

    Chck the sample in above link

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, July 10, 2009 3:15 AM

All replies

  • User-1659704165 posted

    Hi,

    http://www.vcskicks.com/download-file-ftp.html

    http://www.codeguru.com/csharp/csharp/cs_internet/desktopapplications/article.php/c13163

    http://aspalliance.com/1187_Building_a_Simple_FTP_Application_Using_C_20.3

    Chck the sample in above link

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, July 10, 2009 3:15 AM
  • User1810061435 posted

     tanks for your time, that helped, ed

    Saturday, July 11, 2009 9:30 AM