Thread: FTP in java
View Single Post
  #2 (permalink)  
Old 07-30-2007, 09:40 PM
brianhks brianhks is offline
Senior Member
 
Join Date: Jul 2007
Posts: 134
brianhks will become famous soon enough
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.
Reply With Quote