Thursday, May 30, 2013

Need to search your FTP server?

Note: I found these instructions while helping a client. The hero of this post on Super User about searching FTP servers is slhck and all credit for this post goes to him. Thank you for your service, you are a true warrior for the tech community!

With Cyberduck and SSH access, searching all of your files on an FTP server is rather easy.

First, install Cyberduck. As with most apps on Macs, it’s a simple installation. The trick is setting up your connection to the FTP server via SFTP, this uses SSH, commonly known as secure shell, to connect for file transfers and gives you access to the server’s command line.

Note: you should be very careful using the command line on a remote server. This is an easy way to screw your FTP server up completely. Just use the commands in these instructions or you will be sorry!

From Wikipedia:

Secure Shell (SSH) is a cryptographic network protocol for secure data communication, remote shell services or command execution and other secure network services between two networked computers that connects, via a secure channel over an insecure network, a server and a client (running SSH server and SSH client programs, respectively).[1] The protocol specification distinguishes between two major versions that are referred to as SSH-1 and SSH-2.

dwAchYf.jpg

Inside Cyberduck, you’ll want to configure a connection as shown above, only input the correct information in the blurred parts.

Once done, click the red dot (there’s no save button), and you get a list of bookmarks. Double-click the new bookmark to connect.

Then send a command using Option-Cmd-C.

Va93UXM.png

Use the GREP command to search for the file you want and you’ll locate the path, making it easy to navigate to the file you want.

Again: I found these instructions while helping a client. The hero of this post on Super User about searching FTP servers is slhck and all credit for this post goes to him. Thank you for your service, you are a true warrior for the tech community!

2 comments:

  1. This comment has been removed by a blog administrator.

    ReplyDelete
  2. This comment has been removed by a blog administrator.

    ReplyDelete