set remoteHome to "Volumes:VolName:"
set remoteFList to paragraphs of (do shell script POSIX path of remoteHome & "; ls")
shows contents of my local root dir, not remote
May be its need to use “afp://…” address?
set remoteHome to "Volumes:VolName:"
set remoteFList to paragraphs of (do shell script POSIX path of remoteHome & "; ls")
shows contents of my local root dir, not remote
May be its need to use “afp://…” address?
Syntax error
set remoteHome to "Volname:"
set remoteFList to paragraphs of (do shell script "/bin/ls " & POSIX path of remoteHome)
Note: HFS paths start always with the name of the volume, unlike POSIX paths which start with /Volumes (except the start volume).
The coercion POSIX path adds “/Volumes/” automatically
Thanx, Stefan!!