I need to move, create and delete a file across the network, but when I use I network path I get an Access denied, can Someone help me?
EXAMPLE:
exec master..xp_cmdshell "echo Hello world > \\sql_server\c\test2.txt"
-----------------------------
output
-----------------------------
Access is denied.
(1 row(s) affected)
EXAMPLE:
exec master..xp_cmdshell "echo Hello world > \\sql_server\c\test2.txt"
-----------------------------
output
-----------------------------
Access is denied.
(1 row(s) affected)