1
HFS ~ HTTP File Server / Re: How can we edit and save back existing files
« on: December 14, 2015, 06:07:00 PM »
Thanks for you replies, much appreciated.
Yes, LeoNeeson has exactly captured what we are trying to do.
To elaborate, we have a large collection of files that are used as part of an application. In the current legacy application that is prototypical Windows desktop executable, the metadata for the files is stored in a database but the files themselves are in CIFS share that each desktop is mounting. When a user clicks on a file listed in the application, the appropriate desktop application - MS Word, MS Excel, MS Outlook, Adobe, Notepad, etc. - is launched with a UNC reference to the file share location as an argument. The user can then of course edit the document in that application 'live' and save the changes.
However this only works - both in terms of how the main legacy app accesses data directly from the database and how the user's PC mounts the CIFS share for the documents - within the office. We are now completely rebuilding/replacing the legacy application to be a mobile application that can run in remote locations and does so within a browser. The database is no longer directly accessed; data is retrieved via a RESTful web service API. Similarly we want to be able to access and edit the files from a server without having to mount them. To access them on a read-only basis, HFS seems to work fine for: we can program our web-app to provide the proper HREF reference to the launched editor application instead of the UNC, and it will properly open and display the file contents, but only read-only
. The users need to be able make changes and save them back, which it just doesn't seem to do. We have found the Sharepoint can do this, but their API interface is horrific. We can likely accomplish the goal with it, but with significant complexity and contamination of our code, so if there was a cleaner solution we'd be eager to use it.
bmartino1, you mentioned 2 possible directions to look
1) "iss stuff": could you elaborate on what / where that is?
2) fhfs: would that be able to supply the needed functionality and transparency to users?, i.e. serve out a file based for r/w based on a HREF argument passed to and used by a Windows desktop program?
Of course would be extra cool if HFS could do this out of the box... but I am assuming that even if that was a direction HFS was going in, delivery of this functionality would be a ways off.
Thanks again for your attention.
Yes, LeoNeeson has exactly captured what we are trying to do.
To elaborate, we have a large collection of files that are used as part of an application. In the current legacy application that is prototypical Windows desktop executable, the metadata for the files is stored in a database but the files themselves are in CIFS share that each desktop is mounting. When a user clicks on a file listed in the application, the appropriate desktop application - MS Word, MS Excel, MS Outlook, Adobe, Notepad, etc. - is launched with a UNC reference to the file share location as an argument. The user can then of course edit the document in that application 'live' and save the changes.
However this only works - both in terms of how the main legacy app accesses data directly from the database and how the user's PC mounts the CIFS share for the documents - within the office. We are now completely rebuilding/replacing the legacy application to be a mobile application that can run in remote locations and does so within a browser. The database is no longer directly accessed; data is retrieved via a RESTful web service API. Similarly we want to be able to access and edit the files from a server without having to mount them. To access them on a read-only basis, HFS seems to work fine for: we can program our web-app to provide the proper HREF reference to the launched editor application instead of the UNC, and it will properly open and display the file contents, but only read-only
. The users need to be able make changes and save them back, which it just doesn't seem to do. We have found the Sharepoint can do this, but their API interface is horrific. We can likely accomplish the goal with it, but with significant complexity and contamination of our code, so if there was a cleaner solution we'd be eager to use it.bmartino1, you mentioned 2 possible directions to look
1) "iss stuff": could you elaborate on what / where that is?
2) fhfs: would that be able to supply the needed functionality and transparency to users?, i.e. serve out a file based for r/w based on a HREF argument passed to and used by a Windows desktop program?
Of course would be extra cool if HFS could do this out of the box... but I am assuming that even if that was a direction HFS was going in, delivery of this functionality would be a ways off.
Thanks again for your attention.