Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for FtpInfo (0.04 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java

            assertEquals(value, ftpInfo.toUrl());
            assertEquals("123.123.123.123:21", ftpInfo.getCacheKey());
            assertEquals("123.123.123.123", ftpInfo.getHost());
            assertEquals(21, ftpInfo.getPort());
            assertEquals("/", ftpInfo.getParent());
            assertEquals("ใƒ†ใ‚นใƒˆ.txt", ftpInfo.getName());
    
            value = "ftp://123.123.123.123/";
            ftpInfo = new FtpClient.FtpInfo(value);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/ftp/FtpClient.java

                final FtpInfo ftpInfo = new FtpInfo(uri);
                responseData.setUrl(ftpInfo.toUrl());
    
                client = getClient(ftpInfo);
    
                FTPFile file = null;
                client.changeWorkingDirectory(ftpInfo.getParent());
                validateRequest(client);
    
                if (ftpInfo.getName() == null) {
                    // root directory
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 25.7K bytes
    - Viewed (0)
Back to top