Sample Header Ad - 728x90

Ask Different (Apple)

Q&A for power users of Apple hardware and software

Latest Questions

4 votes
2 answers
1130 views
Finder connects to FTP server, but has blank file list
# Description When I mount a LAN or WAN FTP share in Finder under High Sierra (10.13.6), it lists no files or folders. # Steps: 1. Connect to the server via Finder's "Connect to Server..." command ("Go" menu or ⌘K) 2. Enter the share URL as (e.g.) 'ftp://ftp.ngdc.noaa.gov/'. 3. Enter the credentials...
# Description When I mount a LAN or WAN FTP share in Finder under High Sierra (10.13.6), it lists no files or folders. # Steps: 1. Connect to the server via Finder's "Connect to Server..." command ("Go" menu or ⌘K) 2. Enter the share URL as (e.g.) 'ftp://ftp.ngdc.noaa.gov/'. 3. Enter the credentials or sign in as a guest user (as appropriate) # Result The connection is successful (no error). A finder window opens up for the share, but the file display is blank. # Additional info Packets captured by Wireshark show the correct username and password are being sent, and are accepted, and that my computer receives the file list. Other FTP clients have no issues connecting or listing files from any of the servers I've tested. # Question How can I figure out why Finder doesn't display the FTP directory listing?
outis (464 rep)
Jul 17, 2019, 07:43 PM • Last activity: May 20, 2025, 02:03 PM
137 votes
15 answers
372961 views
What's a good graphical SFTP utility for OS X?
I need a small graphical utility, using which I can ssh to a server and see all the files and copy and paste (drag and drop) into my local machine. I am running Snow Leopard.
I need a small graphical utility, using which I can ssh to a server and see all the files and copy and paste (drag and drop) into my local machine. I am running Snow Leopard.
xyz (4053 rep)
Sep 22, 2011, 05:48 AM • Last activity: Apr 23, 2025, 09:34 PM
0 votes
2 answers
96 views
Which IDE also have integrated FTP Client to directly edit files stored on a server?
I use an IDE over FTP app called [Coda (developed by Panic)][1] which has a key feature I seek: a server side built-in editor for developer specific files (js, html, php, etc.) stored remotely. This means: 1)You don't need to download the file to edit it. 2)You don't need another app to edit the fil...
I use an IDE over FTP app called Coda (developed by Panic) which has a key feature I seek: a server side built-in editor for developer specific files (js, html, php, etc.) stored remotely. This means: 1)You don't need to download the file to edit it. 2)You don't need another app to edit the file. (With features like syntax awareness and coloring, indenting tools and things above basic auditing like copy and paste.) Coda is "all in one" in application but it’s no longer getting fixes. I tried FileZilla, Cyberduck, CommanderOne, ForkLift, etc. But none of them have sufficient editor features. Are there similar editors with these two features?
chefnelone (765 rep)
Mar 20, 2025, 08:01 AM • Last activity: Mar 21, 2025, 01:59 PM
6 votes
3 answers
2605 views
Is it possible to automate FTP in Terminal?
I want to add an FTP command to my crontab to automatically download a file. How do I do this?
I want to add an FTP command to my crontab to automatically download a file. How do I do this?
daviesgeek (39867 rep)
Aug 2, 2011, 11:41 PM • Last activity: Mar 16, 2025, 09:03 PM
0 votes
1 answers
76 views
Copy all photos to SFTP with an app?
I would like from an iPhone to upload all the photos into a SFTP account on my Linux server. Is there a built-in way on the iPhone to copy files/photos to a SFTP server? Or should we use a free App Store app for this?
I would like from an iPhone to upload all the photos into a SFTP account on my Linux server. Is there a built-in way on the iPhone to copy files/photos to a SFTP server? Or should we use a free App Store app for this?
Basj (183 rep)
Feb 4, 2025, 04:50 PM • Last activity: Mar 5, 2025, 01:30 PM
2 votes
1 answers
103 views
change mutiple xml fields data and the data have differnt name #have try apple script #on mac
### Scenario description This side needs to go to a ftp regularly to download the data down and change their fields. The process is: 1. Download from a place to get a file name called "202301081014XXXX.REQ" data format xml 2. change the data of one of the fields of S001 which content is "1234" Chang...
### Scenario description This side needs to go to a ftp regularly to download the data down and change their fields. The process is: 1. Download from a place to get a file name called "202301081014XXXX.REQ" data format xml 2. change the data of one of the fields of S001 which content is "1234" Change it to "abcd" 3. If the change is completed, create a file with the same name and name it as "202301081014XXXX.REQ.OK" 4.Upload the two created data to another ftp path Currently I have tried the action 1. via Mac app script tools 2. The operation of recording the screen is as follows
tell application "Finder"
    activate
    open document file "202301081014N1234.REQ" of folder "Downloads" of folder "blue2" of folder "Users" of startup disk using application file "BBEdit.app" of folder "Applications" of startup disk
