Login Register






FTP Login response in C# filter_list
Author
Message
FTP Login response in C# #1
Let me get straight to the point, I'm in search of a good method or a class for FTP in C# that can get me Login response in Boolean variable. Like if the login is successful it returns true and vice versa. I have tried 4 FTP Classes from other sites and none offers such thing except only upload, download function. I've posted this thread after a long search on google and none helped.
Help Would Be appreciated Smile!
My Blog: http://www.procurity.wordpress.com
Donations: 1HLjiSbnWMpeQU46eUVCrYdbkrtduX7snG

Reply

RE: FTP Login response in C# #2
(06-29-2013, 10:55 AM)Ex094 Wrote: Let me get straight to the point, I'm in search of a good method or a class for FTP in C# that can get me Login response in Boolean variable. Like if the login is successful it returns true and vice versa. I have tried 4 FTP Classes from other sites and none offers such thing except only upload, download function. I've posted this thread after a long search on google and none helped.
Help Would Be appreciated Smile!

If you can't find that specifically, you could do like I did in my original python program(which ended up being difficult), you can just get the response code: http://en.wikipedia.org/wiki/List_of_FTP...turn_codes
and create your own Boolean variable if you wish. 230 is a successful login. I did it through socket, but you may be able to find a class for it. Otherwise, you can probably just check to see if you're connected and decide whether it was successful or not(like I did in my py program in the py section).
A Serious Newbies Guide to the Underground v3
http://www.hackcommunity.com/Thread-A-Se...-v3-Part-1

Reply

RE: FTP Login response in C# #3
(06-29-2013, 07:44 PM)mls577 Wrote:
(06-29-2013, 10:55 AM)Ex094 Wrote: Let me get straight to the point, I'm in search of a good method or a class for FTP in C# that can get me Login response in Boolean variable. Like if the login is successful it returns true and vice versa. I have tried 4 FTP Classes from other sites and none offers such thing except only upload, download function. I've posted this thread after a long search on google and none helped.
Help Would Be appreciated Smile!

If you can't find that specifically, you could do like I did in my original python program(which ended up being difficult), you can just get the response code: http://en.wikipedia.org/wiki/List_of_FTP...turn_codes
and create your own Boolean variable if you wish. 230 is a successful login. I did it through socket, but you may be able to find a class for it. Otherwise, you can probably just check to see if you're connected and decide whether it was successful or not(like I did in my py program in the py section).

Good idea, I'll try this. Thanks!
My Blog: http://www.procurity.wordpress.com
Donations: 1HLjiSbnWMpeQU46eUVCrYdbkrtduX7snG

Reply

RE: FTP Login response in C# #4
May I point out:
[Image: cguk1XG.png]

.NET already has a class for FTP stuff, unless you want to recreate the wheel here and do everything through sockets directly. Status codes and everything in the System.Net namespace.
ArkPhaze
"Object oriented way to get rich? Inheritance"
Getting Started: C/C++ | Common Mistakes
[ Assembly / C++ / .NET / Haskell / J Programmer ]

Reply