Dave Hughes wrote:
> As far as I recall your speculation is indeed correct: a TYPE command
> is only necessary before a transfer (it's only used to transform data
> passing over the secondary data connection). I'm reasonably certain you
> don't need *anything* before a SITE command (like SITE CHMO
Steve Holden wrote:
> 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 fil
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 pro
Dave Hughes wrote:
> Indeed. FTP is a tricky (and _very_ old) protocol that does things in a
> very different manner to the later (simpler) protocols like HTTP. Not
> sure how familiar you are with FTP, so my apologies if I wind up
> repeating stuff you know already:
Thanks very much, all that in
John Salerno wrote:
> I'm experimenting with this now and I'm a little confused about
> transferring commands. This might be more of an FTP question than
> strictly Python, but it's still related to how to use the ftplib
> methods.
>
> Anyway, if what I want to do is send a command to change the
I'm experimenting with this now and I'm a little confused about
transferring commands. This might be more of an FTP question than
strictly Python, but it's still related to how to use the ftplib methods.
Anyway, if what I want to do is send a command to change the file
permission settings of a