Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Downloading from FTP server doesn't work
#1
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


Attached Files
.rar   TestDownloadFTP.rar (Size: 157.83 KB / Downloads: 677)


Messages In This Thread
Downloading from FTP server doesn't work - by brco900033 - 08-12-2013, 08:50 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  multiple csv files add sql server tables via VB.NET secilsengul 1 9,453 04-16-2014, 10:27 AM
Last Post: brco900033
  How can I get the server status??? mnxford 5 21,714 03-27-2013, 10:53 AM
Last Post: mnxford
  Is this possible with SQL Server? Worf 2 11,523 02-25-2013, 03:04 AM
Last Post: Worf
  Sockets Programming(Disconnecting from Server) xolara 1 8,731 04-06-2012, 01:47 PM
Last Post: brandonio21
  Why dusn't this code Work? Aaron Rogers118 3 12,912 02-21-2012, 03:04 PM
Last Post: Aaron Rogers118

Forum Jump:


Users browsing this thread: 1 Guest(s)