ftp connection and commands (directroy size, etc)

Fulvio fulvio at pc.jaring.my
Thu Apr 13 07:02:14 EDT 2006


Alle 00:05, giovedì 13 aprile 2006, Arne ha scritto:
> a=ftp.sendcmd('Dir')
> By trying to get the directory with 'dir'

Are you sure that the command 'dir" is understood via ftp?
IF I'm not wrong would be 'ls' o list. But since I don't have such psckage on 
my system, it's recommended you read the manual of that or 
read here:

http://www.cs.colostate.edu/helpdocs/ftp.html

Which is the result of google search of "ftp command list" (no quote).

F



More information about the Python-list mailing list