public void run()
	{
		/*
		try
		{
			updateProgressbarLock.lock();
			
			uploadInfo.filesSending++;
			uploadBar.setVisible(true);
		}
		finally
		{
			updateProgressbarLock.unlock();
		}
		*/
		
		try
		{
			connectToServer();
			getStreams();
			sendFile();
		}
		catch(IOException exception)
		{
			System.err.println("\nError in I/O during file trasfer");
		}
		finally
		{
			closeConnection();
			
			/*try
			{
				updateProgressbarLock.lock();
				
				if(--uploadInfo.filesSending==0)
				{
					uploadInfo.filesSize = uploadInfo.bytesSent = 0L;
					uploadBar.setVisible(false);
				}
			}
			finally
			{
				updateProgressbarLock.unlock();
			}
			*/
		}
	}