company logo

ODABAClient :: ReceiveFile - Request file from server

The function copies the requested file from Server to client.

Return value:   - internal feature (not documented) ( NPath & )

Implementation details

NPath ODABAClient  :: ReceiveFile ( NPath &cpath, NPath &target )

The function copies the file passed from sSourcePath on the server. The target location is passed in sTargetPath . Source and target path may contain option variables. Source path option variables are resolved according to server settings.

When being send successfully, the function returns the local path for the file, otherwise an empty string.

  • cpath - Complete file or directory path
  • target - Complete path to target