dbTalk Databases Forums  

Is possible to FTP Upload with DTS instead of downloading a text f

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


Discuss Is possible to FTP Upload with DTS instead of downloading a text f in the microsoft.public.sqlserver.dts forum.



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

Default Is possible to FTP Upload with DTS instead of downloading a text f - 08-17-2005 , 09:46 AM






I have 2 Windows 2003 standard edition servers:
-Webbserver
-SQL server (MS sql server 2000).

Now I need to take some rows from the database and make a text-file. It
works perfect, but the text-file is on the sql server. I want it to be on the
webb server so people can download it thru HTTP.

But the FTP in DTS can only download or?

Or have someone another solution?




Reply With Quote
  #2  
Old   
Peter A. Schott
 
Posts: n/a

Default Re: Is possible to FTP Upload with DTS instead of downloading a text f - 08-17-2005 , 11:45 AM






Couple of options - if these are both servers on your network, change your
destination using a UNC path similar to:

\\servername\share\folder1\folder2\file

Make sure that the account running the task has access to the destination. You
may have to change the service accounts from LocalSystem to a domain account if
they aren't running that way already.


Second option is to check out www.sqldts.com for some ideas on getting a Custom
FTP package for DTS. This will allow you to upload files. Note that if the
names of the files will vary, this will be a little tricky to work with. If
they're fixed, your good to go.

Another option is to handle this in some external process that looks for the
file and uploads it as needed. You can use FTP & batch files, special FTP
programs, mirroring apps, etc. I think that's probably overkill but it is worth
mentioning.

-Pete


"Hocke" <Hocke (AT) discussions (DOT) microsoft.com> wrote:

Quote:
I have 2 Windows 2003 standard edition servers:
-Webbserver
-SQL server (MS sql server 2000).

Now I need to take some rows from the database and make a text-file. It
works perfect, but the text-file is on the sql server. I want it to be on the
webb server so people can download it thru HTTP.

But the FTP in DTS can only download or?

Or have someone another solution?



Reply With Quote
  #3  
Old   
Hocke
 
Posts: n/a

Default Re: Is possible to FTP Upload with DTS instead of downloading a te - 08-19-2005 , 02:28 AM



I choosed "Second option is to check out www.sqldts.com " it was very easy to
get it to work, the file name was the same!

A big Thanx Peter!




"Peter A. Schott" wrote:

Quote:
Couple of options - if these are both servers on your network, change your
destination using a UNC path similar to:

\\servername\share\folder1\folder2\file

Make sure that the account running the task has access to the destination. You
may have to change the service accounts from LocalSystem to a domain account if
they aren't running that way already.


Second option is to check out www.sqldts.com for some ideas on getting a Custom
FTP package for DTS. This will allow you to upload files. Note that if the
names of the files will vary, this will be a little tricky to work with. If
they're fixed, your good to go.

Another option is to handle this in some external process that looks for the
file and uploads it as needed. You can use FTP & batch files, special FTP
programs, mirroring apps, etc. I think that's probably overkill but it is worth
mentioning.

-Pete


"Hocke" <Hocke (AT) discussions (DOT) microsoft.com> wrote:

I have 2 Windows 2003 standard edition servers:
-Webbserver
-SQL server (MS sql server 2000).

Now I need to take some rows from the database and make a text-file. It
works perfect, but the text-file is on the sql server. I want it to be on the
webb server so people can download it thru HTTP.

But the FTP in DTS can only download or?

Or have someone another solution?




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.