Focal Point
WebFocus Based File Manager

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/2257070516

January 05, 2012, 08:39 AM
ABT
WebFocus Based File Manager
This may be a bit ambitious, but has anyone written (or even encountered) a web based file manager written in WebFocus?

I am looking for something that can read a defined file structure on a network drive (that the WebFOCUS server can access either as a UNC or mapped drive) and upload files there. Maybe do some deletes as well.

I'm trying to provide a trusted vendor access to a specific server for file uploads. The issue is that only have proxied access to some resources via Citrix. They are able to browse our intranet, though. I have seen several ASP.Net options, but they all seem to only read the local machine (maybe they can be coaxed into reading a mapped drive). There is also an issue of permissions -- I think that runs under the ASP.Net account's permissions. My WF account has all the access I need (we run in command console mode). I am doing something similar via WebFocus where they fill out a form and the Fex writes a file to a net share (via FILEDEF). I need the ability to have them upload individual files, though.

Examples:
http://www.codeproject.com/KB/aspnet/webfiler.aspx
http://www.gleamtech.com/produ...sta/web-file-manager
http://www.codeproject.com/KB/.../WebFileManager.aspx
http://phpfm.sourceforge.net/#screenshots (PHP option thrown in for good measure)


------------------------------------
WF Environment:
------------------------------------
Server/Client, ReportCaster, Dev Studio: 7.6.11
Resource Analyzer, Resource Governor, Library, Maintain, InfoAssist
OS: Windows Server 2003
Application/Web Server: Tomcat 5.5.25
Java: JDK 1.6.0_03
Authentication: LDAP, MRREALM Driver
Output: PDF, EXL2K, HTM

------------------------------------
Databases:
------------------------------------
Oracle 10g
DB2 (AS/400)
MSSQL Server 2005
Access/FoxPro
January 05, 2012, 03:38 PM
Waz
This is certainly do-able.

I did something like this, albeit very simple, for promoting fexs, masters and access files from one app folder to another.

You won't be able to use APP commands to do this it will have to be OS commands.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

January 05, 2012, 05:32 PM
ABT
I'm envisioning your tool may have been more of a 'copy/paste' of one folder to another? Is that fair? This would be a little different, it would need to upload a file from your local PC/drive to a remote/network one. I had something written in classic ASP a long time ago, but don't know if that would suffice. As I recall, this requires some server side code to 'do stuff'.

- ABT


------------------------------------
WF Environment:
------------------------------------
Server/Client, ReportCaster, Dev Studio: 7.6.11
Resource Analyzer, Resource Governor, Library, Maintain, InfoAssist
OS: Windows Server 2003
Application/Web Server: Tomcat 5.5.25
Java: JDK 1.6.0_03
Authentication: LDAP, MRREALM Driver
Output: PDF, EXL2K, HTM

------------------------------------
Databases:
------------------------------------
Oracle 10g
DB2 (AS/400)
MSSQL Server 2005
Access/FoxPro