Re: [patch] Fix ftpfs uploading behavior.



Andrew V. Samoilov wrote:

On Thu, Mar 07, 2002 at 05:45:08PM +0400, Walery Studennikov wrote:

On Wed, Mar 06, 2002 at 11:02:40AM +0200, Andrew V. Samoilov wrote:

Hi!

This patch fixes ftpfs uploading behavior.
Now if file is opened for writting only it will be not retrieved
to temporary file before uploading.

This is first approximation.
Test it carefully please.

Probably, I've found a bug:
now I can't open file for edit via ftp -
MC hangs after downloading the file for editing.


Fixed, see patch below (for patched ftpfs.c).
Second approximation of this patch will be uploaded soon to

http://www.linux.zp.ua/mc/ftpfs.upload.patch

Unfortunatelly, this patch hangs mc now if file is copied over ftp to the same ftp server.

Regards,
Andrew.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]