dbTalk Databases Forums  

FTP - File name changes

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


Discuss FTP - File name changes in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
AT
 
Posts: n/a

Default FTP - File name changes - 07-17-2006 , 12:40 PM






SQL Server Version: 2005 Enterprise
Operating System: Windows 2003 Standard
Tool: SSIS

I need to grab an ftp file off of a mainframe server where the filename
changes. There is a set part and then a run sequence number appended.
The file name has this format:

E12345.R23456

The E12345 will always be the same - but the R##### will change with
each run. It will (to the best of mine or anyone elses knowledge
always increase - but at some point it would reset after the 5 digit
number has been exhausted). I can also use the date - as we will
always be grabbing the most current file.

Was wondering if anyone else had tackled this - and had some good ideas
about how to approach this. Seems like I am going to have to write
some code to plug into the ftp task - but I may be missing a better way
to handle this.

Thanks,

Matt


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.