This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
Seems this is a good day for questions, so here goes another one. I need to give users some way to move files from their local machine running my Java client to a server (which I don't have root privilegies on). The files are mostly images and PDF files so what I basically need is some FTP or FTP-like functionality to push the data over the wire to the server, preferable something remotely secure like FTP with username and password (I have FTP access to the server). I would sleep very well if there is some nice call that takes the file, username, password and server as parameters and just returns true if all went well... I don't suppose I'm _that_ lucky as I have not yet found an easy way. If someone has any experience doing this kind of thing, and feels like sharing it will be really appreciated. On beforehand thanks, Thomas
Joined: Jul 30, 2000
Ha, Since I have this nasty habit of replying to my own postings with a solution I figured I'd might as well make this no exception. Seems someone has allready made more or less what I was looking for, Java is great eh? Well, if it works, I'll say Thanks Bret! For the rest of you the link is: http://www.stanford.edu/~bstaylor/cs/ftpconnection/ Amazing what you can do with a web browser and clever use of google eh... Thomas