TIP: Click on subject to list as thread! ANSI
echo: delphi
to: ANDREW_LAZAREV
from: GARY WEINFURTHER
date: 1997-10-16 08:50:00
subject: Copying files via network

Andrew_Lazarev mentioned this to ALL:
 AL>      I have a little problem: I know a location of one file on one 
network
 AL> PC (under Win95) and I need to copy this file to another network PC 
nder
 AL> control of my program, maked in Delphi-2.
This shouldn't be difficult.  Use the CopyFile API function (or is it 
FileCopy?).  If the other PC has a drive letter mapped to it, you're all set. 
Otherwise, use the long network name of the file.  For example:
 \\Other Computer\c\Program Files\Some Company\Data\Datafile.Dat
                                ...Gary
--- GoldED 2.41
---------------
* Origin: The Flying Circus BBS. (1:2410/905)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.