client.dataPort(); client.representationType(FtpClient.IMAGE_TYPE);
	FtpClient createFtpClient(View view, String host, String port,		String user, String password, boolean ignoreErrors)	{		FtpClient client = new FtpClient();		try		{			Log.log(Log.DEBUG,this,"Connecting to " + host + ":" + port);			client.connect(host,Integer.parseInt(port));			if(!client.getResponse().isPositiveCompletion())			{				if(!ignoreErrors)				{					String[] args = { host,port, client.getResponse().toString() };					VFSManager.error(view,"vfs.ftp.connect-error",args);				}				return null;			}			client.userName(user);			if(!client.getResponse().isPositiveIntermediary())			{				if(!ignoreErrors)				{					String[] args = { host, port, user,						client.getResponse().toString() };					VFSManager.error(view,"vfs.ftp.login-error",args);				}				client.logout();				return null;			}			client.password(password);			if(!client.getResponse().isPositiveCompletion())			{				if(!ignoreErrors)				{					String[] args = { host, port, user,						client.getResponse().toString() };					VFSManager.error(view,"vfs.ftp.login-error",args);				}				client.logout();				return null;			}			return client;		}		catch(SocketException se)		{			if(ignoreErrors)				return null;			String[] args = { host,port, client.getResponse().toString() };			VFSManager.error(view,"vfs.ftp.connect-error",args);			return null;		}		catch(IOException io)		{			if(ignoreErrors)				return null;			String[] args = { io.getMessage() };			VFSManager.error(view,"ioerror",args);			return null;		}	}