cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Translate the entire conversation x

CreoJS API Reading files from network drives

ilyachaban
16-Pearl

CreoJS API Reading files from network drives

Hello, is there any possibility to read files from network drives?

try {
  print(readFileAsString("\\\\10.170.84.24\\Standard\\ProE_standard\\Relace\\Relace PRT.txt"));
} catch (e) {
  print("FAILED: " + e);
}

 
I need to read fresh relations so all models actual relations. The only one place in our company provides relations is network drive.

3 REPLIES 3

Result of using provided code:

ilyachaban_0-1769434291085.png

 

Do you have web_link_file_read config option set to yes?

https://www.ptc.com/en/support/article/CS156638

Yes, I do and it works if I read from 😧 or C: drives. But when i reach out to network drive it can't read a thing

Announcements

Top Tags