blah blah blah is here! blah blah » Close

up0down
link

Howdy...I would like to know if there is any free FTP library. I've been using ChilkatDotNet2 but sadly the trial period is over.

Thank you.

last answered one year ago

1 answers

up1down
link

I wrote one from scratch a while ago, that you're free to use: http://sanity-free.org/misc/nullfx.net.zip

It's in source code form, you can either include it directly in your app, or compile / reference it from a dll.

you use it something like this (just from memory, it may be slightly different):

FtpClient client = new FtpClient(
new IPEndPoint( IPAddress.Loopback, 21 ),
new NetworkCredential( "anonymous", "test@pass"),
"c:\localDownloadDir" );
client.Connect();
client.Download(remoteFilePath, localFilePath);
client.Upload(localFile);


It does standard FTP and FTP over SSL (you specify which kind you want to use when you call Connect).

Thank you Mr MadHatter :-)

Feedback