Copy, Delete Files, and Transfer via DTS

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Priska (priska_at_hotpop.com)
Date: 08/26/04


Date: Thu, 26 Aug 2004 20:03:19 +0700

Hi,
I need to transfer files from another server to my database server (SQL
Server 7).
The job details is:
1. copy the files to backup folder ( d:\ftp\backup_data\ ), the backup
filename added with currentdate and time. I use xp_cmdshell.
2. load the file content to database. I use DTS from text file.
3. delete the source file. (xp_cmdshell).

The problem is xp_cmdshell is denied for accessing a mapping path, so copy
and deletion process will not run. I've try both sql server administrator
level or NT 4 administrator level login, but it still did'nt work.

Is there's anyway to do this?

Thanks in advance

Teguh



Relevant Pages

  • Re: Security Update for SQL Server 2000 Service Pack 4 (KB948110)
    ... log into SQL Server. ... Authentication) The other is SQL Authentication where, ... the 948110 hotfix will not work on a database server ...
    (microsoft.public.windowsupdate)
  • what is a SQL server
    ... It is a special Database server which runs SQL(Structured ... Query Language) SQL is a computer language developed by ... The SQL server's primary function (but not ...
    (microsoft.public.access.gettingstarted)
  • Re: Slow Process
    ... SSAS Performance Guide has a lot of material on optimizing processing: ... SQL BI Product Unit ... > If the database server is half decent you should be getting throughput ...
    (microsoft.public.sqlserver.olap)
  • Re: AntiVirus Software on SQL Server
    ... Consideration for a Virus Scanner on a Computer That Is Running SQL ... However do test on a test server. ... I was taught that running Anti-virus software on a database server ...
    (microsoft.public.sqlserver.security)
  • Re: restore problem about sql server
    ... If you are getting access denied error then make sure your Sql instance ... authentication is eiter mixed mode or in SQl server authentication mode ... way to check is open query analyzer from your laptop and give the same ... besides this make sure both database server and your laptop are in the ...
    (comp.databases.ms-sqlserver)