ShowURL to mount file server?

Hello all,

A code that I inherited uses ShowURL to mount a file server:

ShowURL “afp://IP Address Here/MyServer”

It’s known that afp is old. But why ShowURL? (Of course, it’s deprecated, too. New is System.GotoURL()).

Thanks.

ShowURL simply asks the operating system to do something with the URL. if there is a service that can open it, then it will.

It also works with ftp:// and ssh:// for connecting to FTP servers via Finder and SSH servers via Terminal.

1 Like

Thank you, Greg.

1 Like