X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 	tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; 	charset="iso-8859-1"
Subject: Re: Lftp hang while executing batch file
Date: Fri, 27 Feb 2009 09:59:40 +0100
Message-ID: <F05AFBF84C348C4AAF1A0E7D126E370A039929F2@exbn01.DPEB.DE>
In-Reply-To: A<tentp4toqqdukl2rddiajnqe959lsmv56j@4ax.com>
From: cygwin.20.maillinglist@spamgourmet.com
To: cygwin@cygwin.com
Content-Transfer-Encoding: 8bit
X-Spamgourmet: 
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Hallo Andrew,

Thank you for your reply.

Andrew Schulman - schulman.andrew@epamail.epa.gov wrote:
>> Hi folks,
>> 
>> I found that the Version 3.7.6-3 have the problem executing
>> batchfiles. After upgrading from 3.7.6-1 my script does not longer
>> work. I started lftp -f batchfile where in the batchfile the
>> connection to the server And some action is done. It looks like that
>> lftp hang while it tries to connect. 
>> 
>> I downgraded to 3.7.6-1 an everything works fine.
>> 
>> May be someone can reproduce and fix the problem.
> 
> Thanks for the report, but in order for us to reproduce the
> problem, wouldn't you expect to have to post the script? Please do
> that. 

Here comes the script username password an servername did i change.
-------------------------------------------------
open -u usernameIsHere,passwordComesHere  sftp://ftp.server.somewhere/
echo ----lösche tmp----
rm -r gielsdorf-spielt.tmp
echo ----mkdir----
mkdir gielsdorf-spielt.tmp
echo ----mirror to tmp----
mirror -R -I * . gielsdorf-spielt.tmp
echo ----save Old Version----
mv gielsdorf-spielt gielsdorf-spielt.2009.02.19_14.31.04 
echo ----make tmp to New Version----
mv gielsdorf-spielt.tmp gielsdorf-spielt
echo ----show directory----
ls 
--------------------------------------------------

> The difference between 3.7.6-1 and -3 was very small-- all I
> did was remove a single file,  /usr/lib/charset.alias, that's
> already provided by gettext.  Can you tell me, (1) do you
> have /usr/lib/charset.alias on your host, 
No the file is not on my machine.
bash-3.2$ ls /usr/lib/charset.alias
ls: cannot access /usr/lib/charset.alias: No such file or directory

> and (2) do you have
> gettext installed?
Yes 
$ cygcheck.exe -d -c|grep gette
gettext                 0.17-3

Thanks 
   Franz



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

