Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Upload file with webfocus

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Upload file with webfocus
 Login/Join
 
Gold member
posted
Hello ,
I need your help .
I want upload files with webfocus and if is not possible, with jquery.

I use

Thank you for all.

Good day.

This message has been edited. Last edited by: <Kathryn Henning>,
 
Posts: 62 | Registered: September 18, 2008Report This Post
Platinum Member
posted Hide Post
Can you redirect to another webpage or insert some AJAX code with -HTMLFORM?


7.66 and 7.704
System: Windows / AIX / Linux
Output: Mostly HTML, with some PDF, Excel and Lotus(!)
 
Posts: 147 | Location: Toronto (GTA) | Registered: May 25, 2005Report This Post
Expert
posted Hide Post
Could you elaboarte on this?       "... with webfocus ... with jquery ..." What kind of files?




   In FOCUS Since 1983 ~ from FOCUS to WebFOCUS.
   Current: WebFOCUS Administrator at FIS Worldpay | 8204, 8206
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report This Post
Gold member
posted Hide Post
Thanks Doug by you answer.

The files are .cvs

Do you have any example please please?

I want copy preee.csv in c:/../documents/ to other rute for example server/files/

Good day.
 
Posts: 62 | Registered: September 18, 2008Report This Post
Platinum Member
posted Hide Post
As long as the target server is visible to the WebFOCUS server you can use a command line from within a FOCEXEC to do what you want. For example

[DOS, WINNT, UNIX, etc] [copy, cp, del, mv, etc] source target


WF 7.7.04, WF 8.0.7, Win7, Win8, Linux, UNIX, Excel, PDF
 
Posts: 175 | Location: Pomona, NY | Registered: August 06, 2003Report This Post
Silver Member
posted Hide Post
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
 
Posts: 31 | Registered: April 22, 2013Report This Post
Gold member
posted Hide Post
Please i need more information of this.

I need send a file type .csv to other folder.

than you for all
 
Posts: 62 | Registered: September 18, 2008Report This Post
Platinum Member
posted Hide Post
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
 
Posts: 175 | Location: Pomona, NY | Registered: August 06, 2003Report This Post
Platinum Member
posted Hide Post
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



 
Posts: 129 | Registered: June 01, 2005Report This Post
Expert
posted Hide Post
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.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

 
Posts: 6347 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Gold member
posted Hide Post
Waz,

Would you be able to provide a snippet of your code ?


Tharun Katanguru
SBOX- 8205 DEV/TEST/PROD : 8105 8205
Linux, All Outputs
 
Posts: 52 | Location: BOWL OF PASTA | Registered: October 13, 2016Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Upload file with webfocus

Copyright © 1996-2020 Information Builders