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. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.


Connect to myibi
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     Focexec issue DOS ftp command

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Focexec issue DOS ftp command
 Login/Join
 
Gold member
posted
On 7.7.03 focexec, I issue any DOS ftp command:

DOS ftp -s:script.one

I am getting error message:
FTP IS NOT RECOGNIZED AS AN INTERNAL OR EXTERNAL COMMAND

I can manually get to a CMD window and successfully run the same ftp command.
Any idead what is stopping my DOS ftp command issued from an FocExec?


Brad S.
WF 8.05 / Win7 /Tomcat Self Serve
 
Posts: 61 | Location: St Louis | Registered: May 15, 2003Report This Post
Expert
posted Hide Post
This probably will not make a difference, but have you tried ! ftp -s:script.one.

Or add the path to the executable.
DOS c:\windows\system32\ftp -s:script.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: 6349 | Location: 33°49'23.0"S, 151°11'41.0"E | Registered: October 31, 2006Report This Post
Member
posted Hide Post
Did you test it in a CMD window on the server?


Member of Benelux
Usergroup
 
Posts: 20 | Registered: November 02, 2006Report This Post
Virtuoso
posted Hide Post
Apparently your ftp command is in your PATH on a CMD prompt. Perhaps it isn't in the PATH in the environment where the WF server started up from?

If you added it to your PATH after WF started up, you'll want to stop and start the WF server. Restart may not work, as that will probably happen in the same already running environment.


WebFOCUS 8.1.03, Windows 7-64/2008-64, IBM DB2/400, Oracle 11g & RDB, MS SQL-Server 2005, SAP, PostgreSQL 11, Output: HTML, PDF, Excel 2010
: Member of User Group Benelux :
 
Posts: 1669 | Location: Enschede, Netherlands | Registered: August 12, 2010Report 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     Focexec issue DOS ftp command

Copyright © 1996-2020 Information Builders