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.
I am on a UNIX Box and I want to do a UNIX ftp command in my fex. I've created a .fex to do this. I've tried different syntex with no luck.
UNIX ftp open server UNIX userid UNIX password UNIX bin UNIX cd /az/webfocus/ibi/apps UNIX put test.fex UNIX close UNIX quit
I even tried it on one line : UNIX ftp open server userid password bin cd /az/webfocus/ibi/apps put test.fex close quit UNIX ftp open server userid password put /az/webfocus/ibi/apps/test.fex /az/webfocus/ibi/apps/testing/text.fex quit
Thanks, ToddThis message has been edited. Last edited by: Kerry,
fex1 changes the permissions to execute and runs fex2.
fex2 contains the required UNIX commands. (I named it fex2.fex just to make it easier to access in Dev Studio - UNIX can execute a command file with any suffix).
I get the same results either way, but I did change the -WRITE just a bit.
FILEDEF FTPCMDS DISK /az/webfocus/ibi/apps/test/coc.sh
-RUN -WRITE FTPCMDS open server -WRITE FTPCMDS UID -WRITE FTPCMDS PW -WRITE FTPCMDS cd /az/webfocus/ibi/apps/test -WRITE FTPCMDS put coc_tp.fex -WRITE FTPCMDS bye -RUN UNIX chmod +x /az/webfocus/ibi/apps/test/coc.sh -RUN -************************************************************************************************** -**** EXECUTE FTP UNIX /az/webfocus/ibi/apps/test/coc.sh -RUN open: Failed to open /dev/console : Permission denied /az/webfocus/ibi/apps/tjones-dev/coc.sh: line 2: UID: command not found /az/webfocus/ibi/apps/tjones-dev/coc.sh: line 3: PW: command not found /az/webfocus/ibi/apps/tjones-dev/coc.sh: line 5: put: command not found /az/webfocus/ibi/apps/tjones-dev/coc.sh: line 6: bye: command not foundThis message has been edited. Last edited by: Todd Jones,
Maybe instead of asking how to ftp, you should explain the task that you are trying to accomplish here. Looks to me like you want to copy a fex from one server to another. Is that it?
"There is no limit to what you can achieve ... if you don’t care who gets the credit." Roger Abbott
You can use scp - secure copy - (instead of ftp) right in your FEX without the need for a shell script. I have a bunch of them in a separate FEX that I -INCLUDE in other applications.