copyRemoteFile(_:toLocalPath:)
Copy a remote file to a local path
Declaration
func copyRemoteFile(_ inRemoteFileName: String!, toLocalPath inLocalPathAndName: String!) -> OBEXErrorParameters
- inRemoteFileName:
The name of the remote file to get
- inLocalPathAndName:
The path and name of where the received file will go
Return Value
kOBEXSuccess, kOBEXSessionBusyError, or kOBEXBadArgumentError. initially. Further results returned through the fileTransferServicesGetComplete: and fileTransferServicesGetProgress: delegate methods if initially successful.
Discussion
Equivalent to ‘cp remotePath/remoteFileName localPathAndName’.