|
I would write a batch file that did the following:
1. Use command line ftp to get the file.
2. Move the file to the appropriate directory.
3. Call the java program do do the renaming.
This makes the Java program very simple. It can do the rename via the java.io.File object.
|