.NET Framework Class Library
RemoteAccess.DownloadFile Method

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > .NET API > MwPDMApi Namespace > RemoteAccess Class > RemoteAccess Methods >

.NET Framework Class Library
RemoteAccess.DownloadFile Method

With the Remote Access Mode enabled, Download a remote file in the local folders, with no need to have it registered in the database.

Namespace: MwPDMApi
Assembly:  MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

Visual Basic

Public Sub DownloadFile ( _

localPathName As String, _
remoteCompanyID As String _
)

C#

public void DownloadFile(

string localPathName,
string remoteCompanyID
)

Visual C++

public:

void DownloadFile(
String^ localPathName,
String^ remoteCompanyID
)

JavaScript

function downloadFile(localPathName, remoteCompanyID);

Parameters

localPathName

Type: System.String
full path name as it appears on the Remote Company network

remoteCompanyID

Type: System.String
any valid COMPANY_ID declared in the DBW_COMPANY_INFO table

Remarks

See Also

RemoteAccess Class

RemoteAccess Members

MwPDMApi Namespace