03-26-2014 11:08 AM
I need to keep some files sync'd between a cRIO, and a network server. I would like to query the server for file sizes, then I can compare file sizes with the local cRIO files and FTP over any files that are not current. For the local machine (cRIO) I can use the "File/Directory Info Function" from the pallets. Hoping I can use the same function to query the network server, but not sure how that would work; would the server IP address be part of the file path? If so what is the syntax for that? If this won't work or if there is a better way, how would I go about this?
Thanks,
lmd2
Solved! Go to Solution.
03-26-2014 11:14 AM
Do it just like you would from your Windows machine. For example:
\\computer name\folder\blah.txt
03-26-2014 11:27 AM
so to be clear, (and let's assume the client's machine is a windows server, not sure yet), my path would be:
IP_address\drive\directory\file
148.128.174.54\d:\dtaRuns\data03152014.txt
03-27-2014 11:07 AM
Hi Lawrence,
You will need the two backslashes before the IP address and may not need to include drive information depending on the server.
\\148.128.174.54\dtaRuns\data3203913.txt OR
\\148.128.174.54\d:\dtaRuns\data3203913.txt