Post a reply

Tip: Styles can be applied quickly to selected text.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

ahd262

No I would prefer to execute the process only in remote (faster)
For each file saved in source folder I have to :
mv to its specific folder
unzip it
and rename the unzipped files
martin

Do you want them to be extracted in-place on remote side (complicated, if possible at all) or download the archives, extract and upload the contents?
ahd262

Sorry the both (source & destination) are in remote
ahd262

Re: PostRe: Move remote files in a loop

the both in remote
martin

Re: PostRe: Move remote files in a loop

Is the target folder local or remote?
ahd262

PostRe: Move remote files in a loop

Hi
I would like to loop on each zip files in a source directory and move the unzipped content to the folder N
It means if i ve 3 zip files i ve to read and unzip 3 files and move the content resoectively to the folder 1, 2 then 3
The nuumber of files is not known in advance
Do u advise me to use Session.ListDirectory or a foreach loop container with SSIS ?
Thx
ahd262

Move remote files in a loop

Hi
on a daily basis i receive a number of zipped files in a remote folder
The number and the name of these files changed each day and they aren t known in advance
I need to move each of one into an appropriate folder

I m using SSIS and would like to know how in a loop to be able to read them and to move them

Thx for your help