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

Re: Commandline FTP

On 04-Sep-98 Johann Spies wrote:
> Did you use python's ftplib?  I ask because I once asked on the
> python-list how I could use "reget" using ftplib, but I did not get any
> answer.

I did.. but I didn't use "reget".  It's really the most basic if scripts...
created the FTP object with the connection information filled in... than a
"cwd" to get to the directory I want...  then a "storlines" to update the file
passed on the commandline.

* http://benham.net/index.html                                          *
* -------------------- * -----BEGIN GEEK CODE BLOCK----- ---------------*
*    Darren Benham     * Version: 3.1                                   *
*  <gecko@benham.net>  * GCS d+(-) s:+ a29 C++$ UL++>++++ P+++$ L++>++++*
*                      * E? W+++$ N+(-) o? K- w+++$(--) O M-- V- PS--   *
*   Debian Developer   * PE++ Y++ PGP++ t+ 5 X R+ !tv b++++ DI+++ D++   *
*  <gecko@debian.org>  * G++>G+++ e h+ r* y+                            *
* -------------------- * ------END GEEK CODE BLOCK------ ---------------*

Reply to: