‎2007 Nov 14 10:46 PM
Hi,
I have a problem. There is a file on my network. When the foreground, user want to see the document. I should copy the file from network to client's computer. But I need to this operation on application server. I mean that the domain user of application user can copy this file respect to authentication states. But, as I said above file is on my network not on application server. Also, I want to this operation without using RFC.
How can I do my desire?
Thanks.
‎2007 Nov 14 10:49 PM
One way is to do it via mapping your network drive to your computer... So, you can use the GUI_UPLOAD FM to read that file with the path like Z:\test\test.txt if your network drive is mapped as Z drive...
Then you can use the OPEN dataset, Transfer and CLOSE dataset to transfer your data to Application server...
Regards,
Naimesh Patel
‎2007 Nov 14 10:55 PM
Thanks,
But, client does not have ant authorization to access that network path. So, client can not map the notwork drive as 'Z'. I mean that only application server's user has authorization to access the network file.
‎2007 Nov 14 11:09 PM
Hi,
You can ask to have the restricted access(read only) to the particular folder on network drive which is storing the file.
Regards,
Atish
‎2007 Nov 14 11:17 PM
The problem is at this point. All the files are holded at same network directory. Some of the files should not seen by client. I am configurating the access throuh my program.
PS: while using OPEN DATASET, CLOSE DATASET which user is used? A program that is called on foreground and in this program if OPEN DATASET is used, the current domain user(client) or the application server's domain user is used? Which one? thanks?
‎2007 Nov 14 11:24 PM
It is current domain user who is running the program.
regards,
Atish