mariam Posted July 7, 2011 Share Posted July 7, 2011 Hi, i would like to know if it is possible for me to upload say a text file on the web server of my webhost (000webhost.com) directly from my website. As in the website would have an upload button which would upload the file directly on the webserver (instead of me going to 000webhost.com >> members area>> control panel>>filemanager>>upload etc etc). Actually i want this java application me and my college friends are developing to send a text file to the web server that would be plotted by this applet. I somehow need to get the text file from java (mobile phone) to the webserver. On client end (mobile3/java) we have used httppost that asks for a url to send the file to. We have that part ready but we dont know what url to give to get the the text file on the server. Does anybody has any idea regarding this? ps: i am not sure where to post this so i've posted it in 2 forums Quote Link to comment https://forums.phpfreaks.com/topic/241329-upload-file-to-server-directly-from-my-website/ Share on other sites More sharing options...
phpnerd Posted July 8, 2011 Share Posted July 8, 2011 You can try jfileupload http://www.jfileupload.com/ They have many utility tools like jdisk explorer which will help you to achieve what you want. Quote Link to comment https://forums.phpfreaks.com/topic/241329-upload-file-to-server-directly-from-my-website/#findComment-1239954 Share on other sites More sharing options...
mariam Posted July 8, 2011 Author Share Posted July 8, 2011 Thanks for the reply. i checked the link it says "JFileUpload - Upload files and folders with a java applet." However the file im trying to upload is just a text file (being sent from a java application). Its not a java applet. Quote Link to comment https://forums.phpfreaks.com/topic/241329-upload-file-to-server-directly-from-my-website/#findComment-1239975 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.