Results 1 to 8 of 8

Thread: Cann't resume

  1. #1
    Join Date
    Jan 2005
    Posts
    268

    Cann't resume

    hi everyone

    When i upload movies to my server, somehow my server disconnect or i want to pause for do something esle, later i want continue to upload then my server doesn't allow me to resume where i stoped or disconnected. Any idea ? thanks


    p/s: Cpanel, FC1. I use smartftp , thanks

  2. #2

    hi

    You have to edit conf file for ftp to allow restart. After editing restart ftp service.

    Thanks

  3. #3
    Join Date
    Jan 2005
    Posts
    268
    hi there

    where do i edit conf file for ftp ?

  4. #4
    If you are using proftpd server, you need to use both the AllowOverwrite and AllowStoreRestart directives. The reason that both need to be allowed is that a restarted/resumed upload is a form of overwriting the file.

    AllowStoreRestart on
    AllowOverwrite on

  5. #5
    Join Date
    Jan 2005
    Posts
    268
    Where do i turn it on ?

  6. #6
    It should be inside /etc/proftpd.conf

  7. #7
    Join Date
    Jan 2005
    Posts
    268
    thanks

    when i go to
    i dont see any AllowStoreRestart On,

    # This is a basic ProFTPD configuration file (rename it to
    DisplayConnect /etc/issue.net
    DisplayConnect /etc/issue.net
    DisplayConnect /etc/issue.net
    DisplayConnect /etc/issue.net
    DisplayConnect /etc/issue.net
    DisplayConnect /etc/issue.net
    # '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"
    AuthUserFile /etc/proftpd/passwd.vhosts
    LogFormat BytesLog "%b"
    ServerType standalone
    DeferWelcome off
    DefaultServer on
    DefaultRoot ~ !wheel
    # Port 21 is the standard FTP port.

    <IfModule mod_tls.c>
    TLSEngine on
    TLSProtocol TLSv1
    TLSRequired off
    TLSRSACertificateFile /etc/ftpd-rsa.pem
    TLSRSACertificateKeyFile /etc/ftpd-rsa-key.pem
    TLSVerifyClient off
    </IfModule>

    TransferLog /usr/local/apache/domlogs/ftpxferlog
    UseReverseDNS off
    IdentLookups off
    AuthPAM off
    Port 21
    # Umask 022 is a good standard umask to prevent new dirs and files
    # from being group and world writable.
    Umask 022

    # Set the user and group that the server normally runs at.
    User nobody
    Group proftpd

    # Normally, we want files to be overwriteable.
    <Directory />
    AllowOverwrite on
    </Directory>

    # A basic anonymous configuration, no upload directories.
    <Anonymous ~ftp>
    <Limit LOGIN>
    DenyAll
    </Limit>
    UseFtpUsers on
    RequireValidShell off

    User ftp
    Group ftp
    # We want clients to be able to login with "anonymous" as well as "ftp"
    UserAlias anonymous ftp
    <Limit LOGIN>
    AllowAll
    </Limit>
    # 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>
    DenyAll
    </Limit>

    </Anonymous>



    so i decided to add another line like this ( in red color):
    # This is a basic ProFTPD configuration file (rename it to
    DisplayConnect /etc/issue.net
    DisplayConnect /etc/issue.net
    DisplayConnect /etc/issue.net
    DisplayConnect /etc/issue.net
    DisplayConnect /etc/issue.net
    DisplayConnect /etc/issue.net
    # '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"
    AuthUserFile /etc/proftpd/passwd.vhosts
    LogFormat BytesLog "%b"
    ServerType standalone
    DeferWelcome off
    DefaultServer on
    DefaultRoot ~ !wheel
    # Port 21 is the standard FTP port.

    <IfModule mod_tls.c>
    TLSEngine on
    TLSProtocol TLSv1
    TLSRequired off
    TLSRSACertificateFile /etc/ftpd-rsa.pem
    TLSRSACertificateKeyFile /etc/ftpd-rsa-key.pem
    TLSVerifyClient off
    </IfModule>

    TransferLog /usr/local/apache/domlogs/ftpxferlog
    UseReverseDNS off
    IdentLookups off
    AuthPAM off
    Port 21
    # Umask 022 is a good standard umask to prevent new dirs and files
    # from being group and world writable.
    Umask 022

    # Set the user and group that the server normally runs at.
    User nobody
    Group proftpd

    # Normally, we want files to be overwriteable.
    <Directory />
    AllowOverwrite on
    AllowStoreRestart on
    </Directory>

    # A basic anonymous configuration, no upload directories.
    <Anonymous ~ftp>
    <Limit LOGIN>
    DenyAll
    </Limit>
    UseFtpUsers on
    RequireValidShell off

    User ftp
    Group ftp
    # We want clients to be able to login with "anonymous" as well as "ftp"
    UserAlias anonymous ftp
    <Limit LOGIN>
    AllowAll
    </Limit>
    # 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>
    DenyAll
    </Limit>

    </Anonymous>
    Is this right ?. Thanks

  8. #8
    Yes,Thats correct, Now restart ftp using /etc/rc.d/init.d/proftpd restart and whether ths works

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •