Couchdrop Knowledge Base
Couchdrop HomepageDevelopersLogin
  • Welcome
  • Features
    • SFTP Server
      • Storage
      • Users
      • How to connect
      • Enabling FTPs
      • Host key authentication
    • Transfer Automations
      • Creating an Automation
      • Supported Actions
      • Variables
      • Troubleshooting
    • Shared Links
    • Upload Links
    • Inbound Mailboxes
    • Inbound Webhooks
    • File Actions
    • Inbound AS2 Stations
  • Administration
    • Users and Groups
      • User Roles
      • Creating Users
      • The Root Directory
      • Passwords and RSA Keys
      • Features Access
      • Firewalls and ACLs
    • Storage Connections
      • SharePoint
      • Azure Files
      • Amazon S3
      • Google Workspace
      • Google Drive
      • Box
      • Dropbox
      • Egnyte
      • Outbound AS2
      • External SFTP Server
      • Windows / Mac File Server
        • Server Requirements
        • Proxy Configuration
        • Non-GUI Environments
        • Running the Couchdrop Agent as a Service
        • Logging and Debugging
      • Others
        • OneDrive
        • Azure Blob
    • Folder Permissions
    • Alerting and Notifications
    • Custom Domains
    • SSO and Single Sign-on
      • SAML SSO
      • SCIM - Azure
      • SCIM - Okta
    • Security
      • Password Policies
      • Account Lockout
      • Account expiry
      • Two Factor Authentication
    • Other
      • Static IPs
      • Malware Scanning
  • Walkthroughs
    • Using SFTP Clients
      • OpenSSH SFTP
      • How to use SFTP with Cyberduck
      • How to use SFTP with FileZilla
      • Using SFTP with Golang
      • Using Python with SFTP
      • Using SFTP with Java
      • Using SFTP with Bash
      • Using SCP
    • SFTP To SharePoint
    • SFTP to Azure Files
    • Automated file transfers to SharePoint
    • Email Inboxes with Couchdrop
    • Delegating Domain-Wide Authority in Google Workspace
  • Other
    • FAQs
    • Trust/Security Center
    • Login to Couchdrop
    • API Documentation
Powered by GitBook

Couchdrop

  • Homepage
  • Register
  • Login

Platform

  • Cloud SFTP Server
  • Cloud FTP Server
  • Automated Transfers
  • Mailboxes and Inboxes

Copyright Couchdrop Limited 2025

On this page
  • What is SCP?
  • How to use SCP

Was this helpful?

Export as PDF
  1. Walkthroughs
  2. Using SFTP Clients

Using SCP

Learn about SCP and using it to upload and download files

What is SCP?

SCP (Secure Copy Protocol) and SFTP (SSH File Transfer Protocol) are two distinct protocols used for file transfer over SSH. SCP is specifically designed for copying files between hosts on a network, SFTP provides a more feature-rich file transfer capability, including file manipulation, directory listing, and more.

If you want to use SCP with an SFTP server, you need to ensure that the server supports both protocols. However, if the server only supports SFTP, you won't be able to use SCP directly with it.

Couchdrop supports both SFTP and SCP.

How to use SCP

Here's how you can use SCP with an SFTP server if the server supports both protocols:

  1. Check Server Support: First, confirm that the SFTP server you are connecting to supports SCP. Some SFTP servers might have SCP support disabled or not implemented.

  2. Connect with SCP: If the server supports SCP, you can use the scp command just like you would with any other SCP-enabled server. Here's the basic syntax:

    scp source_file username@hostname:/path/to/destination

    Replace source_file with the path to the file you want to transfer, username with your username on the server, hostname with the hostname or IP address of the server, and /path/to/destination with the destination directory on the server.

    For example:

    scp myfile.txt user@example.com:/home/user/
  3. Authentication: SCP uses SSH for authentication, so you might be prompted to enter your password or provide a private key passphrase if you're using key-based authentication.

  4. Transferring Files: Once authenticated, SCP will securely transfer the specified file to the destination directory on the server.

  5. Close Connection: After the transfer is complete, SCP will close the connection, and you'll return to your local shell prompt.

If the SFTP server does not support SCP, you'll need to use SFTP commands or a dedicated SFTP client to transfer files. Most SFTP servers support a wide range of client applications, making it easy to find one that suits your needs.

PreviousUsing SFTP with BashNextDelegating Domain-Wide Authority in Google Workspace

Last updated 1 year ago

Was this helpful?