username and password

Is there a way I can include the user name and password in this script


tell application "finder" of machine "eppc://192.168.0.50"
			open FTPupload
		end tell



Model: Lots of them
Browser: Safari 523.15
Operating System: Mac OS X (10.5)

Hi,

of course there is one


tell application "Finder" of machine "eppc://username:password@192.168.0.50"
	open FTPupload
end tell

Why did I not try that

I’ve been working to hard…my brains resemble spagehetti

Thanks Stefan

Hi Stefan

This looks like this could work but it doesn’t. I get an error

Can’t get application “finder” of machine “eppc://usernamek:password192.168.0.50”.

Any ideas

Did you notice the missing @ ? :wink:

I didn’t DUH! I need a holiday…

But it still doesn’t work

Can’t get application “finder” of machine “eppc://xxx:pass@192.168.0.50”.

BTW the machine is connected!

When the script runs with the user/pass removed I am then prompted for a user/pass

Regards

have you tried the bonjour name (e.g. myOtherComputer.local) instead of the IP?
And if no user is logged in on the remote machine, you have to specify also the user by its UID