[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ncftpput replacement
From: |
Bruno Haible |
Subject: |
Re: ncftpput replacement |
Date: |
Sun, 3 Aug 2008 21:08:07 +0200 |
User-agent: |
KMail/1.5.4 |
Karl Berry wrote:
> The gnupload script (which is in gnulib) depends on ncftpput. I found
> it easier to write a replacement using plain old command line ftp than
> to install ncftp.
Nothing against such a replacement script, if it works for you.
The 'ftp' program on some Linux distros, however,(*) sometimes guesses wrong
whether to use active or passive mode for the data connection. The symptom
is that the "put" command hangs (times out) and only manages to create a
zero-length file on the server. Whereas 'ncftp' always does the right thing
regarding active/passive, in my experience.
Bruno
(*) Specifically openSUSE from 1 year ago.