Package: mirrordir Version: 0.10.49-7.2 When copying/mirroring files to a remote FTP server (running Windows WFTPD v3.2) all the files are uploaded, even if they are already on the server. This doesn't appear to be a timezone/clock difference between server and client issue, as it still happens with the --no-mtimes flag to ignore remote server modified times.
With extra verbose reporting turned on, this is the output: # nice /usr/bin/copydir --no-chown --no-chmod /var/log/mysql ftp://[EMAIL PROTECTED]/ -p mypass -v -v -v -v --test-only copydir: ---verbose--- ftpfs: making connection to example.ftp.com copydir: ---verbose--- ftpfs: server: 220 WFTPD 3.2 service (by Texas Imperial Software) ready for new user copydir: ---verbose--- ftpfs: sending login name pydir: ---verbose--- ftpfs: send: USER myuser opydir: ---verbose--- ftpfs: server: 331 Give me your password, please copydir: ---verbose--- ftpfs: sending user password pydir: ---verbose--- ftpfs: send: PASS mypass opydir: ---verbose--- ftpfs: server: 230 Logged in successfully copydir: ---verbose--- ftpfs: logged in pydir: ---verbose--- ftpfs: send: PWD opydir: ---verbose--- ftpfs: server: 257 "/" is current directory pydir: ---verbose--- ftpfs: send: CWD / opydir: ---verbose--- ftpfs: server: 250 "/" is current directory pydir: ---verbose--- ftpfs: send: PASV copydir: ---verbose--- ftpfs: server: 227 Entering Passive Mode (213,208,124,69, ,55) pydir: ---verbose--- ftpfs: send: TYPE A opydir: ---verbose--- ftpfs: server: 200 Type is ASCII pydir: ---verbose--- ftpfs: send: LIST -la / opydir: ---verbose--- ftpfs: server: 150 File Listing Follows in ASCII mode. opydir: ---verbose--- ftpfs: server: total 3 copydir: ---verbose--- ftpfs: server: drwxrwxrwx 1 noone nogroup 0 A r 25 13:00 backup copydir: ---verbose--- ftpfs: server: drwxrwxrwx 1 noone nogroup 0 A r 25 11:01 logs copydir: ---verbose--- ftpfs: server: drwxrwxrwx 1 noone nogroup 0 A r 25 14:15 mysql copydir: ---verbose--- ftpfs: server: opydir: ---verbose--- ftpfs: server: 226 Transfer finished successfully. copydir: ---verbose--- included file/dir, consumes 4kB: running total 4kB: mirrored total 4kB: /var/log/mysql pydir: ---verbose--- ftpfs: send: CWD /mysql opydir: ---verbose--- ftpfs: server: 250 "/mysql" is current directory pydir: ---verbose--- ftpfs: send: PASV copydir: ---verbose--- ftpfs: server: 227 Entering Passive Mode (213,208,124,69, ,56) pydir: ---verbose--- ftpfs: send: LIST -la /mysql opydir: ---verbose--- ftpfs: server: 150 File Listing Follows in ASCII mode. opydir: ---verbose--- ftpfs: server: total 1243186 copydir: ---verbose--- ftpfs: server: 501311 -rwxrwxrwx 1 noone nogroup 256671123 Apr 22 08:59 binlog.0 copydir: ---verbose--- ftpfs: server: 115546 -rwxrwxrwx 1 noone nogroup 59159552 Apr 22 08:59 binlog.0 copydir: ---verbose--- ftpfs: server: 223229 -rwxrwxrwx 1 noone nogroup 114292828 Apr 24 17:40 binlog.0 copydir: ---verbose--- ftpfs: server: 163575 -rwxrwxrwx 1 noone nogroup 83749906 Apr 25 18:15 binlog.0 copydir: ---verbose--- ftpfs: server: 325 -rwxrwxrwx 1 noone nogroup 165945 Apr 25 18:15 binlog.0 copydir: ---verbose--- ftpfs: server: 8331 -rwxrwxrwx 1 noone nogroup 4265234 Apr 25 18:15 binlog.0 copydir: ---verbose--- ftpfs: server: 9398 -rwxrwxrwx 1 noone nogroup 4811506 Apr 25 18:15 binlog.0 copydir: ---verbose--- ftpfs: server: 10405 -rwxrwxrwx 1 noone nogroup 5327127 Apr 25 18:15 binlog.0 copydir: ---verbose--- ftpfs: server: 71698 -rwxrwxrwx 1 noone nogroup 36708899 Apr 25 18:15 binlog.0 copydir: ---verbose--- ftpfs: server: 15298 -rwxrwxrwx 1 noone nogroup 7832281 Apr 25 18:15 binlog.0 copydir: ---verbose--- ftpfs: server: 46244 -rwxrwxrwx 1 noone nogroup 23676481 Apr 25 18:15 binlog.0 copydir: ---verbose--- ftpfs: server: 11843 -rwxrwxrwx 1 noone nogroup 6063489 Apr 25 18:15 binlog.0 copydir: ---verbose--- ftpfs: server: 7157 -rwxrwxrwx 1 noone nogroup 3664119 Apr 25 18:15 binlog.0 copydir: ---verbose--- ftpfs: server: 58784 -rwxrwxrwx 1 noone nogroup 30097399 Apr 25 18:30 binlog.0 copydir: ---verbose--- ftpfs: server: 41 -rwxrwxrwx 1 noone nogroup 20949 Apr 25 18:15 binlog.i copydir: ---verbose--- ftpfs: server: opydir: ---verbose--- ftpfs: server: 226 Transfer finished successfully. copydir: ---verbose--- included file/dir, consumes 21kB: running total 25kB: mirrored total 25kB: /var/log/mysql/binlog.index copydir: ---verbose--- creating new file: ftp://[EMAIL PROTECTED]/mysql/binlog.index copydir: ---verbose--- copying file: ftp://[EMAIL PROTECTED]/mysql/binlog.index copydir: ---verbose--- included file/dir, consumes 23122kB: running total 23147kB: mirrored total 23147kB: /var/log/mysql/binlog.000784 copydir: ---verbose--- creating new file: ftp://[EMAIL PROTECTED]/mysql/binlog.000784 copydir: ---verbose--- copying file: ftp://[EMAIL PROTECTED]/mysql/binlog.000784 copydir: ---verbose--- included file/dir, consumes 81788kB: running total 104935kB: mirrored total 104935kB: /var/log/mysql/binlog.000777 copydir: ---verbose--- creating new file: ftp://[EMAIL PROTECTED]/mysql/binlog.000777 copydir: ---verbose--- copying file: ftp://[EMAIL PROTECTED]/mysql/binlog.000777 copydir: ---verbose--- included file/dir, consumes 163kB: running total 105098kB: mirrored total 105098kB: /var/log/mysql/binlog.000778 copydir: ---verbose--- creating new file: ftp://[EMAIL PROTECTED]/mysql/binlog.000778 copydir: ---verbose--- copying file: ftp://[EMAIL PROTECTED]/mysql/binlog.000778 copydir: ---verbose--- included file/dir, consumes 4166kB: running total 109264kB: mirrored total 109264kB: /var/log/mysql/binlog.000779 copydir: ---verbose--- creating new file: ftp://[EMAIL PROTECTED]/mysql/binlog.000779 copydir: ---verbose--- copying file: ftp://[EMAIL PROTECTED]/mysql/binlog.000779 copydir: ---verbose--- included file/dir, consumes 4699kB: running total 113963kB: mirrored total 113963kB: /var/log/mysql/binlog.000780 copydir: ---verbose--- creating new file: ftp://[EMAIL PROTECTED]/mysql/binlog.000780 copydir: ---verbose--- copying file: ftp://[EMAIL PROTECTED]/mysql/binlog.000780 copydir: ---verbose--- included file/dir, consumes 5203kB: running total 119166kB: mirrored total 119166kB: /var/log/mysql/binlog.000781 copydir: ---verbose--- creating new file: ftp://[EMAIL PROTECTED]/mysql/binlog.000781 copydir: ---verbose--- copying file: ftp://[EMAIL PROTECTED]/mysql/binlog.000781 copydir: ---verbose--- included file/dir, consumes 35849kB: running total 155015kB: mirrored total 155015kB: /var/log/mysql/binlog.000782 copydir: ---verbose--- creating new file: ftp://[EMAIL PROTECTED]/mysql/binlog.000782 copydir: ---verbose--- copying file: ftp://[EMAIL PROTECTED]/mysql/binlog.000782 copydir: ---verbose--- included file/dir, consumes 7649kB: running total 162664kB: mirrored total 162664kB: /var/log/mysql/binlog.000783 copydir: ---verbose--- creating new file: ftp://[EMAIL PROTECTED]/mysql/binlog.000783 copydir: ---verbose--- copying file: ftp://[EMAIL PROTECTED]/mysql/binlog.000783 copydir: ---verbose--- included file/dir, consumes 5922kB: running total 168586kB: mirrored total 168586kB: /var/log/mysql/binlog.000785 copydir: ---verbose--- creating new file: ftp://[EMAIL PROTECTED]/mysql/binlog.000785 copydir: ---verbose--- copying file: ftp://[EMAIL PROTECTED]/mysql/binlog.000785 copydir: ---verbose--- included file/dir, consumes 3579kB: running total 172165kB: mirrored total 172165kB: /var/log/mysql/binlog.000786 copydir: ---verbose--- creating new file: ftp://[EMAIL PROTECTED]/mysql/binlog.000786 copydir: ---verbose--- copying file: ftp://[EMAIL PROTECTED]/mysql/binlog.000786 copydir: ---verbose--- included file/dir, consumes 30092kB: running total 202257kB: mirrored total 202257kB: /var/log/mysql/binlog.000787 copydir: ---verbose--- creating new file: ftp://[EMAIL PROTECTED]/mysql/binlog.000787 copydir: ---verbose--- copying file: ftp://[EMAIL PROTECTED]/mysql/binlog.000787 copydir: ---verbose--- changing directory atime/mtime mtime: ftp://[EMAIL PROTECTED]/mysql copydir: ---verbose--- ftpfs: Disconnecting from example.ftp.com pydir: ---verbose--- ftpfs: send: QUIT copydir: ---verbose--- ftpfs: server: 221 Windows FTP Server (WFTPD, by Texas Imperial Software) says goodbye copydir: ---verbose--- all hardlinks located copydir: Total mirrored: 202257kB Notice how mirrordir reports the remote FTP filenames as being "binlog.0" or "binlog.i" when in fact they are "binlog.000785", "binlog.index", etc. Some file names do get through unmangled - it doesn't appear to be a fixed filename length or fixed extension length. Other truncated filename examples: climbers_old.tar.g ukc_images.2005.ta WFTPD v3.2 appears to emit the correct filenames, and other FTP clients have no problem seeing the full filenames. A manual "LIST -al" command to WFTPD gives a correct listing. I am using Debian GNU/Linux 2.4.18 and libc6 2.2.5. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]