[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dpkg-ftp 1.4.9.0pre3 for testing (Was: Preparing 1.4.9.1)



On Sat, 31 Jan 1998, Yann Dirson wrote:

> Jason Gunthorpe writes:
>  > posted a small hack to debian-user a month or so ago.. It involved putting
> 
> Is it available in the archive ? (what string to search for ?)

TIS FWTK, it should be there.
 
>  > these two lines right before the switch to binary mode:
>  >     $ftp->_USER("ftp\@ftp.debian.org");
>  >     $ftp->_PASS("jgg\@gpu.srv.ualberta.ca");
> 
> so:
> 
> * USER constructed from user/pass/site already collected
> * ask pass/site for firewall when any
> 
> right ?

Close, user is constructed from user/site, pass is left unchanged. You
must prompt for a firewall user/pass/site and pass those to the normal
perl ftp open function. 

The FTP commands go something like:

user FIREWALL_USER
pass FIREWALL_PASS
user FTP_USER@FTP_HOST
pass FTP_PASS

This will allow use through authenticated ftp proxies. If you have a
non-authenticated ftp proxy then you set an environ var and perl does it
automagically.

Jason


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: