Resume file upload with ProftpD

Discussion in 'Installation/Configuration' started by nvn, Jun 26, 2007.

  1. nvn

    nvn New Member


    I can not resume upload ?

    SUSE 10

    I have AllowStoreRestart on in my conf file.

    This is my conf. file

    # This is a basic ProFTPD configuration file (rename it to 
    # 'proftpd.conf' for actual use.  It establishes a single server
    # and a single anonymous login.  It assumes that you have a user/group
    # "nobody" and "ftp" for normal operation and anon.
    ServerName			"proftpd"
    ServerType			standalone
    DefaultServer			on
    # Port 21 is the standard FTP port.
    Port				21
    # Umask 022 is a good standard umask to prevent new dirs and files
    # from being group and world writable.
    Umask				022
    # To prevent DoS attacks, set the maximum number of child processes
    # to 30.  If you need to allow more than 30 concurrent connections
    # at once, simply increase this value.  Note that this ONLY works
    # in standalone mode, in inetd mode you should use an inetd server
    # that allows you to limit maximum number of processes per service
    # (such as xinetd).
    MaxInstances			30
    # Allow to resume not only the downloads but the uploads too
    AllowRetrieveRestart on
    AllowStoreRestart on
    # Set the user and group under which the server will run.
    User				nobody
    Group				nogroup
    # To cause every FTP user to be "jailed" (chrooted) into their home
    # directory, uncomment this line.
    DefaultRoot ~
    DefaultRoot ~
    IdentLookups off
    ServerIdent on "FTP Server ready."
    # Normally, we want files to be overwriteable.
    AllowOverwrite		on
    # Bar use of SITE CHMOD by default
    #<Limit SITE_CHMOD>
    #  DenyAll
    # A basic anonymous configuration, no upload directories.  If you do not
    # want anonymous users, simply delete this entire <Anonymous> section.
    <Anonymous ~ftp>
      User				ftp
      Group				ftp
      # We want clients to be able to login with "anonymous" as well as "ftp"
      UserAlias			anonymous ftp
      # Limit the maximum number of anonymous logins
      MaxClients			10
      # We want 'welcome.msg' displayed at login, and '.message' displayed
      # in each newly chdired directory.
      DisplayLogin			welcome.msg
      DisplayFirstChdir		.message
      # Limit WRITE everywhere in the anonymous chroot
      <Limit WRITE>
    DefaultRoot ~
    IdentLookups off
    ServerIdent on "FTP Server ready."
    Include /etc/proftpd_ispconfig.conf
    Please help me :)
  2. the_spy

    the_spy New Member

    did you restart proftpd after adding this line in the conf file ?
  3. nvn

    nvn New Member

    Yes... I have used /etc/init.d/proftpd restart
  4. falko

    falko Super Moderator Howtoforge Staff

    Any errors in your log files?
  5. nvn

    nvn New Member

    Hi Falko

    I have looked in /var/log/messages

    And there is only entries when i log in to the ftp... ?
  6. nvn

    nvn New Member

    Found it... I neede the command in the proftpd_ispconfig.conf file :)

    All is working now...
  7. arnobeck

    arnobeck New Member

    Too big file


    Is it normal that an uploaded file (not yet finished to be uploaded) is bigger that the original with multiple RESUME ?

    Thanks for the help
  8. falko

    falko Super Moderator Howtoforge Staff

    That doesn't sound right. Please compare the MD5 sums of the original file and the uploaded file. If they differ, the uploaded file is crap, and you must upload it again.

Share This Page