this isn’t a real problem, which you are experiencing here.
Due to this CGI stuff, a large “File” gets mapped in a File object,
whereas
small files are being represented by StringIO objects. The reason, why
it is
done in this way may be performance, but I’m not really sure about this.
To make the long story short, everything seems to be in order.
I don’t have access to the original file name from a StringIO object
though, correct?
So I will either have to capture the file name another way or just
rename it myself?
Wes
Markus Piff wrote:
Hi,
this isn’t a real problem, which you are experiencing here.
Due to this CGI stuff, a large “File” gets mapped in a File object,
whereas
small files are being represented by StringIO objects. The reason, why
it is
done in this way may be performance, but I’m not really sure about this.
To make the long story short, everything seems to be in order.