end tell
tell application "BBEdit"
    activate
    open find window
    find "1234" searching in text 1 of text document id 829 with selecting match
    set characters 406 thru 428 of text document id 829 to "abcd"
    select insertion point after characters 406 thru 428 of text document id 829
    save text document id 829
end tell
### Problems encountered Because the names of the data are different, I have read the [official documents](https://developer.apple.com/library/archive/documentation/AppleScript/Conceptual/AppleScriptLangGuide/reference/ASLR_folder_actions.html#//apple_ref/doc/uid/TP40000983-CH219-SW2) but I don't know how to define the scope. And the \ field is in a different position, so I can't execute the recorded AppleScript.
blue2lynn (21 rep)
Jan 8, 2023, 02:27 PM • Last activity: Sep 30, 2024, 11:04 PM
3 votes
1 answers
2492 views
After restoring FTP server in High Sierra, how to log in to localhost?
I followed the instructions here https://apple.stackexchange.com/a/312273/72004 to get an FTP server running on High Sierra. But when I log in to localhost, it doesn't recognize me as a user. % ftp localhost Trying ::1... Connected to localhost. 220 ::1 FTP server (tnftpd 20100324) ready. Name (loca...
I followed the instructions here https://apple.stackexchange.com/a/312273/72004 to get an FTP server running on High Sierra. But when I log in to localhost, it doesn't recognize me as a user. % ftp localhost Trying ::1... Connected to localhost. 220 ::1 FTP server (tnftpd 20100324) ready. Name (localhost:[my username]): [my username] 530 Login incorrect. ftp: Login failed What gives? How can I restore myself as an FTP user? Thanks!
Richard Maneuv (79 rep)
Apr 19, 2018, 03:55 AM • Last activity: Sep 17, 2024, 09:06 AM
1 votes
1 answers
405 views
Panic Transmit 5 cache is not cleared
With Panic Transmit 5.10.4 the contents of ~/Library/Caches/Transmit/ is over 5GB. I use BBEdit as an external editor, files I edit are never purged / cleared. Even after macOS restart
With Panic Transmit 5.10.4 the contents of ~/Library/Caches/Transmit/ is over 5GB. I use BBEdit as an external editor, files I edit are never purged / cleared. Even after macOS restart
david-giorgi (126 rep)
Jan 29, 2024, 09:54 PM • Last activity: Jan 30, 2024, 03:44 AM
17 votes
7 answers
176362 views
How do I download folders through FTP in Terminal?
How do I download a whole folder through FTP in Terminal?
How do I download a whole folder through FTP in Terminal?
daviesgeek (39867 rep)
Jul 21, 2011, 05:50 PM • Last activity: Nov 28, 2023, 06:54 PM
1 votes
1 answers
99 views
How to remove and restrict “Connect to server…”?
Using [MDM](https://support.apple.com/en-ca/guide/deployment/dep1d7afa557/web), how can one remove and restrict “Connect to server…” including Command+K? Want to make sure users cannot access local or remote servers.
Using [MDM](https://support.apple.com/en-ca/guide/deployment/dep1d7afa557/web) , how can one remove and restrict “Connect to server…” including Command+K? Want to make sure users cannot access local or remote servers.
sunknudsen (1012 rep)
Nov 3, 2023, 07:00 PM • Last activity: Nov 3, 2023, 08:05 PM
1 votes
0 answers
61 views
If I download a file from safari to a location that is an FTP/SFTP server will it be downloaded directly to the server?
I have an SFTP server mounted to my iPhone’s filesystem with the help of a third party application. If I download a file from safari will it be downloaded to my device and then uploaded to the server or will it go directly from site’s server to said SFTP server?
I have an SFTP server mounted to my iPhone’s filesystem with the help of a third party application. If I download a file from safari will it be downloaded to my device and then uploaded to the server or will it go directly from site’s server to said SFTP server?
infinitieunique (11 rep)
Oct 13, 2023, 05:29 AM
0 votes
0 answers
168 views
FTP on Mac M2 failing -- Trace/BPT trap: 5
I am trying to connect to FTP from a M2 Mac brew install tnftp ftp -nv $ADDRESS Gives an error Connected to $ADDRESS 220- 220 FTP Server ready. 331 Anonymous login ok, send your complete email address as your password Trace/BPT trap: 5 Further info: otool -L `which ftp` ~/.homebrew/bin/ftp: /usr/lib...
I am trying to connect to FTP from a M2 Mac brew install tnftp ftp -nv $ADDRESS Gives an error Connected to $ADDRESS 220- 220 FTP Server ready. 331 Anonymous login ok, send your complete email address as your password Trace/BPT trap: 5 Further info: otool -L which ftp ~/.homebrew/bin/ftp: /usr/lib/libedit.3.dylib (compatibility version 2.0.0, current version 3.0.0) /usr/lib/libncurses.5.4.dylib (compatibility version 5.4.0, current version 5.4.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1311.100.3) I am seeing that this may somehow be related to libraries but not sure what steps I can take to figure the exact cause
Dima Lituiev (143 rep)
Oct 3, 2023, 04:05 PM • Last activity: Oct 3, 2023, 04:23 PM
1 votes
1 answers
369 views
My username for remote ftp access is different from my macos username and Finder will not let me edit the files
I can connect to a remote ftp server in Finder using the syntax ftp://username@host/path and then supplying the password. I get to see the files in the remote directory and can read them. However I do not seem to have write access to these files. Finder also does not display permissions for them exc...
I can connect to a remote ftp server in Finder using the syntax ftp://username@host/path and then supplying the password. I get to see the files in the remote directory and can read them. However I do not seem to have write access to these files. Finder also does not display permissions for them except rather confusingly via Get Info: enter image description here The username used for the remote server is not the same as my username on the Mac. Could this be the problem? I normally access the ftp server from a Linux machine without these difficulties.
reallydismayed (170 rep)
May 3, 2022, 05:49 PM • Last activity: May 31, 2023, 01:02 AM
2 votes
1 answers
370 views
Trying to access our FTP server. Getting "Killed 9." How do I resolve this?
I just tried to access our FTP server via the command-line FTP client on my new M2 Mini. And it gives an immediate "Killed 9" message. On my 2017 iMac (Catalina): (Note that the ftp server domain name "has been changed to protect the innocent") ``` ftp xxx.com Connected to xxx.com. 220 (vsFTPd 3.0.2...
I just tried to access our FTP server via the command-line FTP client on my new M2 Mini. And it gives an immediate "Killed 9" message. On my 2017 iMac (Catalina): (Note that the ftp server domain name "has been changed to protect the innocent")
ftp xxx.com
Connected to xxx.com.
220 (vsFTPd 3.0.2)
Name (xxx.com:foo): yyy
331 Please specify the password.
Password: 
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>
On an AS/400 in the cloud:
Connecting to host XXX.COM at address 35.174.190.169 using port 21.
  220 (vsFTPd 3.0.2)                                                      
> yyy                                                                
  331 Please specify the password.                                        
  230 Login successful.                                                   
  UNIX Type: L8
On my M2 Mini:
ftp xxx.com
Killed: 9
On my M2 Mini, trying to connect to an FTP server on the same LAN, only one desk over, server name in my host table, that also works just fine from my 2017 iMac, and from a couple of AS/400s in the same room:
ftp europa
Killed: 9
The ftp *and telnet* commands *both* fail with Killed 9 on the Mini, *even if I don't specify a server.* And that doesn't happen on the 2017 iMac. I'm pretty sure I had to stick both the command line FTP and the command line Telnet back onto the iMac when I updated it to Catalina.
hbquikcomjamesl (934 rep)
May 12, 2023, 04:32 PM • Last activity: May 17, 2023, 05:47 AM
5 votes
1 answers
3814 views
Mount SFTP on M1 macOS
After about 6 years of using Ubuntu I am switching for the first time to macOS given the remarkable specification of M1 chip. One of the main use of my laptop (that ran on Ubuntu) was to connect to a Server also running on Ubuntu. I guess macOS would surely allow SSH via terminal as this is a very b...
After about 6 years of using Ubuntu I am switching for the first time to macOS given the remarkable specification of M1 chip. One of the main use of my laptop (that ran on Ubuntu) was to connect to a Server also running on Ubuntu. I guess macOS would surely allow SSH via terminal as this is a very basic command. What I am not sure if it allows mounting external devices like Ubuntu as shown in image below, Screenshot of Ubuntu Connect to Server feature showing recent sftp:// servers In Ubuntu we had Connect To Server feature, which used the SFTP protocol. This feature would mount the remote server onto my laptop allowing easy browsing and shifting of files. Will this be possible on the new MacBook Air with M1 chip? Of course we could use SFTP via terminal, but I am looking for the GUI mounting feature of Ubuntu. What will be the closest alternative of 'Connect to Server' feature of Ubuntu for macOS? I found a solution in this YouTube video . Here however it is demonstrated only for connecting to Windows and Mac systems. Can this be used to connect to Ubuntu Server also? Note: I simply want to mount the filesystem of Ubuntu onto my macOS and security is not that important.
Mohit Lamba (193 rep)
May 6, 2021, 10:32 AM • Last activity: Mar 6, 2023, 10:01 AM
0 votes
3 answers
1787 views
How to delete an account for a now unused ftp server from finders "connect at login" list
EDIT2: I found the solution, see my answer below. EDIT: The question may be a bit misleading I don't have it in the favorites bar, the problem is that finder always tries to connect to a server when I start my machine or log in. I once saved an ftp server as a "favorite" in finder (so finder would a...
EDIT2: I found the solution, see my answer below. EDIT: The question may be a bit misleading I don't have it in the favorites bar, the problem is that finder always tries to connect to a server when I start my machine or log in. I once saved an ftp server as a "favorite" in finder (so finder would automatically try to connect to it at startup). I no longer use this service, but finder still tries to connect to it automatically at every startup, I'm not sure how to delete this server from the list of servers finder tries to connect to automatically. How do I do that? Some things I have tried: It has been removed from favorite servers and I also cleared the recent servers list in the "Connect to Server" menu. This had no effect.
Var87 (343 rep)
Jan 5, 2015, 10:16 AM • Last activity: Jan 2, 2023, 04:24 PM
3 votes
2 answers
1590 views
Unable to run vsftpd command
I am using Sierra 10.12.6 and by using Homebrew, `vsftpd` is installed so that I can set up an FTP server my iPad can connect to. However, I can't run the command vsftd: `zsh: command not found: vsftpd` But when I try to install `vsftpd` again, i see that `*Warning: vsftpd 3.0.3 is already installed...
I am using Sierra 10.12.6 and by using Homebrew, vsftpd is installed so that I can set up an FTP server my iPad can connect to. However, I can't run the command vsftd: zsh: command not found: vsftpd But when I try to install vsftpd again, i see that *Warning: vsftpd 3.0.3 is already installed I can do man vsftpd and that works fine. I run which vsftpd at root, this returns vsftpd not found I went to the vsftpd config file and also set listen=YES So how do I run vsftpd?
zcahfg2 (145 rep)
Nov 3, 2017, 08:15 PM • Last activity: Nov 21, 2022, 09:04 PM
5 votes
4 answers
15761 views
How do I use FTP via the command line to download all files?
I tried to use Filezilla and Cyberduck for file transfer over a simple FTP server. The problems I have is: - Filezilla: When I use it for file transferring, I check the "Activity Monitor", the "% CPU" usage is like 150% - 200%. I was shocked. My mac start to become lag, so I stop it. - Cyberduck: Wh...
I tried to use Filezilla and Cyberduck for file transfer over a simple FTP server. The problems I have is: - Filezilla: When I use it for file transferring, I check the "Activity Monitor", the "% CPU" usage is like 150% - 200%. I was shocked. My mac start to become lag, so I stop it. - Cyberduck: When I download a folder from ftp, about 60mb, inside have small files (*.php, *.jpg etc). It took about 8 hours to download the files(there is a time indication of how much time left in cyberduck). If I use filezilla, it only takes about 1-3 mins. I notice, when using Cyberduck, it keep setting the permissions first, not really transfer the files directly. And it took quite long. Thus, I went to google, and I found that mac can use Terminal to connect to ftp server and download files. ftp hostname mget * (download all the files) Now, another problem, let say, in my ftp I have: - blog(folder) - php(folder) - img(folder) - others folder I want to download "blog" and its subsequent folders and files. Can I do it in 1 command line? If no, how do you download my "blog" folder? I remember in unix/linux command, there is something like this: - remove -R blba which remove the folder blba recursively (its subsequent folders and files), I wonder if mac's terminal ftp command can support this. Please advise
jiali (125 rep)
Oct 18, 2011, 03:52 AM • Last activity: Nov 16, 2022, 07:29 PM
11 votes
5 answers
21835 views
Looking for a tool to automatically two-way sync SFTP with local folder
I use OS X for development and I want to push changes to dev server on every ⌘+S. When I check out a different branch, I want the local folder to update accordingly. So I figured I need an **automatic, two-way sync solution**. My editor of choice is [Sublime Text][1] (which is awesome, you totally s...
I use OS X for development and I want to push changes to dev server on every ⌘+S. When I check out a different branch, I want the local folder to update accordingly. So I figured I need an **automatic, two-way sync solution**. My editor of choice is Sublime Text (which is awesome, you totally should check it out). I began my quest with Sublime Text SFTP plugin by Will Bond but found it unstable and slow. Then I attacked the problem with Panic Transmit . It is stunningly beautiful. However, it didn't help me either. Transmit offers two options: * two-way sync between local and remote folder; * mount SFTP to the filesystem. Alas, **its two-way sync is manual** and has to be invoked by pressing a button. (I could probably get around this by writing some clever AppleScript—but I don't know it.) SFTP mounting is great—unfortunately, it has major disadvantages: file searching is predictably slow and **there seems to be no way to tell Transmit that files have changed on server**. You need to unmount and mount again to see the remote changes. This makes branches impossible to work with. I'm really confused now and I don't feel like wasting a couple of hours on a wrong solution. I'm open to suggestions for a tool to improve my workflow. Here's what I found so far. I'm not sure any of those can actually watch remote folder for changes. * writing some AppleScript to sync Transmit both ways each ten seconds; * using rsync and Folder Actions ; * using [rsync and FSEvent](http://www.onyxraven.com/2011/02/20/localserver-synchronization-via-rsync-and-fsevent/) ; * using DoubleDown (open source); * buying [FolderWatch](http://www.brothersroloff.com/folderwatch/) (commercial); * doing something else. Note that I'm looking for a solution that **works out of the box**. I don't want a tool that can't handle new/changed/deleted files or folders without fiddling with its source code.
Dan (5067 rep)
Feb 15, 2012, 08:49 PM • Last activity: Nov 9, 2022, 10:06 PM
6 votes
2 answers
4653 views
Are there SFTP command-line tool for macOS that have history or auto complete?
Is there software for macOS that adds command history, autocompletion or other features to an `ftp` command line client?
Is there software for macOS that adds command history, autocompletion or other features to an ftp command line client?
jjrr (303 rep)
Oct 5, 2022, 08:18 AM • Last activity: Oct 10, 2022, 01:36 PM
Showing page 1 of 20 total questions