Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

copy network file on application server

Former Member
0 Likes
678

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.

5 REPLIES 5
Read only

naimesh_patel
Active Contributor
0 Likes
637

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

Read only

0 Likes
637

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.

Read only

0 Likes
637

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

Read only

0 Likes
637

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?

Read only

0 Likes
637

It is current domain user who is running the program.

regards,

Atish