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     Running .bat files from WebFOCUS .fex files

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Running .bat files from WebFOCUS .fex files
 Login/Join
 
Member
posted
I know PC FOCUS and WebFOCUS .fex programs can handle certain DOS commands, but I'm wondering if WebFOCUS can launch a .bat file that runs a .ftp file to FTP a file to a remote FTP site. The .bat file commands look like this: "ftp -n -sBig Grin_LEHMAN.ftp" where D_LEHMAN.ftp is the name of the file with the FTP commands in it. The .ftp file has the following language in it:

open ftp.Sitename.com
user username password
lcd C:\filename\
cd ftpdirectory/download
prompt off
mget *20030528*.html
quit

Any thoughts/techniques would be much appreciated?
 
Posts: 19 | Location: Springfield, MA | Registered: May 04, 2004Report This Post
<WFUser>
posted
What's wrong with !drive:\\dir\filename.bat ? If you need to dynamically change the file names and/or directories then create the bat file using -WRITE.
 
Report This Post
<Pietro De Santis>
posted
DOS c:\temp\test.bat
 
Report This Post
Expert
posted Hide Post
CMD c:\temp\test.bat
at my site CMD works in some places that DOS doesn't.
But for my ftp pull, i write a chunk of code dynamically with -WRITE statements (just like your code..my first statement is an open statement)
to a file that is filedeffed within my agent.
and then to run it, the command is
DOS ftp -i -s:GET.FTP
where GET.FTP is the file i've made.
I credit Duncan at Westcon for teaching me this.
works like a charm.
 
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003Report 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     Running .bat files from WebFOCUS .fex files

Copyright © 1996-2020 Information Builders