dbTalk Databases Forums  

Re: FTP .cvs files from Unix and import to SQL server.

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


Discuss Re: FTP .cvs files from Unix and import to SQL server. in the microsoft.public.sqlserver.dts forum.



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

Default Re: FTP .cvs files from Unix and import to SQL server. - 09-17-2004 , 10:03 AM






Your script should use mget as part of the FTP script, it will get all
files, mget *.*.

Adrian

jkiffer wrote:

Quote:
I understand the basics of using the FTP task and data transformation with
.cvs files, but am looking for a more robust solution. I need to do the
following:
1. FTP ".cvs" files from a Unix box. The files reside in a cache directory
and any files that exist at the execution of the task must be ftp'd. The
names of the files are indeterminate.

2. The .cvs files from above all have the same format. I need to setup a
connection to the file retrieved from the above step and then perform simple
data transformation of mapping the file field for field into a SQL Server
table.

I understand how to do both steps when the name of the file is known.
Unfortunately the name of the files are unknown and accumulate on the Unix
box over the course of a day. Any help would be appreciated!

jeremy

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.