• The ImunifyAV extension is now deprecated and no longer available for installation.
    Existing ImunifyAV installations will continue operating for three months, and after that will automatically be replaced with the new Imunify extension. We recommend that you manually replace any existing ImunifyAV installations with Imunify at your earliest convenience.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

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