cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Discussions

Solve problems, and share tips and tricks with other JMP users.
%3CLINGO-SUB%20id%3D%22lingo-sub-639656%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%C2%BFC%C3%B3mo%20abrir%20un%20archivo%20directamente%20en%20el%20servidor%20de%20la%20red%20p%C3%BAblica%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-639656%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CP%3E%C2%A1Gracias!%3C%2FP%3E%3CPRE%3E%3CCODE%20class%3D%22%20language-jsl%22%3EserverIP%20%3D%20%22999.888.38.99%22%3B%0Aserverfilepath%20%3D%20%22C%3A%5C3%5C123.json%22%3B%0Aserverusername%20%3D%20%22Administrator%22%3B%0Aserverpassword%20%3D%20%22test%22%3B%3C%2FCODE%3E%3C%2FPRE%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-639656%22%20slang%3D%22en-US%22%20mode%3D%22NONE%22%3E%3CLINGO-LABEL%3Esecuencias%20de%20comandos%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Eventanas%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-639663%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20%C2%BFC%C3%B3mo%20abrir%20un%20archivo%20directamente%20en%20el%20servidor%20de%20la%20red%20p%C3%BAblica%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-639663%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EEl%20t%C3%A9rmino%20de%20b%C3%BAsqueda%20que%20est%C3%A1%20buscando%20es%20%22nombre%20UNC%22.%20Algo%20como%20esto%2C%20si%20el%20servidor%20expone%20la%20ruta%20de%20sus%20credenciales%3A%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3E%5C%5C192.168.99.88%5Cxxx%5Cyyy.csv%3C%2FP%3E%0A%3CP%3ELos%20servidores%20dentro%20de%20su%20organizaci%C3%B3n%20generalmente%20tienen%20nombres%2C%20por%20lo%20que%20tal%20vez%3C%2FP%3E%0A%3CP%3E%5C%5Czzzserver%5Cxxx%5Cyyy.csv%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3EEso%20es%20para%20ventanas.%20Mac%20es%20diferente.%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%0A%3CP%3EO%20puede%20configurarlo%20como%20una%20letra%20de%20unidad%20en%20su%20m%C3%A1quina%20local%20e%20ignorar%20el%20nombre%20UNC.%20El%20nombre%20UNC%20es%20m%C3%A1s%20port%C3%A1til%20si%20tiene%20varias%20m%C3%A1quinas%20en%20las%20que%20puede%20ejecutar%20un%20script%20(porque%20requiere%20trabajo%20hacer%20que%20la%20asignaci%C3%B3n%20de%20letras%20de%20unidad%20sea%20la%20misma%20en%20muchas%20m%C3%A1quinas).%20La%20asignaci%C3%B3n%20de%20letras%20de%20unidad%20proporciona%20una%20buena%20direcci%C3%B3n%20indirecta%20si%20los%20datos%20pueden%20moverse%20de%20servidor%20a%20servidor...%20reasigna%20la%20unidad%20%22z%3A%22%20y%20los%20scripts%20que%20usan%20z%3A%20siguen%20funcionando.%3C%2FP%3E%0A%3CP%3E%20%3C%2FP%3E%3C%2FLINGO-BODY%3E
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

Recommended Articles