Package cu.ftpd.commands.transfer

Examples of cu.ftpd.commands.transfer.CommandRETR


        } else if ("ASCII".equals(fs.getType()) && fs.getOffset() > 0) {
            respond("503 Bad sequence of commands (cannot resume transfers in ASCII mode)");
        } else {
            if (filename != null) {
                // NOTE: the before/after triggers for RETR are in CommandRETR.start()
                transfer = new CommandRETR(this, fs, user, filename, encryptedDataConnection, sscn||cpsv, ServiceManager.getServices().getSettings().getBoolean("/main/fast_ascii_transfer"));
                transfer.start();
            } else {
                respond("501 Must specify a file.");
            }
        }
View Full Code Here

TOP

Related Classes of cu.ftpd.commands.transfer.CommandRETR

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.