Why would one script work and one won't?

Ok, the first script works fine. However, when I turn the file name into a variable, it does not.
works:

 tell application "finder" of machine "eppc://iapps:dos@central"
get POSIX file "/Users/iandopps/Music/iTunes Music/'N Sync/Celebrity/01 Pop.m4a"
	open result
end tell

does not work:

tell application "finder" of machine "eppc://iapps:dos1@central"
	set name1 to "/Users/iandopps/Music/iTunes Music/'N Sync/Celebrity/01 Pop.m4a"
	get POSIX file name1
	open result
end tell

have you tried this? - seems you can’t use a ‘POSIX file’ inside the tell “Finder”


set name1 to "/Users/iandopps/Music/iTunes Music/'N Sync/Celebrity/01 Pop.m4a"
set name2 to POSIX file name1
tell application "finder" of machine "eppc://iapps:dos1@central"
	open name2
end tell

doc:

When using a POSIX path, be sure to use
[quoted form]
, like this:

get quoted form of (POSIX file name1)

The hangup is most likely the space between 04 and Pop, but the apostrophe by NSync may also give you some issues. The quoted form is designed to resolve those issues automatically.

thanks guys!