Write to a file in Linux with an absolute network path
Hi everybody.
I'm new to this forum, so I say hello to everyone first.
Secondly I would like to launch the following thread, concerning a problem I am unable to solve for the moment. I am writing in a QSA script a small program inside a server application, that has to write to a file in an absolute network path like: "//server-ip/folder/file.txt". I am writing it in any possible way but it doesn't write unless I use a relative path. The problem is that if I do it so, as the program is used in several different workstations, the place of the file changes depending on the workstation. The aim is to get the file on a network shared folder, no matter the workstation which executes the script.
Has somebody a solutin for this?
Many thanks in advance.
|