To get access to FTP file shares on a windows web server.
I need to run this batch code. I'm on a MacBook so how do I make it so I can run this sort of code?
net use W: /delete net use W: \\10.0.2.3\web /persistent:no badPassword /user:office
Ask Different is a question and answer site for power users of Apple hardware and software. It only takes a minute to sign up.Sign up to join this community
You can connect to a server just with Finder. From Finder's Go menu, choose Connect to Server (⌘K). Enter the server address as
smb://10.0.2.3/web then choose Connect. You'll be prompted for your username and password which can be saved in your Keychain.
If you want to use AppleScript, you can use the following:
tell app "Finder" to open location "smb://username:password@server/share"