• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

ftp, resume not authorized?

C

cyrus1u1

Guest
I don't know since when I've got that issue, but recently I tried to resume a file, but I got an error:

[09:54:25] 350 Restarting at 44954028. Send STORE or RETRIEVE to initiate transfer
[09:54:25] STOR MOVIE-ABC.avi
[09:54:25] 451 MOVIE-ABC.avi: Append/Restart not permitted, try again
[09:54:25] Transfer failed.
 
Resume is off by default for ProFTPd

By default the configuration directive AllowStoreRestart is off.

See the directive for proftpd.conf
(I recommend using the file, proftpd.include):

http://www.proftpd.org/localsite/Userguide/linked/config_ref_AllowStoreRestart.html

So:

AllowStoreRestart on


To restart, use the HUP signal (this will not kill the process). ProFTPd may be run under inetd/xinetd.
Find the PID by:

fuser -v 21/tcp

Then restart the server using the PID advised:

kill -HUP 1234
(1234 being the PID)


You can also check your sytem log (eg. /var/log/messages) for the result:

xinetd[1234]: Starting reconfiguration
xinetd[1234]: Swapping defaults
xinetd[1234]: readjusting service ftp


Also see:
http://www.castaglia.org/proftpd/doc/contrib/ProFTPD-mini-HOWTO-Stopping.html
 
Config overwritten

Also I think that Plesk overwrites the config on change in the Plesk server GUI or package update for ProFTPd.

Why is Plesk so expensive yet they cannot even write software to preserve configuration outside their GUI?
I hate Plesk!
 
Back
Top