I have an applet which records sound. This applet is integrated in VAADIN application using AppletIntegration addon. The applet runs just fine. Now, I have to upload that recorded file to my server, on which the vaadin app is running. How could I do that. Any solution , any ideas ?
Thanks.
Emm...
You can use HttpComponents its HttpClient + FileUpload libs combination;
For more detailed information you can read this and this examples
P.S.
Please report if that helps
Good luck
Related
My we application is facing constant intrusions. It is hosted in windows server. I have posted my issues here before.
I have also update all the jars, but with no results.
Now what I found is that some unwanted files are upload uploaded in the server, which takes 100% CPU or making unknown activities to the server.
I guess they are uploaded from my web application of struts2. Jboss console is provided in details here. Now my question is if there is any way to stop uploading files via struts2
Thanks in advance
I am returning a Zipped file say My_File.txt.zip from the My server side using JAX-RS (Jersey). My server-side is Java.
So I am getting the My_File.txt.zip in the client side while downloading.
But I want the actual file My_File.txt while downloading in the browser.
Is it possible?
I am working with Glassfish 3.x. So I there any configuration on Glassfish to do this?
Or can i change the configuration in Firefox (or other browsers) to do this?
Please suggest me the correct answer.
Thanks in advance.
Now I have two .jar files: one is a chat Client and the other one is the chat Server. They are running fine on my desktop application, but now I want to upload them to run on my website. What is the best method for doing this? I have the following files:
chatclient.jar
chatserver.jar
Can some one please advise on how to put them in my web page without having to download them when a user clicks on them?
You do not provide enough information.
What would you like to achieve?
What technologies are you using inside the JARS?
Why not package the server jar with a web application ?
Is your client a desktop application, if so, why not to put it in the client's classpath?
Maybe consider having the client implemented in JavaScript using jQuery for example and some web sockets technology,
or maybe using some java web framework or tookit like GWT or Apache Wicket?
I'm developing a Flex application that should run on Google App Engine. This app should be able to load larg-ish XML files (1 to 50MB) from GAE and save them again.
[UPDATE]
I'm using Java. The Flex app is already running on GAE - but can't yet load/save files. The Blobstore API documentation talks about using a multipart POST - how would I do this in Flex?
Which language are you using in GAE, java or python?
What is your problem? You don't know how to use the Blobstore API? Or you don't know how to use flex with GAE?
If you are using python Gae and do not have any idea about Gae with flex, you may have a look on the following:
http://aralbalkan.com/1333
http://fernandoacorreia.wordpress.com/2008/07/15/flex-and-python-project/
A little bite old, but very userful.
Update:
You can use the UploadPostHelper library to send the multipart/form-data in flex. Please refer to the following site to get the idea on how to use this library:
http://marstonstudio.com/2007/10/19/how-to-take-a-snapshot-of-a-flash-movie-and-automatically-upload-the-jpg-to-a-server-in-three-easy-steps/
Wish this can help.
you want to load a 50MB XML file to the client? Why?
I have a fast internet connection but still 50Mb is a lot...
You can use PyAMF: http://www.pyamf.org/tutorials/gateways/appengine.html
i have to upload large number of files to server, directly from my pc, using only web browser.
which is best way to achieve that?
do i need some java applet, or is it possible to achieve woth php/jquery?
will it be unsecure if i try with php script that works with ftp connection?
thank you in advance!
There's various ready-made plugins on doing file upload on jquery.
Doing this kind of uploading hacks is not an enjoyable experience, so people enjoy using ready-made solutions.
Here's few:
Ajax File Upload Plugin
Multiple File Upload Plugin
jQuery forms plugin this posts your files through an iframe to get the effect :
you can also try this
You can search more from jquery's plugin -site.
If your only web browser is mozilla firefox, then try fireftp addon plugin, it works similarly as normal FTP app.