cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
UersK
Level III

How to open a file directly on the public network server?

Thanks!

serverIP = "999.888.38.99";
serverfilepath = "C:\3\123.json";
serverusername = "Administrator";
serverpassword = "test";
1 REPLY 1
Craige_Hales
Super User

Re: How to open a file directly on the public network server?

The search term you are looking for is "UNC name". Something like this, if the server exposes the path for your credentials:

 

\\192.168.99.88\xxx\yyy.csv

servers inside your organization usually have names, so maybe

\\zzzserver\xxx\yyy.csv

 

That's for windows. Mac is different.

 

Or, you can set it up as a drive letter on your local machine and ignore the UNC name. The UNC name is more portable if you have several machines you might run a script on (because it takes work to make the drive letter mapping be the same on many machines.) The drive letter mapping provides a nice indirection if the data might move from server to server...remap the "z:" drive and scripts that use z: keep working.

 

Craige