cancel
Showing results for 
Search instead for 
Did you mean: 

Reg:Save file in Shared Folder in Network Path

former_member222013
Participant
0 Kudos

Hi,

I have a requirement in which I want to save a file in the network shared folder in webdynpro java... I have used the below path : \\\\USER01\\testfolder . But I am not able to save the files in the above mentioned folder.

But when I run the same code from java project .. local ,I am able to save the files.

I am using 7.31 NWDS. Can anyone help me in this ..

Thanks..

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member222013
Participant
0 Kudos

Can I know how portal server can access the shared folder in detail ??

If I am able to access shared folder from my portal server ,then how to handle in the WD Java code ??

Please help me out .. and Thanks for giving your points on my query.

Thanks.,..

Former Member
0 Kudos

Are you able to ping the shared folder from your portal server?

Remember you Java code runs on your local machine whereas WD Java runs on the portal server.

Thanks,

Mahesh

former_member222013
Participant
0 Kudos

I did not understand what you are referring to .. Can you please throw some more details..

I already said that it works on java code as it is local,I am well aware of that ..

Thanks,

Former Member
0 Kudos

Login to portal server and ping the shared folder's IP address using command prompt (if windows machine).

In case your portal server is on Linux or Unix .. i am not sure if the same path will work.


Mahesh

former_member222013
Participant
0 Kudos

Hi Mahesh,

I think you did not get my question.....

I should be able to use the shared path in one of the webdynpro java application code ... I have given the above path to save the files but it is not happening,Is there a different format to use shared folders to save data in the WD JAVA applicaiton code ???

Former Member
0 Kudos

Since your WD Java code runs on server side, your server should be able to access the share folder. Can you confirm that?

Mahesh