Focal Point
Focexec issue DOS ftp command

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/2267080336

August 26, 2013, 06:22 PM
brad-s
Focexec issue DOS ftp command
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
August 26, 2013, 07:15 PM
Waz
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!

August 27, 2013, 04:08 AM
Atilla
Did you test it in a CMD window on the server?


Member of Benelux
Usergroup
August 27, 2013, 05:34 AM
Wep5622
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 :