Click here to Skip to main content
15,898,134 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I wish to make a simple program in C# that, in a click of a button, downloads all files in a specified directory, to another specified directory (using text boxes, etc.)
I searched Google, but found nothing helpful. I don't want to open the files or to use FTP, I just want to download them (text files, pictures, etc.)

Also, which framework should I use? I use 2.0 (increasing compatibility, I guess) for most of my apps, but I'm relatively new to C# and want to know which of the .NETs will suit this app best (3.0 or 3.5 are the other choices...)

Thanks in advance.
Posted

2.0 is VERY old. There's been 3.0, 3.5 and 4.0 since then. Having said that, I suspect all the frameworks will work the same. You can't iterate over the contents of a directory without using FTP. You want to transfer files and FTP stands for File Transfer Protocol.
 
Share this answer
 
OK, how do I do it with FTP then?
 
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