Hi,
I am FTP'ing a CSV file from a UNIX server as I want to use this as the source data for a SQL Server table.
I can successfully FTP the file to my machine, but when I go to insert the data into the table I can never do so as the delimiters are not recognised. The column delimiter is a comma "," and the row delimiter is {CR}{LF}.
When i look at the csv file in Notepad the file contains what appear to be Unix end if line characters and I think this is what is stopping the file going into the table.
When I FTP the file from the UNIX server using a windows batch file I dont get any problems, I only get the problem using the SQL Server DTS FTP step. Is there any way of enabling the DTS FTP Task to do the same as the batch file to get it to work without me having to use a BAtch file executed via a Execute Process Task?
Thanks,
MrPeds
I am FTP'ing a CSV file from a UNIX server as I want to use this as the source data for a SQL Server table.
I can successfully FTP the file to my machine, but when I go to insert the data into the table I can never do so as the delimiters are not recognised. The column delimiter is a comma "," and the row delimiter is {CR}{LF}.
When i look at the csv file in Notepad the file contains what appear to be Unix end if line characters and I think this is what is stopping the file going into the table.
When I FTP the file from the UNIX server using a windows batch file I dont get any problems, I only get the problem using the SQL Server DTS FTP step. Is there any way of enabling the DTS FTP Task to do the same as the batch file to get it to work without me having to use a BAtch file executed via a Execute Process Task?
Thanks,
MrPeds