Read file from ftpRequest and connect to Data Base

Dear All.,
we have a flowService which to read a zip-file and store this file in to some other folder. yby this we are not getting the same file-Name when we store the file in other folder. so now we are planning to write a sequence to read the file using ftp from the folder and later ive to connect DataBase(oracle) to store few of the Data in Data Base and store this file in to some other file. for this we are Using UNIX OS.
please let me know if any one have a solution for this.
Thanks&Regard’s
Kartheek

Why can’t you write the file to the new folder with the same filename? The standard java.io package will handle this for you.

I wouldn’t increase the complexity of your solution by adding in FTP and Oracle unless there was a reason to do so.

Mark