Stuart Henderson wrote:
On 2007/01/15 13:57, Didier Wiroth wrote:
The NCFTP client works with the following 2 options:
#type 1:  Connect to firewall host, but send "USER [EMAIL PROTECTED]"
firewall-type=1
firewall-host=a.b.c.d

Unfortunately NCFTP is of no use with pkg_add or the ports system as it does not support the required "-o -" option.

Point FETCH_CMD to a script which runs ncftpget -c $3.
Works fine (at least directly, I haven't tried through a proxy).

Thank you but it does not work.
Using this:
#!/bin/sh
/usr/local/bin/ncftpget -c $3

and this
FETCH_CMD=/home/didier/bin/proxyftp

Returns as an error and show the available options of ncftpget.
Here a short snip of the error:

Examples:
ncftpget ftp.freebsd.org . /pub/FreeBSD/README.TXT /pub/FreeBSD/index.html
  ncftpget ftp.gnu.org /tmp '/pub/gnu/README.*'
  ncftpget ftp://ftp.freebsd.org/pub/FreeBSD/README.TXT
  ncftpget -R ftp.ncftp.com /tmp /ncftp  (ncftp is a directory)
  ncftpget -u gleason -p my.password Bozo.probe.net . '/home/mjg/.*rc'
ncftpget -u gleason Bozo.probe.net . /home/mjg/foo.txt (prompt for password)
  ncftpget -f Bozo.cfg '/home/mjg/.*rc'
  ncftpget -c ftp.freebsd.org /pub/FreeBSD/README.TXT | /usr/bin/more
  ncftpget -c ftp://ftp.freebsd.org/pub/FreeBSD/README.TXT | /usr/bin/more
  ncftpget -a -d /tmp/debug.log -t 60 ftp.wustl.edu . '/pub/README*'

Library version: LibNcFTP 3.1.9 (March 19, 2005).

This is a freeware program by Mike Gleason (http://www.ncftp.com).
This was built using LibNcFTP (http://www.ncftp.com/libncftp/).
*** Error code 1

Stop in /usr/ports/net/no-ip (line 2124 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/net/no-ip (line 1578 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/net/no-ip (line 1767 of /usr/ports/infrastructure/mk/bsd.port.mk).



Kind regards
Didier

Reply via email to