Serge Orlov wrote:
> Almad wrote:
>> OK, after some investigation...problem is in non-latin characters in
>> filenames on ftp.
>>
>> Yes, users should be killed for this,
>
> It's futile, users will always find a way to crash you program :) And
> you can't kill them all, there are too many of them
Almad wrote:
> OK, after some investigation...problem is in non-latin characters in
> filenames on ftp.
>
> Yes, users should be killed for this,
It's futile, users will always find a way to crash you program :) And
you can't kill them all, there are too many of them.
> but I would like to handle
OK, after some investigation...problem is in non-latin characters in
filenames on ftp.
Yes, users should be killed for this, but I would like to handle it
somehow...
I can't figure out how it's handled by protocol, ftplib seems to just
strip those characters...
Thank You,
Almad
--
http://mai
Hello,
I feel ashamed, but my google-fu betrayed me again.
How do I escape filenames when using ftplib? I'd like to download it
and upload on ftp again...
toDown = self.ftpMaster.nlst()
for fileDown in toDown:
f = tmpfile()
# download
self.ftpMa