Technology Encyclopedia Home >How to enable FTP function in COS?

How to enable FTP function in COS?

To enable the FTP function in Tencent Cloud Object Storage (COS), you can follow these steps:

Step-by-Step Guide:

  1. Create a COS Bucket:

    • Log in to the Tencent Cloud Console.
    • Navigate to the COS service.
    • Click on "Create Bucket" and follow the prompts to set up your bucket.
  2. Enable FTP Access:

    • In the COS Console, select the bucket you created.
    • Go to the "Basic Information" tab.
    • Scroll down to find the "FTP Access" section.
    • Click on "Enable FTP Access".
  3. Configure FTP Credentials:

    • Once FTP access is enabled, you will be prompted to set up FTP credentials.
    • Enter a username and password for FTP access.
    • You can also set an expiration time for these credentials if needed.
  4. Test FTP Connection:

    • Use an FTP client (like FileZilla) to connect to your COS bucket via FTP.
    • Enter the FTP server address provided in the COS Console (usually in the format ftp://<bucket-name>.ftp.cos.<region>.myqcloud.com).
    • Use the credentials you set up to log in.

Example:

Suppose you have created a bucket named "my-ftp-bucket" in the Guangzhou region. Here’s how you would enable FTP access:

  1. Enable FTP Access in COS Console:

    • Go to the "FTP Access" section under your bucket's "Basic Information".
    • Click "Enable FTP Access".
  2. Set Credentials:

    • Username: myftpuser
    • Password: SecurePass123
  3. FTP Server Address:

    • ftp://my-ftp-bucket.ftp.cos.ap-guangzhou.myqcloud.com
  4. Connect Using FileZilla:

    • Host: my-ftp-bucket.ftp.cos.ap-guangzhou.myqcloud.com
    • Username: myftpuser
    • Password: SecurePass123

Additional Recommendations:

For enhanced security and management, consider using Tencent Cloud's COSFS (COS File System) service, which allows you to mount COS buckets as a local file system and provides more flexible access methods, including FTP.

By following these steps, you can easily enable and use FTP functionality with your COS buckets, facilitating file transfers and management.