| Parameters: |
- host – Host to connect to
- user – Username, or a blank string for anonymous
- passwd – Password, if required
- acct – Accounting information (few servers require this)
- timeout – Timeout in seconds
- port – Port to connection (default is 21)
- dircache – If True then directory information will be cached,
speeding up operations such as getinfo, isdir, isfile, but
changes to the ftp file structure will not be visible until
clear_dircache() is called
|