The methods of the OBEXFtpClient class are listed below. For a complete list of OBEXFtpClient class members, see the OBEXFtpClient Members topic.
![]() ![]() | Determines whether the specified Object instances are considered equal. |
![]() ![]() | Determines whether the specified Object instances are the same instance. |
![]() | Overloaded. establishes OBEX session with the remoted device already connected by conn |
![]() | creates new directory |
![]() | Deletes file or directory of the current directory. Note Only empty directory can be deleted, you have first to emptify the directory deleting file by file of that directory and then to delete directory. |
![]() | Navigates one dir level up to parent directory. |
![]() | Only send OBEX disconnect command to the remote device. Please note that ClientConnection will remain opened |
![]() | Determines whether the specified Object is equal to the current Object. |
![]() | Gets file from current directory |
![]() | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
![]() | Gets the Type of the current instance. |
![]() | Returns XML directory listing of the current directory Use DirParser class to parse this XML listing. |
![]() | puts a file in current directory OBEXFileObject NoteFile = new OBEXFileObject(OBEXFtpClient.DefaultPacketLen); NoteFile.Name = "my file.txt"; NoteFile.Type = "text/plain"; NoteFile.Bytes = BTUtils.StrToByteArray("tesing data"); OBEXFtpClient.Put(NoteFile); |
![]() | send OBEX command. no changes are made to the command it is just being marshaled. OnSendCmd event is fired before marshaling command to transport data OnSendData event is fired before sending marshaled data to the remote device OnReadData event is fired after data is received OnRecvResponse event is fired after response data was parsed |
![]() | Send the Cmd command and collects response while obex response is continue |
![]() | send commands in packet OBEXHeader[] FileHeaders = file.OBEXHeaders; OBEXCommand[] Commands = SplitPut(FileHeaders); SendCommandPut(Commands); |
![]() | Returns a String that represents the current Object. |
![]() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. |
![]() | this method is called after response to the connect command is received by the class. |
![]() | Adds TARGET header to the connection request |
![]() | Creates a shallow copy of the current Object. |
![]() | Overloaded. establish OBEX session to the device, maximum OBEX packet length is specified in PacketSize. |
![]() | headers must be in order of sending. splits headers into commands suitable for sending taking max obex packet length into account |