Droplet getting -42 error

My droplet is getting -42 error, file not found. It prints the file path correctly, and the file does exist at the path it prints, but somehow it cannot find it. Any ideas?

  • Phil

Is FileVault on? Can you post some code?

Jon

File Vault is off.

Code?

on panel ended theObject with result withResult
set theFolder to item 1 of (path names of open panel as list)
set theSize to (size of (get info for (theFolder)))

Gives me a -43 can’t find the file error.

Shouldn’t the last line just be “info for”, not “get info for”?:

set theSize to (size of (info for (theFolder)))

Otherwise, does the file happen to be on a networked volume?