Return to site

Mac Mount Ftp

broken image


This tutorial will guide you through the process of setting up Macfusion. After installing Macfuse (easy) and then Macfusion (even easier), you'll be able to mount a remote FTP or SSH host as a local drive. This allows you to access, read/view, write/edit and transfer files to and from your local hard drive to the remote one – as if it was local as well. Keep reading for the complete walk-through.

Aug 01, 2020 We can configure macOS to automatically mount the drive in the future to save having to do this every time you want to access something. 'Mounting' is the technical term for opening the drive to use it. Open Finder, click Go, and select Connect to Server. In the popup that appears, enter the address of the network drive. You can mount and unmount drives, volumes, and disks from the command line of MacOS and Mac OS X. For many users, the easiest way to unmount a drive in Mac is to either just drag a volume into the Trash, use the eject keys, disconnect the drive, or use one of the force eject methods. The mount command calls the mount(2) system call to prepare and graft a special device or the remote node (rhost:path) on to the file system tree at the point node. If either special or node are not provided, the appropriate information is taken from the fstab(5) file.

  1. FTP stands for File Transfer Protocol and while using FTP Mac clients can connect to the server and download files of various formats. To do this, the user needs to know the FTP server address, as well as the data for authorization (login and password).
  2. To mount an FTP site under MacOS X, all you have to do is to select the Go Connect to Server. Menu item within the Finder. Type the site's URL in the resulting dialog box. The site should appear on the Desktop as a mounted volume. Be reminded that this will grant you read-only (download) access to the site.
  1. First up, download MacFUSE from Google. The installation is pretty straight forward – mostly you'll just click next a bunch of times. Once it's installed, download Macfusion. To install it, just unzip the file and drag the app to your Applications folder.

    Launch it from there.

  2. You'll likely be notified that the macfusion agent process has not started. If you'd like it to start each time you sign in, place a check in the Start agent automatically on login box. Either way, click the Start button.
  3. You'll be presented with a rather plain Macfusion window. Lets start by adding a FTP site to mount as a local drive. Click the small + (plus symbol) in the bottom left corner. Select FTPFS from the drop-down list.
  4. Give your 'FTP drive' a descriptive name in the top field, and then enter the appropriate information in each of the additional fields. The Path: refers to the location you'd like to have mounted once you connect. For example, when you FTP to your host and successfully login, you're 'placed' into a specific folder (usually something like /home/your-user-name/). If you'd like to specify a different location, do so in the Path: field.

    Click the Macfusion tab for a few more options.

  5. From here you can change the Mount Point: – if you'd rather have the drive show up in your Documents folder, you would enter something like /Users/your-user-name/Documents/. This tutorial assumes you're using the default (which means leave it blank). If you'd like to give the volume a name other than the default (which is the host name), enter it in the Volume Name: field.

    When you're done making any changes, click OK

  6. You'll be prompted to allow Macfusion to store your login details in the keychain. Click Always Allow (unless you have reason not to – in which case click Allow.
  7. Now click Mount back in the main Macfusion Window. You may be prompted to allow the items in the keychain again.
  8. The status will change from (Unmounted) to (Mounted)
  9. Open a Finder window, and you'll see your FTP host mounted as a local drive in the DEVICES list. You can browse it as you would any other local drive.
  10. You can read/view, write and edit files as if they were on your Mac.
  11. To add a SSH drive the process is very similar. Select the + (plus sign) and then SSHFS from the drop-down list.
  12. Again, enter the appropriate info in the spaces provided. Click the SSH Advanced tab when you're done.
  13. From here you can change the SSH port if your host uses one other than 22. You can also select to Enable Compression (I didn't) or de-select Follow Symbolic Links (I didn't – it's useful). When you're done, click the Macfusion tab.
  14. From here you can change the Mount Point: the same way you can with FTPFS, or give your volume a name other than the default (which again will be the host). Click OK when you're done.
  15. You'll go through the Always Allow keychain process again, and then after clicking Mount, your SSH host will be mounted as a local drive.
  16. Now each time you launch Macfusion your sites will be saved, and you can quickly connect to them by clicking the Mount button.

mount_ftp


© December 2005 Tony Lawrence

You probably know that if you do Apple-K in the Finder, you can type in an ftp address (ftp://..) and then point and click your way through a public ftp server. You can do the same thing at the command line with 'mount_ftp':

You can then copy files from ~/desktop/fobar. 'ls ~/desktop/foobar' and so on. Of course it's not really mounted in the traditional sense, but the illusion is maintained and as far as any program or script is concerned, this is just a rather slow directory.

Sftp

Mac Mount Ftp Software

You can eject the volume from Finder or use 'umount':

Download mac sierra. However, it's possible to get umount confused. I did this:

On OS X, /tmp/is a symbolic link, so the mount shows up like this:

That works (I changed the actual name here), but it won't unmount:

The Finder couldn't eject it either. The only way to unmount was to do this:

Mac Mount Ftp Plugin

The '-f' is necessary, as is the 'cd /'. Note that 'umount -f /private/tmp/b' won't work: I had to be in / and 'umount -f private/tmp/b'.


Got something to add? Send me email.


(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Printer Friendly Version
-> -> mount_ftp


Inexpensive and informative Apple related e-books:
Take Control of IOS 11
Take control of Apple TV, Second Edition
Take Control of Pages
Photos: A Take Control Crash Course
El Capitan: A Take Control Crash Course

More Articles by Tony Lawrence© 2009-11-07 Tony Lawrence



The primary duty of an exception handler is to get the error out of the lap of the programmer and into the surprised face of the user. (Verity Stob)


Troubleshooting posts

Mac Mount Ftp App

Unix/Linux Consultants
Skills Tests
Unix/Linux Book Reviews
My Unix/Linux Troubleshooting Book
This site runs on Linode




broken image