Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy file using IP Addres
Message
 
 
To
16/04/2001 10:14:11
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00495755
Message ID:
00495763
Views:
13
>How copya file to another PC using only the IP addres?

You need specify a UNC path using the IP address and the share name of the remote PC.

Ex.

copy file test.txt to \\XXX.XXX.XXX.XXX\ShareName\test.txt

You could also use FileToStr() and StrToFile() to do the same thing.

cfile = FileToStr('test.txt')
=StrToFile(cFile,"\\XXX.XXX.XXX.XXX\ShareName\test.txt")

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform