12-02-2011, 03:02 PM
Can you plz add the ftp upload feature so that it can be possible to send our files by ftp.
thanks
thanks
add ftp upload feature
|
12-02-2011, 03:02 PM
Can you plz add the ftp upload feature so that it can be possible to send our files by ftp.
thanks
12-02-2011, 09:34 PM
(12-02-2011, 03:02 PM)amine2018 Wrote: Can you plz add the ftp upload feature so that it can be possible to send our files by ftp. This request has come several times, but ftp is not as easy as it may appear. It's not done by just writing a bunch of php files and stick them into letodms. It requires a complete server covering the ftp protocol and this server has to be started just like your http server. This is basically a completely new application and not just a module in LetoDMS. Doing this in php is not required though LetoDMS_Core is a good base for it. There is a ftp implementation using php called nanoftpd, but that one is really slow and the code is quite old and unmaintained. The bottom line is, this is quite some work and I wouldn't do it in php. Any volunteers? Uwe
12-06-2011, 10:35 AM
Just thinking outside the box here.... BUT! If a cronjob were to be put in place that monitors a "sandbox" location, a script could be potentially written to call a op.AddDocument.php type routine to insert the data into the database and move/rename the ftp'd file(s).
I agree with Uwe that it could be a fair bit of work to implement. The other issue to deal with is once the document is added, is managing it's location with LetoDMS and ownership, etc..... It is a nice idea as FTP is generally more efficient for uploading, but would take some major programming to interface with LetoDMS.
12-06-2011, 01:45 PM
(12-06-2011, 10:35 AM)dgbaker Wrote: Just thinking outside the box here.... BUT! If a cronjob were to be put in place that monitors a "sandbox" location, a script could be potentially written to call a op.AddDocument.php type routine to insert the data into the database and move/rename the ftp'd file(s). That sounds like a feasable compromise. It should be quite easy to set up a directory in the filesystem which is regulary synced with a directory in letodms. Well, it's not a real syncronisation, it's rather an import of all files in that directory. Those imported files could than be moved to their final place in letodms. It's up to the admin of the server to decide how that import directory can be filled. It can be ftp but it doesn't have to. Uwe
02-02-2012, 03:26 AM
anything working with that feature? is qwould be realy great, if i can just scan files, start an upload to ftp script und letodms is "importing" that file.
02-02-2012, 04:01 AM
(02-02-2012, 03:26 AM)atarifreak Wrote: anything working with that feature? is qwould be realy great, if i can just scan files, start an upload to ftp script und letodms is "importing" that file. I haven't heard of anybody, but you do not need ftp necessarily. You could also upload to letodms with a php-script based on LetoDMS_Core. Uwe
02-02-2012, 04:41 AM
02-02-2012, 09:24 AM
(02-02-2012, 04:41 AM)atarifreak Wrote:(02-02-2012, 04:01 AM)steinm Wrote: I haven't heard of anybody, but you do not need ftp necessarily. You could also upload to letodms with a php-script based on LetoDMS_Core.any docs about that? im not that php-coder :-( hi we don't have any docs for it but if you need help you can always hire steinm (Uwe) he is the lead developer for LetoDMS plus it supports him too. Thanks LetoDMS team.
02-02-2012, 03:40 PM
(02-02-2012, 04:41 AM)atarifreak Wrote:(02-02-2012, 04:01 AM)steinm Wrote: I haven't heard of anybody, but you do not need ftp necessarily. You could also upload to letodms with a php-script based on LetoDMS_Core.any docs about that? im not that php-coder :-( LetoDMS_Core is quite well documented in the source code but without having some php knowledge it won't be of any help. Uwe
02-03-2012, 01:15 AM
(This post was last modified: 02-03-2012, 01:27 AM by atarifreak.)
thank you.
so it isnt possible so import local directory into letoDMS without writing some code for letoDMs-Core? Edit: sorry found that http://forums.letodms.com/showthread.php?tid=125 so think import-script is ready. i just had to start some cron to check that directory and start this script. need testing :-) |
« Next Oldest | Next Newest »
|