using ftplib
Steve Holden
steve at holdenweb.com
Mon May 1 22:14:57 EDT 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".
regards
Steve
--
Steve Holden +44 150 684 7255 +1 800 494 3119
Holden Web LLC/Ltd http://www.holdenweb.com
Love me, love my blog http://holdenweb.blogspot.com
Recent Ramblings http://del.icio.us/steve.holden
More information about the Python-list
mailing list