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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
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