Hi Tomasz,

Thanks for your replay. However, that bit is working just fine, I did not 
point out that, just executing the scripts it works fine:

]$ /home/asier/gprs/doFtp.sh

When executing it this way, I can see lftp's output messages on the terminal. 
However, my intention is to pass those messages to my application instead of 
the terminal, so my application can check if downloads/uploads are happening 
or not. This is where I fail. When executing the script and my application as 
follows:

]$ /home/asier/gprs/doFtp.sh | ./piping

 my application does not get any input at all and nothing is displayed on the 
terminal. How should I do it?

BTW, I tryed using ";" as you suggested and the script alone did work fine, as 
without ";". But when pipelining with my application, again, it did not get 
any input, just as without ";".

Kind Regards,

Asier


On Tuesday 31 Aug 2004 11:18, Tomasz Bedkowski wrote:
> Użytkownik asier napisał:
> > open -u user,password ip-address
> > cd log
> > put mylog
> > exit
>
> maybe use ";" ...
>
>   open -u user,password ip-address;
>   cd log;
>   put mylog;
>   exit
>
> ?

Reply via email to