Greetings,
I've uploaded Applet_FTP.HTML and .JS to my clients server in the root directory. I've put the LIB library there as well and included the i18n.properties file. I've installed the jspupload2.0 directory onto the webserver including WEB-INF and the process and Exceptionhandler.jsp files. I've moved the LIB directory into the WEB-INF directory per instructions.
The Applet_FTP.JS file has been configured to see the process.jsp file in both areas.
I'm displaying a box, but no functionality
I've used the applet files found in the root of the UnZipped JfileUpload2.0 directory.
I'm a bit confused about which Applet files to use. There are a bunch of Applet pairs located in many directories in /documentation. Am I using the right ones? I find a jfileupload directory under documentation/asp with /transfer and /upload. Am I to use these pairs?
My apologies for my confusions and lack of expertise. For me the instructions are not clear.
Thanks for your time,
AE Video & Web
Installation - What files go where?Re: Installation - What files go where?Ok, you're using JFileUpload applet (that will be loaded in the browser) and JSPUpload script (that will be loaded on server-side) to handle upload request.
Your installation seems correct. Let's check it together: 1- JFileUpload. You said you've installed it under document root so you should have: /applet_http.js /applet_http.html /applet_ftp.js /applet_ftp.html /i18n.properties /license.oxw (optional) /lib/chttpclient.jar /lib/clogging.jar /lib/cnet.jar /lib/ftpimpl.jar /lib/httpimpl.jar /lib/jfileupload.jar Now try http://yourserver.com/applet_ftp.html in your browser. It should load the applet, prompt for a security pop-up you have to accept and display the applet UI with panel, progress bar and button. Does it work ? 2 - JSPUpload JSP upload allows to handle upload HTTP requests sent by JFileUpload. If you're using FTP upload then you don't need it at all. It's a JSP/Servlet server-side component. It means that your web server must support JSP/Servlet, does it ? If not then it won't work. Assuming your web server supports JSP/Servlet you can also install on document root: /ExceptionHandler.jsp /process.jsp /WEB-INF/web.xml /WEB-INF/lib/commons-fileupload.jar /WEB-INF/lib/commons-io.jar /WEB-INF/lib/jspupload.jar Now try http://yourserver.com/process.jsp directly in your browser. It will display an HTML form to simple upload. Try it. If it works then it means it's ready to be used with applet_http.html from JFileUpload (update "url" parameter in applet_http.js according to process.jsp). Does it help ? Once again, if you plan to use FTP upload with applet_ftp.html then you DO NOT need JSPUpload. You need a FTP server only. If you plan HTTP upload with applet_http.html then you need JSPUpload or any others script such as PHPUpload, PerlUpload, CFMUpload available in add-ons section: http://www.jfileupload.com/products/tools/index.html
Re: Installation - What files go where?Thank you support team,
Having this list and explaination is very helpful. With what you have provided I am able to get the interface working. Even though my server company says it supports JSP, I found that the HTTP upload works. I am getting an error message HTTP1.1 405 Method Not Allowed. I've been searching documentation for error messages and what the meaning is, but am unable to find. Your thoughts please? Thanks, AE Video & Web Re: Installation - What files go where?Does the applet return this error when you try to upload ?
Did you check that simple upload from browser work ? http://www.yourserver.com/process.jsp If you could share a testing URL then I could check what's wrong.
Re: Installation - What files go where?Greetings once again,
Yes the error message is returned when I drop a file on and finish the upload. I tried the Simple Upload and got this error message: Upload started ...Upload failed : java.net.ConnectException: Connection refused: connect Testing URL is For JFileUpload: http://www.colemantranscriptions.com For JFileExplorer: http://www.colemantranscriptions.com/ap ... lorer.html Thank you for your time and help AE VideoWeb Re: Installation - What files go where?Look at:
http://www.colemantranscriptions.com/process.jsp It seems to work but it doesn't. It displays JSP source code instead of the basic HTML form to upload file. Are you sure your hosting service support JSP/Servlet ? If they don't, then they should support PHP ? We also provide PHP sample script.
Re: Installation - What files go where?Thank you. I talked with my hosting company, they seemed a bit hesitant on the information about Java. I will check again. If not, I will use the PHP forms.
Tom
Re: Installation - What files go where?Good day,
I'm thinking that my server doesn't have the Java support. I would like to try the PHP versions of the JFileUpload and the JFile Explorer. I found the Phpscript2.0.zip. Is there one for the JFileExplorer? Thank you, AE VideoWeb Re: Installation - What files go where?Yes, under server-side/php folder in JDiskExplorer package.
|