Hi,<br>the abstraction library is a big problem... I have no idea on how to do deal with it. The only way would be to upload files on a specific directory (outside of data/) and to add a script that do the job, but once again that would be not as reliable as using FTP directly.<br>
I think that OC suffers to be PHP dependant.<br><br>Regards,<br>Nicolas Le Manchet<br><br><div class="gmail_quote">2011/10/28 Frank Karlitschek <span dir="ltr"><<a href="mailto:karlitschek@kde.org">karlitschek@kde.org</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Cool feature. :-)<br>
This is very helpful as an optional way to access files.<br>
<br>
One of the design principals of ownCloud is to not add external dependencies to the core features.<br>
So I suggest to implement this as an ownCloud app which can be installed and activated be users who can run an proftp server.<br>
<br>
So the best place to put this feature is a new app in the apps repository<br>
<a href="https://gitorious.org/owncloud/apps" target="_blank">https://gitorious.org/owncloud/apps</a><br>
<br>
<br>
There is one thing where we have to be careful. All the file access goes through the ownCloud filesystem abstraction library. This makes sure that we have transparent encryption, versioning, backup and more. It you access the data directory directly via ftp you break this features.<br>

<br>
Do you have an idea how to solve this?<br>
<br>
<br>
Cheers<br>
Frank<br>
<div><div></div><div class="h5"><br>
<br>
On 28.10.2011, at 14:59, Nicolas Le Manchet wrote:<br>
<br>
> Hello,<br>
> I successfully implemented FTP support for Owncloud. I used proftpd built with SQL support as FTP daemon. The trick is to make users being able to log-in with their username but to tell proftpd to chroot them into /var/www/data/user/files/ and to use www-data:www-data as owner/group for all uploads. So we do not need any cron job or shell script to change owner/group. However I had to change two things in owncloud core: to add "homedir" information in table "users" (where the user will be chrooted) and to change the password encryption (proftpd cannot decrypt the used hash).<br>

><br>
> If you are interested with this project we can add a new branch in gitorious in order to make this improvement avaiable for everyone.<br>
><br>
> Regards,<br>
> Nicolas Le Manchet<br>
><br>
> 2011/10/28 Florian Jacob <<a href="mailto:fjacob@lavabit.com">fjacob@lavabit.com</a>><br>
> Hello Nicolas,<br>
><br>
> > I would like to know if a more reliable way for sending big data is planed,<br>
> > such as a FTP over SSH addon (on dedicated serveur only).<br>
> > As a photographer I would like use OC as a backup server for my RAW files<br>
> > which take a lot of space. Uploading them using HTTP/PHP is not possible<br>
> > according to the size (about 100 gigabytes). The webdav way seems buggy and<br>
> > not reliable. FTP would be great to do such a job because it handles<br>
> > restarting after a failing. Obviously I can already send my files to the<br>
> > /data folder with FTP but it does not handle owncloud user accounts.<br>
><br>
> To clarify a few things: WebDAV uses http for data transportation and is<br>
> implemented in php server side, so you'll suffer similar limitations here.<br>
><br>
> I think I got what you mean. What we'd need is an app that makes it possible<br>
> to "bulk import" data from the filesystem of the server into the owncloud<br>
> /data/ folder and setting an owner to it. A similar function exists in drupal,<br>
> you can upload big collections of photos via ftp and them import them into<br>
> drupal, generating thumbnails and user permissions in the import step.<br>
><br>
> May I propose this as a google code-in project? Shouldn't be too hard I guess,<br>
> and if we can find a mentor for it?<br>
><br>
> Cheers,<br>
> Florian<br>
><br>
><br>
</div></div>> _______________________________________________<br>
> Owncloud mailing list<br>
> <a href="mailto:Owncloud@kde.org">Owncloud@kde.org</a><br>
> <a href="https://mail.kde.org/mailman/listinfo/owncloud" target="_blank">https://mail.kde.org/mailman/listinfo/owncloud</a><br>
<font color="#888888"><br>
Frank Karlitschek<br>
<a href="mailto:karlitschek@kde.org">karlitschek@kde.org</a><br>
<br>
<br>
</font></blockquote></div><br>