[REBOL] Re: ftp problems
From: sterling:rebol at: 21-Feb-2001 11:30
I notice there have been a few responses about the first part but not
the second. The reason you have problems with too many logins is that
REBOL is caching your ftp sessions for reuse and the server yo uare
contacting allows a limited number of connections per user at a time.
The way to solve this is to change the value of:
system/schemes/ftp/cache-size
to a smaller value. It may be necessary to go all the way down to 1
if the server only allows a single connection per user.
To explain a bit more fully, REBOL caches connections with the
following information making it unique:
ftp host, user login, directory accessed
If all this information is the same in a subsequent FTP access, the
same connection to the server is used again. If any of it changes,
the old connection is kept in the cache and a new connection is
created. Once the number of connections in the cache exceeds the
cache-size, the oldest cached connection is closed.
Sterling