[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnu-arch-users] Re: Can't create .listing files over FTP
From: |
Robert Collins |
Subject: |
Re: [Gnu-arch-users] Re: Can't create .listing files over FTP |
Date: |
Fri, 30 Apr 2004 13:53:23 +1000 |
On Fri, 2004-04-30 at 06:51, Magnus Henoch wrote:
> Magnus Henoch <address@hidden> writes:
>
> [ FTP server doesnt handle 'rename FROM TO' where FROM is an absolute
> path ]
> > Looks like an FTP server bug. The server doesn't tell what it's
> > running; I'll ask my ISP about that.
>
> They are now aware of the problem, but won't fix it (at least not
> now), as tla is pretty much the only client which uses absolute
> pathnames.
>
> Thus, I patched my way around the problem:
>
> http://w1.312.comhem.se/~u31227643/archives/
> address@hidden/tla--ftpbug--1.3
>
> I made pfs_ftp_rename change to the directory of the file to be
> renamed/moved, and change back afterwards. This switching back and
> forth is suboptimal, but not knowing the code well I'm not sure which
> functions might depend on the current working directory.
>
> This works for me, at least. Not sure if it would be worth merging
> into tla, as it seems to be a quite rare problem.
if you make it kick in automatically:
when the rename fails attempt with relative path, and remember that
failure, then it would make sense to me to merge.
Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
signature.asc
Description: This is a digitally signed message part
Re: [Gnu-arch-users] [BUG] Can't create .listing files over FTP, Matthieu Moy, 2004/04/19