When calling AdsCopyTable and specifying the target path as 'C:\MyFolder\Tablename.adt', a folder named MyFolder is created on the server and the table is copied to that folder. This is consistent with the help description of attempting a server copy and doing client copy only if that fails.

I sthere a way to override this and always force a client copy even if same path is accessible on server.


asked 08 Nov '12, 07:54

Jack's gravatar image

accept rate: 14%

I have not had a chance to try it, but perhaps use a UNC path instead. Technically C:\ is a valid name on the server, however if the pucFile is not a valid path on the server it should perform the client side copy.

This would be a good path I think \<hostname>\c$\myfolder\tablename.adt


answered 09 Nov '12, 10:28

Edgar%20Sherman's gravatar image

Edgar Sherman
accept rate: 25%

This would require C$ share to always be enabled on the client computer.

We have code doing AdsCopyTable with the intended target being the client that I used to work as intended and somehow stopped working along the way. Is it possible that up to a certain version if the target folder was not created on the server, a client copy would be made instead of the folders being auto created on the server.

(11 Nov '12, 14:33) Jack
Your answer to the original question.
If responding to a request for additional information, please edit the question or use the comment functionality.
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 08 Nov '12, 07:54

Seen: 1,530 times

Last updated: 11 Nov '12, 14:33

Advantage Developer Zone Contact Us Privacy Policy Copyright Info

Powered by Advantage Database Server and OSQA
Disclaimer: Opinions expressed here are those of the poster and do not necessarily reflect the views of the company.