Answered by:
Downloading files from ftp site which are stored in .zip folder

Question
-
Hi,
I have a requirement where i have to load the file from ftp site to my local folder. Files are in .zip folder and there are many .zip folders but we have to load file from the latest folder. What is the best way to achieve this in SSIS?
Thanks
Syed Faiz
Thursday, June 23, 2016 4:24 PM
Answers
-
Hi Syed,
Here are few links those can help you to start
1) Download the files form FTP To local
2) If you want to keep downloading all the files to local folder and don't want to move them to archive folder after loading, you can get the latest file by using below
How To Get Most Recent File from Directory And Load To a Table
3) Unzip the file
How To Unzip .Zip Files In SSIS [ How To Use Execute Process Task In SSIS ]
Good Luck!
TechBrothersIT.com- Proposed as answer by Seif Wang Friday, June 24, 2016 6:36 AM
- Marked as answer by Eric__Zhang Sunday, July 10, 2016 12:28 PM
Thursday, June 23, 2016 5:00 PM
All replies
-
-
Hi Syed,
Here are few links those can help you to start
1) Download the files form FTP To local
2) If you want to keep downloading all the files to local folder and don't want to move them to archive folder after loading, you can get the latest file by using below
How To Get Most Recent File from Directory And Load To a Table
3) Unzip the file
How To Unzip .Zip Files In SSIS [ How To Use Execute Process Task In SSIS ]
Good Luck!
TechBrothersIT.com- Proposed as answer by Seif Wang Friday, June 24, 2016 6:36 AM
- Marked as answer by Eric__Zhang Sunday, July 10, 2016 12:28 PM
Thursday, June 23, 2016 5:00 PM -
On the FTP server, create a subfolder (i.e., Processed) under the download folder. When the zip file is downloaded move the file to Processed.
A Fan of SSIS, SSRS and SSAS
Thursday, June 23, 2016 5:58 PM