From owner-freebsd-questions Tue Dec 5 6:50:21 2000 From owner-freebsd-questions@FreeBSD.ORG Tue Dec 5 06:50:19 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mel.alcatel.fr (mel.alcatel.fr [212.208.74.132]) by hub.freebsd.org (Postfix) with ESMTP id B464537B401 for ; Tue, 5 Dec 2000 06:50:18 -0800 (PST) Received: from aifhs2.alcatel.fr (mailhub.alcatel.fr [155.132.180.80]) by mel.alcatel.fr (ALCANET/SMTP) with ESMTP id PAA17880 for ; Tue, 5 Dec 2000 15:49:57 +0100 From: Gilles.Guerrini@alcatel.fr Received: from frmail19.netfr.alcatel.fr (frmail19.netfr.alcatel.fr [155.132.251.19]) by aifhs2.alcatel.fr (ALCANET/SMTP2) with SMTP id PAA25263 for ; Tue, 5 Dec 2000 15:46:32 +0100 (MET) Received: by frmail19.netfr.alcatel.fr(Lotus SMTP MTA v4.6.7 (934.1 12-30-1999)) id C12569AC.00518009 ; Tue, 5 Dec 2000 15:50:11 +0100 X-Lotus-FromDomain: ALCATEL To: questions@FreeBSD.org Message-ID: Date: Tue, 5 Dec 2000 15:49:58 +0100 Subject: libfetch undestanding Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello I am a libfetch library user. Maybe you can help me. I would to transfer a file in passive mode. I create an URL from the function fetchMakeURL (): ftp://ftp:ftp@remote_host:21/myfile. WhenI use the funct fetchGetURL () to transfer the file. I make a tcpdump to examine the transfer. Mu local host sends a RETR command corresponding to the file. The Remote host 'remote_host' confirms the transfer. Here, there is a problem, the file doest not exist on my local disk. I don't understand. If I transfer the same file via a fetch command: fetch "ftp://ftp:ftp@remote_host:21/myfile", the transfer is OK and my transferred file exists in my local disk. Can you help me please ?? Gilles GUERRINI To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message