Hi, am I right that such a solution requires a locking system for the 
files? (otherwise conflicts/overwrites will happen soon).

Since we are in an intranet, both clients (users) and the server can access 
the same files repository, so maybe there is no need for a complicated 
client/server solution. I was thinking to explore another path: in web2py 
there are two possible entries it seems to me (but I am a newbee in web2py):

   - URL rewrite: rewrite in some way the links that point to the /upload 
   folder to something like file:///X:/sharedfolder/uploads/file.extension
   - Add a column to a SQLFORM.grid using the links=.. argument containing 
   the link file:///X:/sharedfolder/uploads/file.extension

If one of the two is feasible, then  properly configured browsers should be 
able to open such links as local files with the ad hoc apps.


Le mercredi 19 décembre 2018 20:10:30 UTC+1, Val K a écrit :
>
> I thought about the same problem and only see the following dropbox-like 
> almost universal solution:
>  web2py as server + web2py as client (under latter I mean 
> .exe-distributive on the shared drive, so it will running on client machine 
> and has access to filesystem,  to connect with central  server you can use 
>  Requests or http.client)
> To avoid the nightmare of writing scripts to catch save-event for all 
> these office program, users still  have to click sync-button, or it may be 
> just brute force time-interval sync (cron or web2py scheduler)
>
>
>
> On Wednesday, December 19, 2018 at 8:45:53 PM UTC+3, Jota Pin wrote:
>>
>> Hi, 
>>
>>    - any type of files, but most common are the usual office ones: .doc, 
>>    .docx, pdf, xls, xlsx.
>>    - currently people are using simply a shared drive, with an 
>>    unmanageable number of files and subfolders, they want to shift to a 
>>    structured approach, were files are linked to a database with various 
>>    information like the business process and deadline.  
>>    - the confidentiality makes that only things working exclusively on 
>>    the intranet are allowed (thus the files cannot be on a shared cloud 
>>    service or edited by google docs or similar)
>>    - users want to retain the possibility to simply click and then the 
>>    files are opened by their desktop apps (word, excel, etc) and saved from 
>>    there without any new upload
>>    - there is no strict need for them to access the folder where the 
>>    files will be stored, more, I want them to use the web2py interface so 
>> they 
>>    are obliged to enter a minimum of metadata when the file is uploaded.
>>
>>
>> Le mercredi 19 décembre 2018 18:04:59 UTC+1, Val K a écrit :
>>>
>>> Hi! What is type of files? 
>>
>>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to