using ftplib

Steve Holden steve at
Tue May 2 04:14:57 CEST 2006

John Salerno wrote:
> So if I already have files on the server and I want to change file 
> permissions, do I need to mess with TYPE A/TYPE I commands, or are those 
> strictly for when you *transfer* files? Because I just did a quick test 
> of changing file permissions through my FTP program, and it still sent a 
> TYPE A command in the process. I know that the retr and stor methods 
> might do this automatically, but if I don't need to use those, and just 
> need to use transfercmd (assuming this *is* the right method to use when 
> changing file permissions), do I need to manually send a TYPE A/I 
> command as well?

The answer is "probably not", but a better answer is "try it in the 
interactive interpreter and see".

Steve Holden       +44 150 684 7255  +1 800 494 3119
Holden Web LLC/Ltd
Love me, love my blog
Recent Ramblings

More information about the Python-list mailing list