Options

FILE.OPEN : RTC client should look current machine

ajaybabuChajaybabuCh Member Posts: 208
edited 2010-03-26 in NAV Three Tier
Hi

I have done Nav 2009 sp1 RTC installation in the following way.
1) RTC server is installed on One Server machine.
2) We have installed RTC client on client machines.


We have a page which will call the code unit contains code FILE.OPEN(filename)

On client machine we have some text files.
I ran my page and selected the text file to be opened.

The code is looking for this file in Nav RTC server machine, not the current machine.

Is there any way so that code will look for current machine to open files through RTC pages.

Thanks and Regards
Ajay

Comments

  • Options
    rdebathrdebath Member Posts: 383
    Okay, BASIC POINT: No C/SIDE code runs on the RTC client. If you think of it as a special purpose web browser you'll be pretty close to the mark.

    With that in mind it should be obvious that the command 'UPLOAD' or 'UPLOADINTOSTREAM' does exactly what you want. (DOWNLOAD sends the file back to the client).
  • Options
    navinbnavinb Member Posts: 51
    I guess ,that you are using Common Dialog in RTC ,try to use UPLOAD or download function in RTC , depending on whether you are trying to read or write to file .In Service Tier all File Operations will be performed on server running RTC service .So you need to upload that file to server ,if want to read it .Common dialog will be not required as upload function has its own file dialog .
    Also try to explore COD419 3-Tier Automation Mgt. for reference.
    -
    Nav
Sign In or Register to comment.