
Caleb Epstein writes:
On Wed, 1 Dec 2004 04:20:30 -0600, Aleksey Gurtovoy <agurtovoy@meta-comm.com> 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_repor... 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@' )
Incorporated.
The use (or non-use) of PASV should probably be user-selectable.
Let's wait and see if somebody needs a different setup.
It might be nice to be able to turn on ftplib debugging too via FTP.set_debuglevel.
Sure; OK, '--debug-level' in the latest 'regression.py' will do that for you. -- Aleksey Gurtovoy MetaCommunications Engineering