Menu ▾ ▴

#1 Files > 2 GB fail

open
nobody
None
5
2009-06-02
2009-06-02
Kai Engert
No

When attempting to copy a file that is larger than 2 GB, ecp stops with an error message.

Discussion

  • Kai Engert

    Kai Engert - 2009-10-29

    I built with gcc option -D_FILE_OFFSET_BITS=64 which fixed the problem for me. I tested the tool for quite a while and I haven't found any problems yet.

     
  • Kai Engert

    Kai Engert - 2009-10-29

    diff -ru ecp-svn/extendedcp/ecp/Makefile extendedcp-r6/ecp/Makefile
    --- ecp-svn/extendedcp/ecp/Makefile 2009-10-29 11:52:32.000000000 +0100
    +++ extendedcp-r6/ecp/Makefile 2009-06-04 02:59:41.000000000 +0200
    @@ -2,7 +2,7 @@

    CC = gcc
    INCLUDE = .
    -CFLAGS = -Wall
    +CFLAGS = -Wall -D_FILE_OFFSET_BITS=64
    PREFIX = /usr/local

    ecp: copy.o copyfun.o dir.o ftp_conn.o ecp_info.o copy_total.o http_conn.o xalloc.o

     

Log in to post a comment.