Focal Point
[CLOSED] Unix commands to remove file from folder not working

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

August 01, 2017, 07:05 AM
Durai
[CLOSED] Unix commands to remove file from folder not working
The file needs to be removed from IBFS:/WFC/Repository/profit folder.I am using the below unix comments to remove the file

UNIX cd IBFS:/WFC/Repository/profit
UNIX rm fin.txt

showing errors

The filename, directory name, or volume label syntax is incorrect.
'rm' is not recognized as an internal or external command,operable program or batch file.

could any one help me to solve this issue?

This message has been edited. Last edited by: FP Mod Chuck,


Webfocus AppStudio 8201
Windows
August 01, 2017, 07:27 AM
Frans
The repository is in a database. To remove things from the repository it's best to the the Rest interface.


Test: WF 8.2
Prod: WF 8.2
DB: Progress, REST, IBM UniVerse/UniData, SQLServer, MySQL, PostgreSQL, Oracle, Greenplum, Athena.
August 01, 2017, 08:13 AM
BabakNYC
What DBMS are you using for your Repository?
How did the TXT file get into the repository?
Do you have to automate this process?


WebFOCUS 8206, Unix, Windows
August 01, 2017, 05:30 PM
Waz
It is also interesting that you are calling a UNIX command when your signature says Windows.


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!