Pushing to an FTP server not supporting APPE
Matthieu Moy
Matthieu.Moy at imag.fr
Fri Jun 16 17:00:32 BST 2006
Hi,
I'm trying to use my ISP's webspace to host a bzr archive. It used to
work with bzr < 0.8, but is now broken :
bzr push ftp://user@ftpperso.free.fr/branches/foo
FTP user at ftpperso.free.fr password:
bzr: ERROR: Could not acquire lock LockDir (ftp://user@r@ftpperso.free.fr/branches/foo/.bzr/branch-lock)
~/.bzr.log tells me :
FTP appe to /branches/foo/.bzr/branch-lock/pending.qr28h0cc13ha6jff4z2p.tmp/info
FTP appe (try 0) to /branches/foo/.bzr/branch-lock/pending.qr28h0cc13ha6jff4z2p.tmp/info
unable to understand error for path: /branches/foo/.bzr/branch-lock/pending.qr28h0cc13ha6jff4z2p.tmp/info: 500 'APPE': command unrecognized.
contention on LockDir(ftp://test.bzr@ftpperso.free.fr/branches/foo/.bzr/branch-lock): No such file: '/branches/foo/.bzr/branch-lock/pending.qr28h0cc13ha6jff4z2p.tmp/info': error appending: 500 'APPE': command unrecognized.
[29105] Fri 17:50:08.779 ERROR: Could not acquire lock LockDir(ftp://test.bzr@ftpperso.free.fr/branches/foo/.bzr/branch-lock)
I suppose this means my ftp server doesn't support "append". There are
two problems here:
1) bzr should have been clear about the diagnosis. I shouldn't have
needed to read ~/.bzr.log to understand it.
2) It would be nice to have a fallback to PUT when append is not
available (but for reasonable performances, it means doing all the
operations on a file at the same time).
Thanks,
--
Matthieu
More information about the bazaar
mailing list