Focal Point
[CLOSED] Copy file on the WebFOCUS client

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

November 09, 2017, 10:06 PM
frank Mcmurray
[CLOSED] Copy file on the WebFOCUS client
I'm trying to copy a file from one location to another run a Fex on the client side.

example:
DOS cp '/ibi_apps/ibi_html/franktest.txt' 'frankB.txt'
I receive file not found.

Thank

Frank

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


WebFOCUS 8
Windows, All Outputs
November 09, 2017, 10:15 PM
eric.woerle
the File location doesn't appear to be correct. I would locate the file on the drive and then use the full path of the file instead of a relative path. chances are that you aren't in the correct directory by default.

Also '/ibi_apps/ibi_html/' appears to be the web location. Your reporting server and web client are usually on 2 separate servers. If you are trying to locate a file on your web server, you need to make sure that you have the drives mapped properly on the reporting server to the web server. And then make sure that you are using the fully qualified path. ie, d:\[my wf install]\ibi\WebFOCUS80\apps\baseapp\franktest.txt


Eric Woerle
8.1.05M Gen 913- Reporting Server Unix
8.1.05 Client Unix
Oracle 11.2.0.2
November 10, 2017, 01:10 PM
FP Mod Chuck
Frank

First of all Welcome to Focal Point! You will find this forum a great place to get answers to your development questions...

With WebFOCUS 8 all the client components are stored in a database repository so a commmand prompt copy will not work either. You will need to copy them using copy and paste from App Studio.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats
November 10, 2017, 06:30 PM
eric.woerle
Chuck,

If this is a part of a procedure, don't forget that he can always filedef it to the Reporting server then use the DOS command to copy it to a valid location.


Eric Woerle
8.1.05M Gen 913- Reporting Server Unix
8.1.05 Client Unix
Oracle 11.2.0.2