This project is read-only.


May 12, 2010 at 8:25 PM
I have an ftp server that needs to connection via ASCII encoding vs. Binary. I didn;t see this option addressed. Did I miss it?
May 22, 2010 at 4:13 AM

You can use the SendCommand  method to send the "binary" command to switch.

Dec 8, 2011 at 1:07 PM

I just tried the ftp.SendCommand("binary"), but it returnes "unknown command". Any suggestions ?

Apr 23, 2012 at 4:26 PM
Edited Apr 23, 2012 at 4:27 PM

Same problem here. You should check the "binary" command using your favourite ftp client, for example FileZilla. When I did this (using FileZilla portable) I also got the response "unknown command", so I guess this may not a problem of C# FTP Library but of our/your ftp server.

May 21, 2012 at 12:42 AM

I got it to work using ftp.SendCommand("TYPE I");