Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

read file on another server 1

Status
Not open for further replies.

mactonio

Programmer
Nov 18, 2003
55
US
Hi,
Can anyone shed some light on how to open a file that is located on another server. The server that my program will be running on is on the same network as the server that i want to read the file from.

thanks,
Chris
 
Share remote folder and map it locally to a network disk.
 
Try UNC (Universal Naming Convention) name:
\\computername\sharename\path\filename
Don't forget to double backslashes in a string literal.
UNC access (for open) is slower than open with mapped drive name.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top