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

How does proftpd support uploading sfv check

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

Editor to share with you how proftpd supports uploading sfv check, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

Let proftpd support uploading sfv check

This application is widely used in Serv_U, and today we are going to talk about how to make proftpd support this feature.

one. Download a plug-in for sfv first

To http://www.bunker-werk.net/proftpd/ http://www.bunker-werk.net/proftpd/... 1.5.tar.bz2.

two. Compilation and installation

Tar jvxf ftpsfv-0.1.5.tar.bz2

Cd ftpsfv

. / configure

Make

Make install

# installed in / usr/local/ftpsfv by default. You can specify the installation address through-- prefix.

three. Ftpsfv Settin

Vi / usr/local/ftpsfv/etc/ftpexecd.conf

User = root

Group = root

# users and user groups that enable ftpexec service can also be specified as nobody, but only if you have write permission to the sfv.fifo file

FifoFile = / var/log/sfv.fifo

LogFile = syslog

# if set to "none", the log log is not written

# set to "syslog" and write to log log

Exec = / usr/local/ftpsfv/bin/ftpsfvcheck.pl

# default settings are fine

Vi / usr/local/ftpsfv/bin/ftpsfvcheck.pl

Set up according to your needs, such as

My $user = "root"

My $group = "root"

# just set it to be the same as the conf file

My $sitename = "ftpSFV"

# just set it to the name of the ftp site you want to display

My @ exclude_dirs = ("")

# this is to set which directories do not need to verify the sfv file. All are detected by default

four. Proftpd Settin

Vi / usr/local/proftpd/etc/proftpd.conf

Add the following settings

Logformat sfv "m f

ExtendedLog / var/log/sfv.fifo WRITE sfv

Save exit

five. Enable ftpsfv

Start ftpxsfv

/ etc/rc.d/init.d/ftpexecd start

Then restart proftpd.

/ etc/rc.d/init.d/proftpd restart

All right, upload a sfv file and try it. You should see the message.

The overall feeling that the sfv plug-in is not very stable, I tried it a few times, sometimes successful, sometimes unresponsive, I do not know why. And ask for your advice.

Generally, the sfv file is uploaded first, so that when the actual file is uploaded, if it is finished, it will be automatically generated by the system. If it is not finished, the system will automatically judge that this is a bad file according to sfv, and you will not download this information when you see it.

It has nothing to do with downloading, it is used to check whether the uploaded file is complete.

How to achieve do not ask me, but similar to the md5 test.

This system is only used for testing, not for generating sfv.

The above is all the content of the article "how proftpd supports uploading sfv check". 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