> Hmmmm, As I said, our network expert is away on leave so please, no acronyms.
Which one the IMHO or the UNC ;)
> I am probably wrong, but if you are thinking I was talking about drive letter
> mappings, then that is not so. By volume name I mean the actual name on the
> server, not the drive letter that is (maybe) mapped to it on the client.
But your 'machine name' won't tell you which 'drive' to store the file on... And you
shouldn't
write global data to the same network resource as the application itself - why
introduce
fragmentation into a section of the system that should be static.
you want to know the 'share name' of the destination storage space for your file - this
unfortunately is an application configuration issue as the OS doesn't 'type' its drive
with
'that one is for applications' and 'that one is for data'...
Your most reliable solution is a network manager specified share name stored in the
registry (or another editable configuration storage resource)... The name would be
something like
\\ FServe1 \ TempReports
> wants to be able to grab a file of the server (where the service is running)
> from the location that the service tells it. If figured this would be something
> like "ServerName//TempStorage/Reports/NewReport123.txt". The problem was, how
> can the service find out the name of the server (I forgot to mention the servers
> may be unix or NT machines and the services are written in java).
How can you guarentee that there is a sharename TempStorage on ServerName... You
really shouldn't hardcode a requirement onto an external resource.
> I guess this is probably more a java question maybe? I don't know. As I said,
> our network expert yada yada yada.....
Definitely a java question re: the servername but I still question the implementation
plan.
--
Aaron Scott-Boddendijk
Jump Productions
(07) 838-3371 Voice
(07) 838-3372 Fax
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz