• Post Reply Bookmark Topic Watch Topic
  • New Topic

Where can I find the java solution of online file storage ?  RSS feed

 
L JW
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am facing a project about online file storage like box.net,xdrive..User can upload/download through http(web application) and ftp client or through other protocol such as SMB,share files,full-featured text index and search,the file directory structure and file records maybe persist in database(virtual directory)..
There are many online file storage service website in internet,but I can not find any technique article about how to build there website,I think I maybe need bothside code in the web server and the ftp server(different server may cause different code) or other server(such as SMB server) to process such as file uploading(write IO file ,write record to database,build file text index).
Any suggest is appreciated.

Thanks and regards.

L.J.W
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, welcome to the ranch! Check out the Ranch Naming Policy before the officials come looking for you.

You could probably begin with a standard FTP server on the storage end and a java FTP client on the client end. That won't run in a browser, so you're probably talking about a "fat" Java client. Google for "Java FTP client" to find a few good ones - the Apache Commons might be a safe place to start.

Most web servers allow HTTP file upload. I've never done it that way, so don't know what it will take to set it up and move files into private areas for each user.

I'd never heard of SMB but a quick Google hit an article that suggested it would turn into CIFS Common Internet File System. A Google on that looks promising.

I'm guessing all this sounds intimidating. If so, pick the simplest one of these - maybe FTP or HTTP upload - and see if you can make it work all by itself. Worry about the others later.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!