Example usage for org.apache.commons.net.ftp FTPReply FILE_ACTION_OK

List of usage examples for org.apache.commons.net.ftp FTPReply FILE_ACTION_OK

Introduction

In this page you can find the example usage for org.apache.commons.net.ftp FTPReply FILE_ACTION_OK.

Prototype

int FILE_ACTION_OK

To view the source code for org.apache.commons.net.ftp FTPReply FILE_ACTION_OK.

Click Source Link

Usage

From source file:org.bigmouth.nvwa.network.ftp.client.SimpleFTPClient.java

private boolean dirExists(String path) throws IOException {
    int reply = client.cwd(path);
    return (FTPReply.FILE_ACTION_OK == (reply));
}