Script to GET files without replace

Advertisement

Floribar
Joined:
Posts:
4
Location:
Barcelona

Script to GET files without replace

Hi everybody,

I have a FTP server where lots of diferents files are stored and most of them not mine.
(I cannot use the command "synchronise"...)

Using an SSIS PAckage, i get the proper files using a mask with the
"get" command.

It works fine, except that I am getting lots of file now, and I wish not to get the ones I already have.
I mean to use the "get" command in a batch, but where the option "confirm replace" would be "NO".

How can I do that?.

I have been trying the diferent options "Batch", "confirm" and I am still downloading the one I have got.

Thanks for your help.

Reply with quote

Advertisement

Floribar
Joined:
Posts:
4
Location:
Barcelona

in the ftp folder, theres are lots of file which have nothing to do with my project and that I shouldn't copy in my destination folder.

I only want some with have a certain format name ( e.i: BE100302_20100420_ATCR7888.030.2009041.csv).
In this folder FTP, there are word document, zip,... I don't want all these files sinchronised.

Is it posible to sinchronise only the files type I need with a mask?

o is it posible to get with batch without the Replace option?

Thanks.

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum