Previous Topic: bool CopyFileData()

Next Topic: CaHarvest


void SetFileAgent( LPTSTR szRemoteMachineName, LPTSTR szRemoteUserName, LPTSTR szRemotePassword, LPTSTR szClientPath, LPTSTR szPortNumber )

Sets information used for accessing a remote system.

Owning Class

CaFormAttachment

Arguments

LPTSTR - remote machine name

LPTSTR - remote user name

LPTSTR - remote password

LPTSTR - client path

LPTSTR - agent port number

Return Value

None

Exceptions

Throws CaException on error.

Example

FormAttachment.SetFileAgent(szBroker,szUser,szPassword,szPath, "7001");

More information: