librelist archives

« back to archive

uploading files

uploading files

From:
Samrat Man Singh
Date:
2011-08-05 @ 06:56
I've been trying to use Flask-Uploads to allow users to upload a photo, but
I always seem to hit a wall. I've checked out the documentation(which I
think needs improvisation) and also the example project that came with the
package. I also asked for help at the IRC channel but it didn't really help.
So, at this point I'm really frustrated with the extension and wanted to
know if there are any alternative ways to upload files.

Samrat Man Singh

Re: [flask] uploading files

From:
LeafStorm
Date:
2011-08-05 @ 20:45
On Aug 5, 2011 1:56 AM, "Samrat Man Singh" <samratmansingh@gmail.com> wrote:
>
> I've been trying to use Flask-Uploads to allow users to upload a photo,
but I always seem to hit a wall. I've checked out the documentation(which I
think needs improvisation) and also the example project that came with the
package. I also asked for help at the IRC channel but it didn't really help.

May I ask what specific problems you were encountering with the extension
and the documentation? I would love to know how I could improve the
documentation, and possibly help with your problem.

Thanks.
Matthew Frazier

Re: [flask] uploading files

From:
Samrat Man Singh
Date:
2011-08-06 @ 03:08
Leafstorm,
My suggestion for the documentation would be to provide a
quickstart(like the Flask and Flask-SQLAlchemy) docs so even someone
just starting out with Flask(someone like me) won't get lost. As for
the problem, I kept hitting a wall with UploadSet. It said that I
needed to specify a directory but I didn't really know how to set the
default_dest.

Best regards,
Samrat


On Sat, Aug 6, 2011 at 2:30 AM, LeafStorm <leafstormrush@gmail.com> wrote:
>
> On Aug 5, 2011 1:56 AM, "Samrat Man Singh" <samratmansingh@gmail.com> wrote:
> >
> > I've been trying to use Flask-Uploads to allow users to upload a 
photo, but I always seem to hit a wall. I've checked out the 
documentation(which I think needs improvisation) and also the example 
project that came with the package. I also asked for help at the IRC 
channel but it didn't really help.
>
> May I ask what specific problems you were encountering with the 
extension and the documentation? I would love to know how I could improve 
the documentation, and possibly help with your problem.
>
> Thanks.
> Matthew Frazier

Re: [flask] uploading files

From:
Philip Nelson
Date:
2011-08-05 @ 07:04
Hi Samrat,

Have you taken a look at this section in the Flask documentation?
http://flask.pocoo.org/docs/patterns/fileuploads/

Phil


On Fri, Aug 5, 2011 at 2:56 AM, Samrat Man Singh
<samratmansingh@gmail.com>wrote:

> I've been trying to use Flask-Uploads to allow users to upload a photo, but
> I always seem to hit a wall. I've checked out the documentation(which I
> think needs improvisation) and also the example project that came with the
> package. I also asked for help at the IRC channel but it didn't really help.
> So, at this point I'm really frustrated with the extension and wanted to
> know if there are any alternative ways to upload files.
>
> Samrat Man Singh
>

Re: [flask] uploading files

From:
Samrat Man Singh
Date:
2011-08-05 @ 07:09
Oh, didn't know about that. I'll take a look now.

On Fri, Aug 5, 2011 at 12:49 PM, Philip Nelson <me@pnelson.ca> wrote:

> Hi Samrat,
>
> Have you taken a look at this section in the Flask documentation?
> http://flask.pocoo.org/docs/patterns/fileuploads/
>
> Phil
>
>
>
> On Fri, Aug 5, 2011 at 2:56 AM, Samrat Man Singh <samratmansingh@gmail.com
> > wrote:
>
>> I've been trying to use Flask-Uploads to allow users to upload a photo,
>> but I always seem to hit a wall. I've checked out the documentation(which I
>> think needs improvisation) and also the example project that came with the
>> package. I also asked for help at the IRC channel but it didn't really help.
>> So, at this point I'm really frustrated with the extension and wanted to
>> know if there are any alternative ways to upload files.
>>
>> Samrat Man Singh
>>
>
>