Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Check if a file exists, with alias over Network?

Featured Replies

Hello,

I want to user "Perform Applescript" to check if a file exists on our Network.

I have no problem to check if a file exists locally on the computer I'm on, for example... this works for me:

alias "Macintosh HD:Users:edit:Sites:index.html"

However, when I try to do the same with a file that's on our Network I doesn't work:

alias "raid01:SYSTEM:shotsubmit:test.txt"

I only get: The file raid01:SYSTEM:shotsubmit:test.txt couldn't be found. (Got a Swedish OS, so it might not say exactly that in the English version).

The Network drive is mounted. If I go to:

iBook:/Volumes

In the terminal and write "ls"

It shows:

Macintosh HD raid01

(and I can navigate all the way to my file)

I have basically never used a Mac before today, do you need add something extra in your Applescript if you want to check if a file exists on a Network drive?

*Edit*

Figured it out. Seems that raid01 is actually in uppercase RAID01 (which is weird since neither the terminal or finder shows it as uppercase, however when I used manually added the file with Import Records it showed it in uppercase)

Edited by Guest

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.