Instance Method

sendFile:

Put a local file to the remote target

Declaration

- (OBEXError)sendFile:(NSString *)inLocalPathAndName;

Parameters

inLocalPathAndName

The name and path of the file to be sent an instance of OBEXFilePut.

Return Value

kOBEXSuccess, kOBEXSessionBusyError, or kOBEXBadArgumentError initially. Further results returned through the fileTransferServicesSendComplete: and fileTransferServicesSendProgress: delegate methods if initially successful.

Discussion

Equivalent to 'mv inLocalFilePath remoteCurrentPath'.