Articles

How to Upload Files over SFTP with Cyberduck

Once you've installed Cyberduck, it's time to set up Cyberduck so you can upload your files to your apps.

Setting Up Cyberduck

To SFTP into your server, click Open Connection.

Select SFTP (SSH File Transfer Protocol) from the drop-down list at the top of the pop-up window.

Enter your server's IP address in the Server field. Enter the username as serverpilot (or one of your other system users) and enter the password. Place a check mark next to Add to Keychain.

Click Connect.

Since this is your first time connecting to your server, check the box next to Always and click Allow in the Unknown Fingerprint popup.

Now, you'll be able to easily install apps and add other files to your server.

Uploading Files to Your App

Cyberduck makes it easy to upload files to your apps. Simply drag them from their existing location and drop them into the app's location on your server.

For example, if you created an app named "APPNAME", that app's web root directory (the directory you place its files in) will be:

apps/APPNAME/public

By default, there will be an "index.php" file in that directory. You can replace that file with your own. Another example is shown below.

Now you can upload files with ease or configure Cyberduck to show your hidden files and to set your text editor.