Mandriva Expert
The place where your Mandriva Linux system finds support

proftpd Append/restart not permitted on uploads

+/- details
User pcdwarf
Incident Number 6519
Date 2001/12/12 01:02
Status Incident closed
Paid No

Product 8.1
Architecture x86_32
Scope File Server (FTP)

Products owned
Community Support question - to convert into a paid question, click here

Lines in bold below have not yet been seen by the customer - those in blue are from the customer

Username : Date : Action : Comments [ close all ]    
 
pcdwarf : 12/12/01 01:02 AM : Incident created
-   when I try to resume an upload on my FTP server, y get a message

451 file.dat Append/Restart Not permitted, try again

what's the problem ?

 
uligue : 12/02/02 03:48 AM : More info requested
-   What FTP server is used? ProFTP? wu-ftp?

What are the diretives of FTP server?

 
pcdwarf : 15/02/02 08:18 PM : More info provided
-   the server is proftpd

directives ?
what's that ?

do u mean /etc/ftpaccess

 
uligue : 16/02/02 11:23 PM : Reply received
-   > do u mean /etc/ftpaccess ?

No! ProFTPd does not use /etc/ftpaccess. This is used only by wu-ftp.ProFTPd
uses a similar file name, but uses a dot (.ftpaccess) in the for that specific
directory.

The configuration file of ProFTPd is /etc/proftpd.conf. It has a lot of
directives (configuration blocks). (See www.proftpd.org or the directory
/usr/share/doc/proftpd-1.2.x.x.x).

Let me know your /etc/proftpd.conf

 
pcdwarf : 17/02/02 03:22 PM : More info provided
-   I don't know exactly what is and is not necessary in the config file


Here is a copy of /etc/proftpd.conf
(I don't want anonymous access)


note that ftp clients have no problems with resuming broken downloads
but only broken uploads (I mean from client to server)

there is no problems with overwriting files when upload is broken.
so, it should not be a problem of file permission

I tried with 3 windows ftp clients
SmartFTP
CuteFTP
leechFTP

The problem is the same so it should not be a problem with the client configuration.

 
pcdwarf : 17/02/02 03:22 PM : More info provided
-   I don't know exactly what is and is not necessary in the config file


Here is a copy of /etc/proftpd.conf
(I don't want anonymous access)


note that ftp clients have no problems with resuming broken downloads
but only broken uploads (I mean from client to server)

there is no problems with overwriting files when upload is broken.
so, it should not be a problem of file permission

I tried with 3 windows ftp clients
SmartFTP
CuteFTP
leechFTP

The problem is the same so it should not be a problem with the client configuration.


Attachment
 
pcdwarf : 17/02/02 03:26 PM : More info provided
-   my browser reported an error while uploading the attached file
here is a new copy of

/etc/proftpd.conf


Attachment
 
pcdwarf : 17/02/02 03:45 PM : More info provided
-   from proftpd.org 's FAQ

451 append/restart not permitted, try again

AllowStoreRestart is disabled by default because it will allow any writable file to be corrupted by a malicious user. It is recommended that this option is only used with authenticated users and then only in certain directories.

where mut i add the directive
AllowStoreRestart
to enable it ???

proftpd.conf ?

 
uligue : 17/02/02 10:15 PM : Reply received
-   Yes! You must define this in proftpd.conf.

Let the following scenario: User directory /home/user1/sub1

In proftpd.conf
<Directory /home/user1/sub1>
AllowStoreRestart on
<Limit LOGIN>
Order allow,deny
Allow from 192.168.10.2
</Limit>
....
</Directory>
==========

 
pcdwarf : 18/02/02 01:57 AM : Incident closed
-  



This Incident is closed. It can not be edited anymore. You can create a new one by signing up/logging in your Mandriva Expert account.

  Mandriva  |  Contact  |  Legal  |  Privacy  |  Careers