Hi,

I'm using lftp to receive files, but sometimes the files do not exist.
Therefore I'm using this command:

lftp -e "glob --exist /tmp/mtc/otp*.* && mget -E /tmp/mtc/otp*.* -O 
/<SOMEDIR>;quit" -u <USER> sftp://<SERVER>

The problem I have is that the exitcode is still 1 when no file exist.


How can I solve this?

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

Reply via email to