VB .NET free FTP code

dyanamo

Senior Member
Joined
Jun 19, 2007
Messages
942
Im looking to write a simple uploader application (stand alone) in VB .net that has resume support. Does anyone have any code or classes that can do this thats free.
Basically in the application you will select the file and upload it to a ftp server. The files are large thus the resume support is needed.
Thanks.
 
Last edited:

FarligOpptreden

Executive Member
Joined
Mar 5, 2007
Messages
5,396
First of all, is this a web application where users upload a document via a web page, or should this be a stand-alone windows application that a user runs on his / her desktop? Logic tells me it's the former... If my assumption is correct, just use the HTML Upload control and set it to run at server:

Code:
<input type="file" id="SOMEID" runat="server" />

You can then access the file on the server file by using the "PostedFile" property of the control and save it to a location with :

Code:
SOMEID.PostedFile.SaveAs("PATH")

Simple and elegant. ;)
 
Last edited:
Top