delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/02/27/03:58:53

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
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 DOT 20 DOT maillinglist AT spamgourmet DOT com
To: cygwin AT cygwin DOT com
X-Spamgourmet:
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hallo Andrew,

Thank you for your reply.

Andrew Schulman - schulman DOT andrew AT epamail DOT epa DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019