hi ranchers, pls I am writing an application using jsp and tomcat1.4,the application is supposed to connect to a database(oracle),pick up the path to a file,which is stored as a string in a table in the database,then follow the path and copy the file into a seperate folder,the connection to the database and picking up of the path I can do but,following and copying the file on to a different folder I cant pls how do I accomplish this thanks thanks I need to copy from the server to the client machine [ August 17, 2005: Message edited by: Yinka Olicks ]
There is nothing specific in JSP for moving files. There are APIs in Java for dealing with files (java.io.*) and there are various libraries available for dealing with FTP, and networking in general. IE: http://jakarta.apache.org/commons/net/
Your approach will depend on factors such as OS you're running, what kind of network you have, and your applications specific requirements.