I want a Java class to download files from a Windows machine to a Unix server, and upload files from Unix server to Windows machine using FTP. Both jobs should run synchronously to perform these tasks.I assume here I need two threads.
Could anyone post sample code to perform the above tasks, please?
I suggest the Apache Commons Net library.