SFVFile sfv; try { sfv = conn.getCurrentDirectory().lookupSFVFile(); } catch (FileStillTransferringException e) {} // I have no idea how to handle this