File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Filetransfer (FTP or similar)

 
Thomas Hansen
Greenhorn
Posts: 14
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Thomas Hansen
Greenhorn
Posts: 14
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Thomas:
Additionally you might take a look at this. Maybe an alternate solution, in case you are still looking... http://www.jguru.com/faq/view.jsp?EID=304022
regds.
- satya
ps: i will also review your link. thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic