Package cu.ftpd.commands.transfer

Examples of cu.ftpd.commands.transfer.DataConnectionListing


    private void mlsd(String path) {
        if (ServiceManager.getServices().getSettings().getInt("/ssl/data_connection_mode") == 2 && !encryptedDataConnection) {
            // according to RFC 4217, this should be here and not in PASV/PORT
            respond("521 data connection cannot be opened with this PROT setting");
        } else {
            transfer = new DataConnectionListing(DataConnectionListing.MLSD, fs, this, path, encryptedDataConnection);
            transfer.start();
        }
    }
View Full Code Here


                } else {
                    // otherwise we just got a "LIST -la" or something. This is by far the most common occurance
                    parameters = null;
                }
            }
            transfer = new DataConnectionListing(listMode, fs, this, parameters, encryptedDataConnection);
            transfer.start();
        }
    }
View Full Code Here

                } else {
                    // otherwise we just got a "LIST -la" or something. This is by far the most common occurance
                    parameters = null;
                }
            }
            transfer = new DataConnectionListing(DataConnectionListing.LIST, fs, this, parameters, encryptedDataConnection);
            transfer.start();
        }
    }
View Full Code Here

                } else {
                    // otherwise we just got a "LIST -la" or something. This is by far the most common occurance
                    parameters = null;
                }
            }
            transfer = new DataConnectionListing(DataConnectionListing.NLST, fs, this, parameters, encryptedDataConnection);
            transfer.start();
        }
    }
View Full Code Here

TOP

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

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.