List of usage examples for org.apache.commons.net.ftp FTP FILE_STRUCTURE
int FILE_STRUCTURE
To view the source code for org.apache.commons.net.ftp FTP FILE_STRUCTURE.
Click Source Link
From source file:org.mockftpserver.stub.StubFtpServerIntegrationTest.java
/** * Test file structure (STRU)/*from ww w . j av a 2 s . co m*/ */ public void testStru() throws Exception { ftpClientConnect(); // STRU boolean success = ftpClient.setFileStructure(FTP.FILE_STRUCTURE); assertTrue("Unable to STRU", success); verifyReplyCode("setFileStructure", 200); }