Someone
public text v1 · immutableBEFORE EDIT:
try {
SFVFile sfv;
try {
sfv = conn.getCurrentDirectory().lookupSFVFile();
} catch (FileStillTransferringException e) {
// I have no idea how to handle this
return new Reply(400, "SFVFile still transferring.");
}
if (checkName.endsWith(".sfv") &&
AFTER EDIT:
try {
SFVFile sfv;
// try {
sfv = conn.getCurrentDirectory().lookupSFVFile();
// } catch (FileStillTransferringException e) {
// I have no idea how to handle this
// return new Reply(400, "SFVFile still transferring.");
// }
if (checkName.endsWith(".sfv") &&