I need some advice on how to save data from my app online. I have made an application handling some stuff and I want my friends to be able to run the same application on the same "save file" I've tried to save it in a sql database but I can only access that locally What I want to do now is upload the "string" i want to save on the net from the application somehow. FTP? HTTP? I don't know which way and how, anyone who would like to give me some hints? Just to save the file as save.xml or something on my website url. (The application is not for a website, it's a standalone app programmed in Borland JBuilder) Thanks in Advance! Johan
Your post is a little confusing, so let me see if I understand corectly by summarizing. Quick summary: You want to be able to use Java to put a file onto a website. Long summary: You have a standalone java application and you want it to be able to put a file onto a website.
Assuming this is what you want, there are a couple more questions you need to know the answer to. Is your website running servlets/JSPs? If it is, there are some JSP/servlet ways to help you do this. I'm going to assume it's not since you didn't say it was. Do you have FTP access to your website? I assume you do since most websites have FTP access. If you do have FTP access, you can FTP a file to/from your site from Java with the Jakarta Commons/Net package: http://jakarta.apache.org/commons/net/ I have used it and it works great. Brian [ October 08, 2003: Message edited by: Brian Pipa ]