Fig 0.1.30 Released

19 views
Skip to first unread message

Matthew Foemmel

unread,
May 26, 2011, 12:30:53 PM5/26/11
to fig-user
Added better support for protected packages on FTP servers:

* You can now pass in a "-l" or "--login" option when you run fig,
which will cause it to prompt for a username/password to use when
authenticating with the FTP server (the default is to just log in
anonymously). If the FIG_REMOTE_USER or FIG_REMOTE_PASSWORD
environment variables are defined, fig will use those instead.

* When running "--list-remote", fig now sends a separate "LIST"
command to the server for each package. This was needed to handle the
case where the user doesn't have permission to view all of the
packages on the server (the old "LIST -R" command would choke on the
first directory the user couldn't access).

Unfortunately that change made things extremely slow over high-latency
connections, so fig now uses a pool of FTP sessions so that the "LIST"
commands can be issued in parallel. By default it opens 16
connections, but that number can be changed using the FIG_FTP_THREADS
environment variable.
Reply all
Reply to author
Forward
0 new messages