• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

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