Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 258496 Details for
Bug 350139
sys-apps/portage-2.1.9.26 emerge freezes w. pure-ftpd binhost
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
A simple python script for ftp testing
ftptest.py (text/plain), 517 bytes, created by
Jarno Mäkelä
on 2010-12-31 09:59:47 UTC
(
hide
)
Description:
A simple python script for ftp testing
Filename:
MIME Type:
Creator:
Jarno Mäkelä
Created:
2010-12-31 09:59:47 UTC
Size:
517 bytes
patch
obsolete
>#!/usr/bin/python > >from ftplib import FTP > >def handleDownload(block): > file.write(block) > >print 'open connection' >ftp = FTP('<server>', '<user>', '<passwd>') > >directory = 'packages' >print 'cwd ' + directory >ftp.cwd(directory) > >#ftp.retrlines('LIST') > >filename = 'Packages' > >print 'open ' + filename >file = open(filename, 'wb') > >print 'get ' + filename >ftp.retrbinary('RETR ' + filename, handleDownload) > >print 'close ' + filename >file.close() > >print 'close connection' >ftp.close()
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 350139
:
258487
|
258490
|
258492
|
258493
| 258496 |
258497
|
258504