Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I want to share the contents of my external HDD with my Android phone.

For the last two hours, I've been trying to correctly set up Samba - it was absolutely horrible.

There must be another, simpler way to set up file sharing over a (W)LAN, because learning 200 new shell commands in a hostile and unknown environment definitely isn't something I want to waste my time on.

Is something as FTP my solution?

share|improve this question
1  
There are a variety of solutions -- probably hundreds of them. The solution that is most relevant to this site might be OwnCloud. There's an OwnCLoud Android app, but it also works with other apps. Here are some links: linuxuser.co.uk/tutorials/build-your-own-cloud lifehacker.com/5993596/… techsplurge.com/2456/… –  MountainX Jun 8 '13 at 23:44
1  
other solutions might include AirDroid, FolderSync or (my favorite) DigiControl (and DigiSSHD). –  MountainX Jun 8 '13 at 23:49
1  
You might also be interested in webmin which is a great tool to simplify setting up all sorts of networking stuff. I always use it to set up my SMB shares and it takes a couple of minutes rather than the long hours I had spent trying to figure it out in the past. –  terdon Jun 8 '13 at 23:57
    
Thanks for being informative guys! –  jco Jun 10 '13 at 15:45

1 Answer 1

up vote 1 down vote accepted

For the occasional file share there's WOOF (Web Offer One File). Woof is trivial to use. It offers files over HTTP and also allows files to be uploaded. Here's the usage:

 Usage: woof [-i <ip_addr>] [-p <port>] [-c <count>] <file>
           woof [-i <ip_addr>] [-p <port>] [-c <count>] [-z|-j|-Z|-u] <dir>
           woof [-i <ip_addr>] [-p <port>] [-c <count>] -s
           woof [-i <ip_addr>] [-p <port>] [-c <count>] -U

To offer up a file:

$ woof filename

You can control whether it allows a file to be downloaded/uploaded by including the -U switch. All that's required is a browser to interact with woof.

Example

$ woof Software\ Development\ Guide.docx
Now serving on http://192.168.1.20:8080/Software%20Development%20Guide.docx
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.