|
<< Click to Display Table of Contents >> Navigation: Programming Mechworks PDM > DBWCommandShell > Commands Reference > RemoteAccess > DownloadFile |
available from build: 20050422 |
The command allows to download a remote file in the local folders, with no need to have it registered in the database.
call DBWShell("DownloadFile LocalPathName RemoteCompanyID")
LocalPathName |
the full path name as it appears on the Remote Company network |
|---|---|
RemoteCompanyID |
any valid COMPANY_ID declared in the DBW_COMPANY_INFO table |
It checks for any existing local file already registered in the database as proprietary.
Assuming it is a foreign file, it always set the copied file as read-only ( with DBWServer read-only rights, if running ).
The file path must be compatible with the local folders structure, having the file network drive be available on the local network.