Boost logo

Boost :

From: Caleb Epstein (caleb.epstein_at_[hidden])
Date: 2004-12-01 16:38:43


On Wed, 1 Dec 2004 04:20:30 -0600, Aleksey Gurtovoy
<agurtovoy_at_[hidden]> wrote:
> Oh, that's good enough. If you grab the latest 'regression.py' from
> http://cvs.sourceforge.net/viewcvs.py/boost/boost/tools/regression/xsl_reports/runner/regression.py
> and provide it with the '--ftp-proxy' option, it will try the above route.
> A quick way to check whether it works or not without going through the
> whole regression cycle would be this:
>
> python regression.py upload-logs --runner=<your-runner-id> --ftp-proxy=<proxy>
> ^^^^^^^^^^^

OK it almost works. At least in my case, collect_and_upload_logs.py
needs to turn off PASV mode:

    else:
        utils.log( ' Connecting through FTP proxy server "%s"' % ftp_proxy )
        ftp = ftplib.FTP( ftp_proxy )
        ftp.set_pasv (0) # turn off PASV mode
        ftp.login( 'anonymous@%s' % ftp_site, 'anonymous@' )

The use (or non-use) of PASV should probably be user-selectable. It
might be nice to be able to turn on ftplib debugging too via
FTP.set_debuglevel.

-- 
Caleb Epstein
caleb dot epstein at gmail dot com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk