FTP IN C#
-
iam devoloping both ftp server and client in c# (windows application) i have two doubts 1. in ftp client when set sslenable=true for security then server receive "AUTH" command server returns "226 authenticated" then server recieve some encoded character. my qustion is what is that chracter and which code returns by server 2.when uploading a file asynchronously server receive "OPTS" command which code returns for this by server please help me with advance thanks
-
iam devoloping both ftp server and client in c# (windows application) i have two doubts 1. in ftp client when set sslenable=true for security then server receive "AUTH" command server returns "226 authenticated" then server recieve some encoded character. my qustion is what is that chracter and which code returns by server 2.when uploading a file asynchronously server receive "OPTS" command which code returns for this by server please help me with advance thanks
About your first question I am not sure where this information would help you. This is handled by the protocol itself and if there is an error/exception, it would be shown. However if you still want the information, you can use any ftp client like Filezilla etc and enable tracing capabilities (to create a trace log) which would show you the data sent and received. For OTPS command, please refer the RFC. http://apps.mrochek.com/rfc/rfc2389.html#sec-4 ~Dave
Dave Traister Software Engineer ComponentOne LLC www.ComponentOne.com