Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Import/Export (DTS) and Replication (2000)
 BCP to export to shared network folder

Author  Topic 

rewry
Starting Member

6 Posts

Posted - 2002-01-09 : 16:55:39
I want to use BCP (or whatever) to export files to a shared network folder. When I use a path/file name similar to
\\SERVER\FOLDER\filename.txt
I get an error, probably a permission thing.

Is there a way to pass a login and password so that the stored procedure executing the BCP command can "log in" to the shared folder?

Thanks in advance.

Merkin
Funky Drop Bear Fearing SQL Dude!

4970 Posts

Posted - 2002-01-09 : 18:33:22
Hi

Why don't you just give write access for the folder to the account that SQL Server is running as ?



Damian
Go to Top of Page

rewry
Starting Member

6 Posts

Posted - 2002-01-14 : 12:00:27
ok, here's the admin question. how do i go about setting permissions on server "A" for a user on server "B"?

thanks for your help.
Go to Top of Page
   

- Advertisement -