Re: xp_cmdshell not creating txt file

From: D (D_at_discussions.microsoft.com)
Date: 07/19/04


Date: Mon, 19 Jul 2004 13:02:01 -0700

Thank you so much that worked for me.

"Aaron [SQL Server MVP]" wrote:

> You're going to have to create a share on the SQL Server so that it can push
> the file to, e.g., X:\ (SQL Server will never see YOUR C:\ as C:\).
>
> Or, have the code run from your machine and pull the data from the remote
> SQL Server. Then you'll have to worry less about permissions from the SQL
> Server side to your desktop.
>
> --
> http://www.aspfaq.com/
> (Reverse address to reply.)
>
>
>
>
> "D" <D@discussions.microsoft.com> wrote in message
> news:F24CBEF1-952A-4A35-8112-BFE9FBF23F72@microsoft.com...
> > They're different drives. The code works if I put it on the server now
> because I got permission to put it there but I want it on my hard drive.
> >
> > "Aaron [SQL Server MVP]" wrote:
> >
> > > > I need a txt file to be created on my hard drive.
> > >
> > > Are your hard drive and SQL Server's hard drive the same drive, or are
> they
> > > different drives?
> > >
> > > --
> > > http://www.aspfaq.com/
> > > (Reverse address to reply.)
> > >
> > >
> > >
>
>
>



Relevant Pages

  • Re: write with cURL
    ... execute permissions. ... of potential security risks from other users on the same server. ... I made this suggestion because their web host appears to run Apache ... risk to allow Apache's group write access, since all PHP scripts ran ...
    (alt.php)
  • RE: Windows 2003 Server - Everyone Group
    ... this folder only accessable by the users in the "special" group. ... Configure User and Group Access on an Intranet in Windows Server ... NTFS files system permissions control ... group that you want to set permissions for, click Check Names to verify the ...
    (microsoft.public.win2000.networking)
  • Fail DBD::Mysql 4.003 installation
    ... This test requires a running server and write permissions. ... permissions, then retry. ... Failed 9/9 tests, 0.00% okay ...
    (perl.dbi.users)
  • Re: write with cURL
    ... execute permissions. ... of potential security risks from other users on the same server. ... I made this suggestion because their web host appears to run Apache ... risk to allow Apache's group write access, since all PHP scripts ran ...
    (alt.php)
  • Re: Virtual Directory - Permission Denied with fso CopyFile
    ... TestUser (normal user account with same credentials on all machines). ... I created a share on a remote server. ... reviewing it's sharing permissions and security tab permissions "everyone" ... "directory security" tab on the vdir and selecting, edit, edit and manually ...
    (microsoft.public.inetserver.iis)