[Zope] upload file from filename

John Ziniti jziniti@speakeasy.org
Fri, 01 Mar 2002 11:10:30 -0500


Unfortunately, the only solution I've found that
works well for me is to tell my users they have
to create a ZIP/TarGZ archive of the files they
want to upload, and then upload *that*.  Then I
can use Python to extract the files.

John Hunter wrote:
>>>>>>"John" == John Ziniti <jziniti@speakeasy.org> writes:
>>>>>>
> 
>     John> In your instance, the client is saying, "Here's some text",
>     John> and you'd like the server to be able to request a file on
>     John> the client's computer???
> 
>     John> I think it's impossible.  It's definitely insecure.
> 
> Oh yes, now I see the problem.  I have a series of files, file1, file2
> file3,..., filen and I wanted the user to be able to give the start and end
> numbers and zope would iterate over the list and upload them.  From
> your security comments, I see why this kind of thing is not possible.
> 
> Back to the archives ....
> 
> Thanks for your input,
> John Hunter
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
> 
> 
>