08-12-2013, 08:50 AM
I have been working on a little project that requires downloading a file from an FTP server. The problem is that it just doesn't want to work. I have uploaded my project so you guys can read the whole code because I found a library online.
Also you can acces the FTP I'm using for this test project, it is just a test server so you can't acces any of my normal files, only the file that has to be downloaded.
Now the problem; in this test project I created two buttons, the first one downloads the file with the standard future of VB.NET(FtpWebRequest). The problem is that it says that the file is downloaded but the file isn't saved anywhere on the harddisk.
The second button downloads the file using the library I've found online. Everything goes fine until it gives me the error that the file doesn't exist or that I don't have the rights to acces the file (Error code 550).
I had some more problems with downloading this file but found a solution by myself but this just won't work. I really have no clue on what I'm doing wrong.
Hope someone can help me with this one,
Brecht
Also you can acces the FTP I'm using for this test project, it is just a test server so you can't acces any of my normal files, only the file that has to be downloaded.
Now the problem; in this test project I created two buttons, the first one downloads the file with the standard future of VB.NET(FtpWebRequest). The problem is that it says that the file is downloaded but the file isn't saved anywhere on the harddisk.
The second button downloads the file using the library I've found online. Everything goes fine until it gives me the error that the file doesn't exist or that I don't have the rights to acces the file (Error code 550).
I had some more problems with downloading this file but found a solution by myself but this just won't work. I really have no clue on what I'm doing wrong.
Hope someone can help me with this one,
Brecht