WF 7.7.04, WF 8.0.7, Win7, Win8, Linux, UNIX, Excel, PDF
April 25, 2013, 09:04 AM
Mike Deluca
Alex, can you give a more detailed code example of how you would do that?
Prod/Dev: WebFOCUS 8.0.06 on Windows Server 2008/Tomcat , WebFOCUS DevStudio 8.0.06 on Windows 7
April 25, 2013, 01:16 PM
expertomad
Please i need more information of this.
I need send a file type .csv to other folder.
than you for all
April 26, 2013, 08:27 AM
Alex
In your FOCEXEC you can execute a command line by preceding it with the System and then the command. In windows you'll need to map a drive. In other systems you'll need to use the syntax appropriate to the system. You can get more information on this by searching for "operating system commands" in you Dev Studio help or on the tech support search page.
DOS (or WINNT) copy c:\ibi\apps\baseapp\xxxx.csv z:\folder\subfolder
WF 7.7.04, WF 8.0.7, Win7, Win8, Linux, UNIX, Excel, PDF
April 27, 2013, 09:21 PM
Jim Morrow
Are you uploading from the browser client to the WebFocus server or from the WebFocus Server to another server of mainframe?
From the server have WebFcous write an FTP script and call the OS to have it run. Or just have WebFcous write to the other systems disk or a disk share by both systems
From the browse client write a script to write WebFocus disk Then call WebFocus to process the file. Or just send the file up in blocks which will fix in a 4096 character web query string (yes this is not elegant but I seen it work for small files and it reduces security concerns)
Jim Morrow Web Focus 7.6.10 under Windows 2003 MVS 7.3.3
April 28, 2013, 06:55 PM
Waz
What we have done is create jsp to upload files to specified locations.
Should be easy enough to create one.
Waz...
Prod:
WebFOCUS 7.6.10/8.1.04
Upgrade:
WebFOCUS 8.2.07
OS:
Linux
Outputs:
HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!
October 17, 2019, 01:35 PM
tomatosauce
Waz,
Would you be able to provide a snippet of your code ?