dbTalk Databases Forums  

SSIS FTP file Renaming on remote server.

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


Discuss SSIS FTP file Renaming on remote server. in the microsoft.public.sqlserver.dts forum.



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

Default SSIS FTP file Renaming on remote server. - 04-11-2006 , 11:54 AM






How would you do this with SSIS ftp task.
How would you do this with wild cards, example:
File Name: test001.zzz
Rename to : test001.old
ftp>rename test*.zzz test*.old.

Any help thanks

Reply With Quote
  #2  
Old   
Dan B
 
Posts: n/a

Default RE: SSIS FTP file Renaming on remote server. - 04-14-2006 , 03:37 PM






I don't think the SSIS FTP Task can rename remote files. You could however
FTP the files to a local directory on your file system. Then using a Foreach
container over the files in the directory you can have a File System Task to
rename the files (specify the file mask in a variables). Finally FTP the
files back to the server.


"TK" wrote:

Quote:
How would you do this with SSIS ftp task.
How would you do this with wild cards, example:
File Name: test001.zzz
Rename to : test001.old
ftp>rename test*.zzz test*.old.

Any help thanks

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.