DEV Community

kunzhu0710
kunzhu0710

Posted on

2 1

Tencent Cloud COS enables FTP function

My website has always used Tencent Cloud's COS , and static resources such as pictures, JS, and CSS exist on it, and the speed is ideal. But there is a common point: file management is quite inconvenient. Although uploading files can support a single file of 20G, deleting files can only be deleted one by one, and when there are files in the folder, they cannot be deleted. Delete things one by one, then delete the folder. Some people may say, just put it there, it doesn't affect it anyway, but for my obsessive-compulsive disorder, this is unbearable! ! Sometimes I really delete one by one, it's really hard.

image

So today I did some research on the Internet and found that there is an official API on the Internet to write scripts for batch control, which is not bad, and the wp plug-in is used. Next is the focus of this article, super invincible and convenient: apply for official FTP permissions to manage files.
step:

  1. Log in to Tencent Cloud official website and enter the console;
  2. Click on the upper right corner: work order - my work order;
  3. Left: Submit a work order - please select the problem category - storage and CDN - object storage COS;
  4. Then select: Enable FTP function. Fill in the Bucket for which you want to enable the FTP function below;
  5. You're done! The review speed did not say, I had to pass it in about 7-8 minutes.

image

At this point, it is almost completed, the rest is to create an FTP account (object storage service-Bucke list-modify configuration-FTP settings), and then log in with Winscp, you can see all files, no more Every time I upload a file, I have to log in to the official website and upload it. You can operate it at will here. Of course, the risk is also greater. If you make a mistake, it will be in vain. Here are some instructions for FTP:
Client configuration:

Address: ftp://ftp.file.myqcloud.com Port number: 9421 Encryption method: TLS explicit encryption (recommended) or no encryption (not recommended) Connection mode: pasv Passive mode timeout setting: 300 seconds (recommended)

Functional limitations:

Download operations are not supported. Remote move, copy, and rename operations are not supported. The maximum file limit is 100 MB.

Image of Datadog

How to Diagram Your Cloud Architecture

Cloud architecture diagrams provide critical visibility into the resources in your environment and how they’re connected. In our latest eBook, AWS Solution Architects Jason Mimick and James Wenzel walk through best practices on how to build effective and professional diagrams.

Download the Free eBook

Top comments (1)

Collapse
 
kunzhu0710 profile image
kunzhu0710

study

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read more