简体   繁体   中英

Using mount_ftp command in MacOS

I want to include a ftp share into my normal filesystem by performing the following commands:

$ mkdir /Volumes/myfolder
$ mount_ftp ftp://user:password@ftp.domain.tld /Volumes/myfolder

I get no error message, but when I open the folder, the folder is just empty. I also tried to follow the instructions listed here , but I receive the error "The share does not exist on the server. Please check the share name, and then try again.". However, I can access to the share by typing ftp://user:password@ftp.domain.tld into my adress bar.

Any ideas what I could do wrong?

As you'll see in man mount_ftp , mount_ftp can set several return values. One way to get the return value is to say echo $? right after the mount_ftp command.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM