dbTalk Databases Forums  

How to delete a file from remote server using DTS

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


Discuss How to delete a file from remote server using DTS in the microsoft.public.sqlserver.dts forum.



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

Default How to delete a file from remote server using DTS - 03-02-2004 , 04:51 AM






Hi

I need to delete a file from remote server in one of the tasks in DTS package. Any pointers on this would be of great help

Thanks
Ajit

Reply With Quote
  #2  
Old   
Darren Green
 
Posts: n/a

Default Re: How to delete a file from remote server using DTS - 03-02-2004 , 06:24 AM






What is remote about the server? How can you connect to the server? That
really isn't much to go on so I'll make a few guesses-

Use a UNC path and DOS delete.
Use SQL to call xp_cmdshell 'DEL File'
Use ftp.exe and a script with delete in.


--
Darren Green
http://www.sqldts.com

"Ajit" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi.

I need to delete a file from remote server in one of the tasks in DTS
package. Any pointers on this would be of great help.

Thanks,
Ajit



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.