git-tfs-id: [http://tfs.userrendszerhaz.hu:8080/tfs/DefaultCollection]$/MediaCube...
authorSweidan Omar <TFS\sweidan.omar>
Mon, 6 Dec 2021 10:27:27 +0000 (10:27 +0000)
committerSweidan Omar <TFS\sweidan.omar>
Mon, 6 Dec 2021 10:27:27 +0000 (10:27 +0000)
server/user.jobengine.osgi.commons/src/user/commons/remotestore/FtpDirectoryLister.java

index f23cde000b6bba1e21b6282268e73c8c5d9be21e..11027ce9490e068471b7eb3c2615a0ff887f7c24 100644 (file)
@@ -92,7 +92,7 @@ public class FtpDirectoryLister implements IDirectoryLister {
                String path = storeUri.toString(true);\r
                String[] pathElements = path.split("/");\r
                ftpClient = new FTPClient();\r
-               //5mp\r
+               // 5mp\r
                ftpClient.setConnectTimeout(5000);\r
 \r
                int tryconnect = 3;\r
@@ -119,7 +119,7 @@ public class FtpDirectoryLister implements IDirectoryLister {
                ftpClient.setFileType(FTP.BINARY_FILE_TYPE);\r
                ftpClient.enterLocalPassiveMode();\r
 \r
-               //210510 ha tud, akkor menjen a gyoker konyvtarba ld. AMC ISILON valtas\r
+               // 210510 ha tud, akkor menjen a gyoker konyvtarba ld. AMC ISILON valtas\r
                ftpClient.changeWorkingDirectory("/");\r
 \r
                if (pathElements.length > 1) {\r
@@ -154,7 +154,6 @@ public class FtpDirectoryLister implements IDirectoryLister {
 \r
        @Override\r
        public void ensureOutputDirectory() {\r
-               // TODO Auto-generated method stub\r
 \r
        }\r
 \r
@@ -178,7 +177,7 @@ public class FtpDirectoryLister implements IDirectoryLister {
                        FTPFile[] files = ftpClient.listFiles(fileName);\r
                        if (files != null && files.length == 1)\r
                                result = toRemoteFile(files[0]);\r
-                       //                      cleanUp();\r
+                       // cleanUp();\r
                }\r
                if (result == null)\r
                        throw new FileNotFoundException(storeUri.toString() + "/" + fileName);\r
@@ -190,7 +189,7 @@ public class FtpDirectoryLister implements IDirectoryLister {
                RemoteFile result = null;\r
                connect();\r
                if (ftpClient != null) {\r
-                       //TODO eleg a try?\r
+                       // TODO eleg a try?\r
                        try (InputStream input = ftpClient.retrieveFileStream(name)) {\r
                                checkCompletePending = true;\r
                                if (input != null) {\r
@@ -250,7 +249,7 @@ public class FtpDirectoryLister implements IDirectoryLister {
                                RemoteFile file = createRemoteFile(ftpFile);\r
                                result.add(file);\r
                        }\r
-                       //                      cleanUp();\r
+                       // cleanUp();\r
                }\r
                return result;\r
        }\r
@@ -284,7 +283,6 @@ public class FtpDirectoryLister implements IDirectoryLister {
 \r
        @Override\r
        public void list(String wildCard, IRemoteFileListCallback callback) throws Exception {\r
-               // TODO Auto-generated method stub\r
 \r
        }\r
 \r