dbTalk Databases Forums  

Moving a file once it has been imported

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


Discuss Moving a file once it has been imported in the microsoft.public.sqlserver.dts forum.



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

Default Moving a file once it has been imported - 02-08-2006 , 06:43 AM






Hi all,

I am building a DTS package which picks up a flat file. Once the last sql
t5ask has been completed successfully I would like to move the file to
another folder.
I would also like to timestamp the file in order keep an archive.

Many thanks
Mike

Reply With Quote
  #2  
Old   
Darren Green
 
Posts: n/a

Default Re: Moving a file once it has been imported - 02-08-2006 , 12:19 PM






M Stuart wrote:
Quote:
Hi all,

I am building a DTS package which picks up a flat file. Once the last sql
t5ask has been completed successfully I would like to move the file to
another folder.
I would also like to timestamp the file in order keep an archive.

Many thanks
Mike

Try these -

Working with files and the FileSystemObject
(http://www.sqldts.com/default.aspx?292)

Looping, Importing and Archiving
(http://www.sqldts.com/default.aspx?246)

--
Darren
http://www.sqldts.com
http://www.sqlis.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.