Silverfrost Forums

Welcome to our forums

Does FTN95 support UNC?

10 Nov 2009 10:57 (Edited: 10 Nov 2009 11:54) #5352

Does FTN95 support Uniform Naming Convention (UNC)? I tried something like: 1.) file:///C:/Temp/assem170.ini and 2.) \\derhfhlf01.ww004.siemens.net\homes$\ADGEJO1\MATLAB\AssEm without success. Is this correct or is there perhaps some trick to get this to work.

10 Nov 2009 11:09 #5353

Where would you want to use this? In standard Fortran input/output?

10 Nov 2009 11:54 #5354

Our Fortran program is called with parameters: prog.exe \(path\). The path tells the Fortran program where to find the input data (which is some data file). The data is managed by the calling program.

It is not a must. The GUI-programmer only asked if he can use the UNC. The results of our program must be saved at some place where the GUI can pick it up.

10 Nov 2009 11:59 #5355

The string for \(path\) will presumably be passed OK but the question is how is that string used within the program. For example, is it used in a standard Fortran OPEN statement?

10 Nov 2009 12:06 #5356

I will first inquire if the file exist with inquire(FILE = \(path\), EXIST=EXISTS) and after that open it with open(\(path\)).

11 Nov 2009 8:16 #5361

I am only guessing but there is no reason to think that this will make an internet connection. If the \\file prefix does not work then you can always strip it off in the program. Equally you could progam a connection to the internet using read_url@ or download@.

11 Nov 2009 9:01 #5364

I will try these options. My colleague explained to me the problem: The software (GUI) requires a local database and many users than save this in 'My Documents'. This folder is automatically mounted to the sever at login to something like: \\ww004......\user\. The user actually never get to see the actual path (at least thats how I understand it). Within the network we call this the homedrive. In explorer the alias is something like H:\. I will report our final solution.

Please login to reply.