Hello Alexander! I have got problems with the understanding of the session management of lftp. Please have a look at my log:
| [EMAIL PROTECTED] perlirc]$ lftp | lftp :~> cache off | lftp :~> open <SITE1> | lftp <SITE1> cd /testdir | Verzeichniswechsel OK, cwd=/testdir | lftp <SITE1> open <SITE2> | lftp <SITE2> cd /testdir | Verzeichniswechsel OK, cwd=/testdir | lftp <SITE2> open <SITE3> | lftp <SITE3> cd /testdir | Verzeichniswechsel OK, cwd=/testdir | lftp <SITE3> scache | 0 <SITE1> | 1 <SITE2> | lftp <SITE3> dir | drwxr-xr-x 2 test ftpusers 4096 Jun 15 01:10 . | drwxr-xr-x 3 test ftpusers 4096 Jun 15 01:10 .. | lftp <SITE3> scache | 0 <SITE1> | 1 <SITE2> | 2 <SITE3> | lftp <SITE3> scache 0 | lftp <SITE1> scache | 0 <SITE3> | 1 <SITE2> | lftp <SITE1> dir | total 0 | lftp <SITE1> scache | 0 <SITE3> | 1 <SITE2> | 2 <SITE1> | lftp <SITE1> scache 2 | lftp <SITE2> dir | drwxr-xr-x 2 test ftpusers 4096 Jun 15 01:10 . | drwxr-xr-x 3 test ftpusers 4096 Jun 15 01:10 .. | lftp <SITE3> scache | 0 <SITE3> | 1 <SITE2> | 2 <SITE1> | lftp <SITE1> I'm connected to 3 different sites. Why does scache show 2 sites, and after "dir", 3 sites? Why are the session numbers for sites changing? First SITE1 has number 0, then SITE3 has number 0 and SITE1 number 2. Thanks for your answer! Best regards Robert
