java - how to automatically and periodically upload a file from a windows machine to a unix server? -
On my window machine, I have 2 csv files which I want to transfer to every UNIX server (because there are 2 files < / P>
Then I search the web and I get this possibility: to FTP files from Unix files using windows by using batch and task scheduler.
I want to know if This is done with a cron job from a UNIX server or with a Java timer. It is possible and not by the machine of the machine, and if there are other easy solutions.
Thanks for your help
The main problem you want is to allow the Unix machine to access a Windows file.
It does not specify which type of networking configuration you use and what Type is a version of Windows, because some later versions use the file on the platform.
In the worst case scenario, you will file a FTP (or SFTP) server on your Windows machine, share a specific directory in W. You will keep the file, and then a script on Unix Will download the file from a Windows machine. A change on this is to install a web server on the Windows machine, and the script on Unix is to make an HTTP request for the file.
Comments
Post a Comment