1. Need help in issuing the tail command to the remote server from the GUI stackoverflow.comI am developing a tool to collect the logs from the remote server(Solaris) to the local system(Windows). I successfully established a connection with the server using TelnetToClient.java. I tried to issue ... |
2. FTP and drive avaialability coderanch.comIn dealing w/FTP, I'm trying to get the program to show which drives are available (and which are full.) I believe I saw something relating to this in swing, if not, I stand corrected. ANY advice, specific or general, or a source to figure this out would be helpful and appreciated. Thanks in advance. |
3. Filetransfer (FTP or similar) coderanch.comSeems this is a good day for questions, so here goes another one. I need to give users some way to move files from their local machine running my Java client to a server (which I don't have root privilegies on). The files are mostly images and PDF files so what I basically need is some FTP or FTP-like functionality to ... |
4. ftp client coderanch.com |
5. Slow Swing FTP Problem coderanch.comHi Guys, I'm trying to create a swing gui to ftp a file onto a server. I'm using the apache commons package to achieve this. I'm using the following code; FTPClient client = new FTPClient(); File sourceFile = new File("/Users/jazchana/Desktop/testPackageLocation/test/image.jpg"); client.connect(ftpHostName); System.out.println("connecting"); client.login(ftpLogin, ftpPassword); System.out.println("login"); client.changeWorkingDirectory(ftpDirectory); System.out.println("change dir"); client.makeDirectory(sourceFile.getName()); System.out.println("make dir"); client.changeWorkingDirectory(sourceFile.getName()); System.out.println("change dir again"); System.out.println("store file"); client.storeFile("autorestart.sh", new FileInputStream(sourceFile.getAbsolutePath())); System.out.println("file ... |
6. How to remove remote non-empty directory in FTP coderanch.com |