I am using following method to download file from remote.
public String download( String localFilePath, String remoteFilePath) throws WrongConfigurationExcept