AppleScript Error Number -10004
I have a spript that is supposed to automount networked shared folders. it's able to mount all but one which is "FTP"
Here is the script:
delay 8
tell application "Finder"
activate
try
mount volume "afp://minerva/Home"
end try
try
mount volume "afp://minerva/Marketing"
end try
try
mount volume "afp://minerva/Projects"
end try
try
mount volume "afp://minerva/Office"
end try
try
mount volume "afp://minerva/ftp"
end try
end tell
and this is what I'm getting for errors:
tell application "Finder"
activate
mount volume "afp://minerva/Home"
--> error number -10004
end tell
tell application "AppleScript Editor"
mount volume "afp://minerva/Home"
--> file "Home:"
end tell
tell application "Finder"
mount volume "afp://minerva/Marketing"
--> error number -10004
end tell
tell application "AppleScript Editor"
mount volume "afp://minerva/Marketing"
--> file "Marketing:"
end tell
tell application "Finder"
mount volume "afp://minerva/Projects"
--> error number -10004
end tell
tell application "AppleScript Editor"
mount volume "afp://minerva/Projects"
--> file "Projects:"
end tell
tell application "Finder"
mount volume "afp://minerva/Office"
--> error number -10004
end tell
tell application "AppleScript Editor"
mount volume "afp://minerva/Office"
--> file "Office:"
end tell
tell application "Finder"
mount volume "afp://minerva/ftp"
--> error number -10004
end tell
tell application "AppleScript Editor"
mount volume "afp://minerva/ftp"
--> error number -5000
end tell
thanks for your help
Finder, AppleScript-OTHER, OS X Mountain Lion (10.8.2)