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.
Does anyone know how upload user file to webfocus server directory with html Composer or with html code ? This message has been edited. Last edited by: Kerry,
You could do it by calling either an ASP or PSP page.
for example an ASP page would be something like
<%@ Language=VBScript %>
<%Option Explicit%>
<!-- #include virtual ="wfapps/upload.asp" -->
<%
Dim Uploader, File
Set Uploader = New FileUploader
Uploader.Upload()
If Uploader.Files.Count = 0 Then
Response.Write "<P> <font size='6' color='#FF0000'><b><i> Please select file to upload</i></b></font></p>"
Response.Write "<br> "
Response.Write "<INPUT TYPE=Button VALUE='Close' onClick='window.self.close()'>"
Else
For Each File In Uploader.Files.Items
File.SaveToDisk "d:\ibi\apps\ibisamp\"
Response.Write "<P> <font size='6' color='#0000FF'><b><i>" + File.FileName + " has been uploaded to the server</i></b></font></p>"
Response.Write "<br> "
Response.Write "<INPUT TYPE=Button VALUE='Close' onClick='window.self.close()'>"
Next
End If
%>
The folder you use must be visible to the webserver.
change d:\ibi\apps\ibisamp\ in upload.asp to point to a directory in the APP PATH that you have write authority to.
create a focexec called upload.fex in baseapp and copy in the second lot of code that I posted but change /wfapps/Upload.asp to /approot/baseapp/Upload.asp
Run upload.fex from devstudio to test, everyhing should work. If you get scrit errors in the browser you will have to alter the browser security settings.