I am trying to checkout file through client code but file.checkout downloads to browser download location.
Using Chrome browser. ActiveXobject is not supported in chrome.
Any help/suggestion would be helpful
For security reasons, browsers have limited access to the client file system. ActiveX is a framework created by Microsoft to get around some of these limitations, but it's only supported on Internet Explorer. Even then, Aras has moved away from using ActiveX controls since Aras Innovator 11.0 SP9 so in newer versions it is impossible to download a file to a specific location on a client machine.
The only location that you'll have access to is the specific folder path that the client has set as its download directory.