src/net/java/sip/communicator/impl/protocol/jabber/OperationSetFileTransferJabberImpl.java
/**
     * Sends a file transfer request to the given <tt>toContact</tt> by
     * specifying the local and remote file path and the <tt>fromContact</tt>,
     * sending the file.
     *
     * @return the transfer object
     *
     * @param toContact the contact that should receive the file
     * @param fromContact the contact sending the file
     * @param remotePath the remote file path
     * @param localPath the local file path
     */
Sends a file transfer request to the given toContact by
specifying the local and remote file path and the fromContact,
sending the file.

@return the transfer object

@param toContact the contact that should receive the file
@param fromContact the contact sending the file
@param remotePath the remote file path
@param localPath the local file path
Sends a file transfer request to the given toContact by specifying the local and remote file path and the fromContact sending the file . @return the transfer object @param toContact the contact that should receive the file @param fromContact the contact sending the file @param remotePath the remote file path @param localPath the local file path
public FileTransfer sendFile(   Contact toContact,
                            Contact fromContact,
                            String remotePath,
                            String localPath)
        throws  IllegalStateException,
                IllegalArgumentException,
                OperationNotSupportedException
    {
        return this.sendFile(toContact, new File(localPath));
    }
public FileTransfer sendFile ( Contact toContact , Contact fromContact , String remotePath , String localPath ) throws IllegalStateException , IllegalArgumentException , OperationNotSupportedException { return this . sendFile ( toContact , new File ( localPath ) ) ; }
Sends a file transfer request to the given <tt>toContact</tt> by
 specifying the local and remote file path and the <tt>fromContact</tt>,
 sending the file.
Sends a file transfer request to the given <tt > toContact< / tt > by specifying the local and remote file path and the <tt > fromContact< / tt > sending the file .