Package: ncftp
Version: 2:3.2.2-1
Severity: minor

Hi Noèl, 

I posted the following question a while ago, and nobody seems to be
able to solve it. 

Could you help please? 

Thanks

http://thread.gmane.org/gmane.linux.debian.user/368941

 Subject: OT: ncftpput upload, not to append
 Newsgroups: gmane.linux.debian.user
 Date: 2009-11-28 18:46:51 GMT (2 weeks, 2 days, 8 hours and 22 minutes ago)

Hi,

Somehow my ncftpput upload session always ends up as appending to 
existing files instead of overwriting them. 

I searched its man pages, and it seems that there is only one related 
option, the -A, which turns *on* append mode, not off, which I never use. 

Any way for ncftpput to be in overwriting mode instead of appending?

Thanks

PS. Here is the command & detailed log:

$ ncftpput -f ncftpput.conf -v -z -d stdout public_html index.html
. . .
Cmd: CWD public_html
250: Directory successfully changed.
Cmd: TYPE I
200: Switching to Binary mode.
Cmd: REST 1
350: Restart position accepted (1).
Cmd: REST 0
350: Restart position accepted (0).
Cmd: SIZE index.html
213: 201
Cmd: PASV
227: Entering Passive Mode (199,166,6,12,30,151)
Cmd: REST 201
350: Restart position accepted (201).
Cmd: STOR index.html
150: Ok to send data.
index.html:                        ETA:   0:00    1.95/  1.95 kB   14.60 
MB/s  226: File receive OK.

I.e., the content always get appended.


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (300, 'testing'), (50, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.28-grml64 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages ncftp depends on:
ii  libc6                     2.10.2-2       GNU C Library: Shared libraries
ii  libncurses5               5.7+20090404-1 shared libraries for terminal hand

ncftp recommends no packages.

ncftp suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to