I have an option to use either the C# FTP library or the standard FTP command line application to connect and to retrieve data from an FTP server.
Can some one advice on what to prefer.?
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Why would you be using a commandline tool, intended for end users, from code? You’ll be having a hard time reading and parsing
stdoutandstderrto get the responses or errors that result from your commands.Just use the
FtpWebRequestandFtpWebResponsesince they provide in a decent, easy-to-use interface that contains error checking and so on.