🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.java
Article #513

File Copy from UNC path

#513
From: Gary Perkins
Date: Tue, 08 Aug 2000 00:00
8 lines
858 bytes
Hi,

Have a java application in a Windows NT environment and want ot use the File
object as such;

File inputFile = new File("\\server\share\filename.txt");

This does not work but works if I use a mapped drive letter?  Any ideas?
Technical Details
Message-ID: <IuNj5.78474$N4.1989905@ozemail.com.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d6db,270ac1284850bc4d,start
X-Google-Attributes: gid10d6db,public
From: "Gary Perkins" <garyp@bgm.com.au>
Subject: File Copy from UNC path
Date: 2000/08/08
Message-ID: <IuNj5.78474$N4.1989905@ozemail.com.au>
X-Deja-AN: 655725420
Distribution: world
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
X-Trace: ozemail.com.au 965714984 203.12.191.247 (Tue, 08 Aug 2000 16:09:44 EST)
Organization: OzEmail Ltd, Australia
X-MSMail-Priority: Normal
NNTP-Posting-Date: Tue, 08 Aug 2000 16:09:44 EST
Newsgroups: aus.computers.java