Click here to Skip to main content
15,893,487 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
Hi all,

I am looking for a working source code for a FTP Client.
I would like to adapt it to download all the files in my website in turn.

I have tried lots of different examples and cant seem to find one that will open with Visual Studio without needing conversion and one that still works.

Would anyone happen to know which might be the most recent / without issues?

Any help is greatly appreciated.

What I have tried:

I have tried lots of different examples from different sites but all need converting / dont seem to work or open correctly.
Posted
Updated 27-Apr-16 11:30am
Comments
Patrice T 27-Apr-16 16:25pm    
Visual Studio don't have an FTP client ?

.NET BCL already offers an FTP client-side facility System.Net.FtpWebRequest:
FtpWebRequest Class (System.Net)[^].

You will find enough code samples to get a clear idea on how to use it. If you still cannot understand it, understand another thing: people write the library at this level, because this level makes the most sense for most users who can actually use programming for solving their problems. There is little sense to waste time on other people; they should rather use some available FTP client, possibly with UI. If you want to use it as a developer by cannot understand how, you should rather learn programming practicing on some simpler problems. But I hope you can figure it out.

—SA
 
Share this answer
 
v2
Comments
Member 10502783 28-Apr-16 7:45am    
I know how to develop somethings but I need code samples and guidance to get through. I'm not a professional developer nor do I want to be. I want to complete my project to my requirements and then I have no use for the knowledge again. So I would rather adapt something else to my needs than start from scratch.
Sergey Alexandrovich Kryukov 28-Apr-16 9:04am    
Just follow my advice, get samples from MSDN. Why are you raising some problems before they really appear, problems out of nothing?
Isn't that time to stop discussing it and start writing code?

Your approach is counter-productive and goes nowhere.

So far, you demonstrate your reluctance to do the job. Why? Who can get help with such attitude.

—SA
WinSCP has a .NET assembly and COM library that you can use in your projects. You just have to deploy the DLL and Executable as part installation. We've used it in a couple of different projects and had no problems with it.

WinSCP .NET Assembly and COM Library :: WinSCP[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900