Click here to Skip to main content
15,921,941 members
Please Sign up or sign in to vote.
2.33/5 (2 votes)
See more:
Hi all
I want to download files from ftp server and download to my local disk.i searched internet but didn't find code for it.i am new to and ssis. i have to do this using script task.
please help me i searched like anything but its of no use.i want to download files with .txt files from folder.i have do it asap
thank in advance
Updated 20-Dec-13 5:42am
Sergey Alexandrovich Kryukov 20-Dec-13 11:43am    
"Of no use"?! Wow! You really need to sharpen you search skills, and a skills to read basic documentation.

You can use the class System.Net.FtpWebRequest:[^].

You can also use the class System.Net.WebClient, which provides simplified functionality, and the required protocol is determined by the URI:[^],[^].

The last of the links shows the MSDN page with few lines of sample code. This is all you need, only use you FTP URIs.

Share this answer
vamshi182013 23-Dec-13 9:17am    
Hi Sergey
your answer is very helpful for me.
Sergey Alexandrovich Kryukov 23-Dec-13 12:52pm    
Very good. Will you accept if formally then (green "Accept" button)? In all cases, your follow-up questions will be welcome.
finally i found the great article for you please follow and start the begining

thank you

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