Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What if the PureFTPd file is automatically renamed?

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

Editor to share with you what to do when the PureFTPd file is automatically renamed, I believe most people don't know much about it, so share this article for your reference. I hope you can learn a lot after reading this article. Let's learn about it together.

Sometimes when a file is uploaded, it is automatically renamed to something like "pureftpd.3f3300d2.33.0001". What is the reason for this?

The FTP command used by the FTP client for uploading files is STOU (save * * files), not STOR. Check the ftp log file, and you should see something like this:

(user@a.b.c.d) [DEBUG] Command [stou] [file_name_from_the_client.ext] / var/ftp/ftpcustomer/pureftpd.3f3300d2.33.0001 uploaded (218168 bytes, 127.79KB/sec)

The STOU command tells the FTP client to start transferring files to the remote site; the file name selected by the remote FTP server will be the file in the current folder used by the ftp client. The server's reply will contain this file name.

The Ftp client enables an option such as "create a file" or "upload a file with a temporary file name". Ftp users should be asked to remove this option.

It is not a good idea or a good solution to attempt to disable the STOU command on the server side. Because some ftp clients use STOU to upload files with temporary file names, and then rename the files after the upload is complete. This prevents failed uploads from leaving incomplete files.

The above is all the contents of the article "what to do if the PureFTPd file is automatically renamed". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report