dbTalk Databases Forums  

automate ftp download .dat file

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


Discuss automate ftp download .dat file in the microsoft.public.sqlserver.dts forum.



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

Default automate ftp download .dat file - 02-01-2004 , 10:18 AM






Hi,

Can anyone tell me what the best way to automatically download a .dat
file from an ftp site and import into sql server?
Should I use ftp.exe? Then, how do I convert to .csv automatically so
that I can import to sql server? Will I have to write a VB .dll, not
too hot with programming, so another solution would be preferrable.

any suggestions appreciated.

ally

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

Default Re: automate ftp download .dat file - 02-01-2004 , 10:45 AM






What is in the .dat file? What is the format of the data?
extensions may not necessarily be representative of the data it contains.

Using FTP.exe and SQL Server agent (Scheduling mechanism) is a good way to
get things from an FTP site.



--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"Buttercup" <alison_clark20 (AT) hotmail (DOT) com> wrote

Quote:
Hi,

Can anyone tell me what the best way to automatically download a .dat
file from an ftp site and import into sql server?
Should I use ftp.exe? Then, how do I convert to .csv automatically so
that I can import to sql server? Will I have to write a VB .dll, not
too hot with programming, so another solution would be preferrable.

any suggestions appreciated.

ally



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.