public void run(final File[] exportFiles, final DocumentManager.FTPOptions options, UIFacade uiFacade) {
IJobManager jobManager = Platform.getJobManager();
IProgressMonitor monitor = jobManager.createProgressGroup();
Job startingJob = new Job("starting") {
protected IStatus run(IProgressMonitor monitor) {
monitor.beginTask("Publishing files on FTP", exportFiles.length);
try{
final URL baseUrl = buildURL(options);
if (baseUrl==null) {
throw new RuntimeException("Failed to discover your FTP settings. Please make sure that you specified server name and user name");
}