This project is read-only.

connect problem in .net

Aug 25, 2011 at 4:32 PM


I can connect to my ftp server via the command line in explicit mode:

ftps -h piloto32 -port 990 -U teste -P 123456 -ssl ControlChannelRequired -sslInvalidServerCertHandling Accept -g /RDO_REC/RDO$20110822.TXT

but I can not connect through the code in C#.
How can I replicate the above command with the same code in C#?





Aug 31, 2011 at 11:09 PM
Edited Aug 31, 2011 at 11:36 PM

hi prdpja, I have a similar issue... I also have to connect to FTP over SSL on port 990... for me, the -sys and -f commands work, but not the other ones ( -put -delete etc )... did you have to do anything special in your client machine to  make it work??? my command looks like this:

ftps -h 111.222.333.444 -port 990 -U USERNAME1 -P PASSWORD1 -ssl Implicit -dm Passive -g TestFolder/test.txt



Resolved in command line: I was missing the -oda option... testing in Net right now

Sep 8, 2011 at 12:03 PM

Hi Rafael,

glad you solved it. Let me know if you have other issues.


Alessandro Pilotti

[ MVP  ASP.Net / IIS ]