company logo

ODABAClient :: ReceiveFile - Request file from server

The function copies the requested file from Server to client. When being send successfully, the function returns the local path for the file, otherwise an empty string.

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

Implementation details

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

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.

passing true in bRemove, the file will be removed from server after being copied successfully.

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
  • del_opt - del_opt - Title unknown