eniac111 / snake-os

Automatically exported from code.google.com/p/snake-os
2 stars 1 forks source link

How about adding in WEDAV client /and/or server #353

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Request for new feature.

Add a WEBDAV client to allow mapping a web drive.

Add a WEBDAV server to allow access to a drive.

Original issue reported on code.google.com by jgbrow...@gmail.com on 3 Mar 2013 at 9:47

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
a must have feature these days

Original comment by amsgo...@gmail.com on 12 Jul 2014 at 6:06

GoogleCodeExporter commented 9 years ago
I've been dabbling with webdav via lighttpd. Accessing it with linux clients 
(cadaver, thunar) worked ok, but from Windows writing files doesn't work. 
Windows behaves the same way when running lighttpd on a PC though, so maybe 
lighttpds webdav support is just incomplete.

I guess I'll try apache or nginx next (if they compile at all).

Original comment by stefansc...@googlemail.com on 17 Jul 2014 at 4:17

GoogleCodeExporter commented 9 years ago
I read about some issues on Windows too. It seems that native Windows support 
for WebDav is not so stable as expected.

Original comment by amsgo...@gmail.com on 17 Jul 2014 at 8:02

GoogleCodeExporter commented 9 years ago
Got apache to run, but it's even worse. Windows won't even read files with it 
(Linux is fine again). Maybe there's actually something wrong with my windows 
installation or the network. I need to take a look at the traffic.

Google doesn't bring up a whole lot about issues with Windows (other than that 
the default file size limit is 50MB, but that can be fixed with a registry 
tweak).

Original comment by stefansc...@googlemail.com on 18 Jul 2014 at 10:24

GoogleCodeExporter commented 9 years ago
Ok, figured out what broke reading from windows. A type conversation got messed 
when cross compiling, which caused apache to report bad file sizes. The other 
clients I tried don't check the size values so they weren't affected.

Attached is an opk package with apache. It comes with an init script so that 
the server will be launched at boot time and a really basic setup page 
(Services->Apache).

Things to keep in mind.
I'd suggest to only make the server accessible on a LAN. That's no 
authentication, although it could be enabled in the apache config. It also runs 
as root/admin to keep things simple, but that's usually a big no no.

Windows copy dialogs don't show the progress properly. They sit at 0 or ~99 
percent until the operation finishes.

I've had interrupted file transfers leave locked files behind.

Throughput is about 5 MB/s.

Memory usage seems to get quite high. I haven't checked yet how it behaves with 
another memory hog like transmission installed too.

Original comment by stefansc...@googlemail.com on 26 Jul 2014 at 2:31

Attachments:

GoogleCodeExporter commented 9 years ago
Good news...

If you need some help, let me know. I can do some tests as I still have my wlx 
but I am not using it.

Original comment by amsgo...@gmail.com on 26 Jul 2014 at 3:28