dbTalk Databases Forums  

SSIS FTP Task

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss SSIS FTP Task in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
christopherdbradley@gmail.com
 
Posts: n/a

Default SSIS FTP Task - 11-22-2006 , 11:01 AM






I'm trying to implement an SSIS package but have run short of ideas on
how to best do it.

I need to send a group of uniquely named data request scripts (with
file extension .req), to an FTP location. After a short (but unknown)
length of time, a similarly named data file will appear at the ftp
location, which I'd like to download.

I can get this to work using two packages: the first sends the
requests, and the second retrieves and processes the resulting data
after an estmated amount of time (hoping the resulting files will be
there).

However, I'd like to do this with one script, perhaps with with a
foreach loop, enumerated along each request file. I can't think of a
clever way to get the package to wait until the .out file (data file)
is generated before downloading & processing.

any thoughts?


Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: SSIS FTP Task - 11-22-2006 , 04:31 PM






Hello christopherdbradley (AT) gmail (DOT) com,

So would you want something like a File System Watcher that raised an Event
when a file with a given pattern was dropped in a directory of your choosing?
This way you would know that you can go and get the file. The task would
simply wait until the file was found or duration threshold was reached.



Regards

Allan Mitchell
Konesans Ltd
T +44 7966 476 572
F +44 2071 008 479
http://www.konesans.com

Quote:
I'm trying to implement an SSIS package but have run short of ideas on
how to best do it.

I need to send a group of uniquely named data request scripts (with
file extension .req), to an FTP location. After a short (but unknown)
length of time, a similarly named data file will appear at the ftp
location, which I'd like to download.

I can get this to work using two packages: the first sends the
requests, and the second retrieves and processes the resulting data
after an estmated amount of time (hoping the resulting files will be
there).

However, I'd like to do this with one script, perhaps with with a
foreach loop, enumerated along each request file. I can't think of a
clever way to get the package to wait until the .out file (data file)
is generated before downloading & processing.

any thoughts?




Reply With Quote
  #3  
Old   
christopherdbradley@gmail.com
 
Posts: n/a

Default Re: SSIS FTP Task - 11-23-2006 , 01:38 PM



I'm not sure if that would work. Can a File System Watcher monitor an
FTP location?

I need to find a way of triggering subsequent events when a file
appears at the remote location.

thanks,
CB



Allan Mitchell wrote:
Quote:
Hello christopherdbradley (AT) gmail (DOT) com,

So would you want something like a File System Watcher that raised an Event
when a file with a given pattern was dropped in a directory of your choosing?
This way you would know that you can go and get the file. The task would
simply wait until the file was found or duration threshold was reached.



Regards

Allan Mitchell
Konesans Ltd
T +44 7966 476 572
F +44 2071 008 479
http://www.konesans.com



Reply With Quote
  #4  
Old   
christopherdbradley@gmail.com
 
Posts: n/a

Default Re: SSIS FTP Task - 11-23-2006 , 01:40 PM



and, if at all possible, I'd like to limit my use of coded scripts...
my syntax is terrible!


christopherdbrad... (AT) gmail (DOT) com wrote:
Quote:
I'm not sure if that would work. Can a File System Watcher monitor an
FTP location?

I need to find a way of triggering subsequent events when a file
appears at the remote location.

thanks,
CB



Allan Mitchell wrote:
Hello christopherdbradley (AT) gmail (DOT) com,

So would you want something like a File System Watcher that raised an Event
when a file with a given pattern was dropped in a directory of your choosing?
This way you would know that you can go and get the file. The task would
simply wait until the file was found or duration threshold was reached.



Regards

Allan Mitchell
Konesans Ltd
T +44 7966 476 572
F +44 2071 008 479
http://www.konesans.com



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.