Hi Alexander,

On Feb 3, 2014, at 5:10 AM, Alexander V. Lukyanov <l...@netis.ru> wrote:

> On Sun, Feb 02, 2014 at 01:02:20PM -0500, Robert DuToit wrote:
>> I am running lftp from and Expect/TCl script which is interactive and pipe 
>> the output to a file. This is on OSX 
>> 
>> Everything is working great but I just discovered that commands with paths 
>> with more then 30 chars ( sometimes 32, 34 but always more than 34 won’t 
>> work) in them are hanging. It is hard to reproduce in terminal since there 
>> are multiple commands run in sequence, cd mirror etc…  I don’t know if this 
>> is lftp hanging or some odd effect from the Expect Script. If you have any 
>> thoughts as to where I can look to understand what is causing it - I would 
>> appreciate it.
> 
> lftp can show shortened file names when they don't fit on a single terminal 
> line.
> Probably your expect scripts don't expect that.

The script expects the return "lftp*>" prompt to continue but I have also tried 
"expect -exact $file_path” which would probably never find your shortened path. 
Is there a way to turn on “full paths always”


Thanks,  Rob




> 
> -- 
>   Alexander.


_______________________________________________
lftp mailing list
lftp@uniyar.ac.ru
http://univ.uniyar.ac.ru/mailman/listinfo/lftp

Reply via email to