The Never-Ending Saga Continues

Rami Chowdhury rami.chowdhury at gmail.com
Mon Oct 19 18:22:35 EDT 2009


On Mon, 19 Oct 2009 14:20:38 -0700, Victor Subervi  
<victorsubervi at gmail.com> wrote:

> Can you give me an example of this?
> V

An example of an online upload form? Sure -- Gmail's "Basic HTML"  
interface for attachments is a good example. I'd advise doing a web search  
or two for HTTP file uploads, multipart forms, and so on.

Just a tip with regarding to posting to this and other lists -- if you put  
your response *below* the quoted text that you are replying to, it helps  
people understand the conversation, and doesn't force them to scroll down  
and try to figure out who said what when (which can be a bit frustrating).

>
> On Mon, Oct 19, 2009 at 4:03 PM, Rami Chowdhury  
> <rami.chowdhury at gmail.com>wrote:
>
>> On Mon, 19 Oct 2009 12:56:19 -0700, Victor Subervi <
>> victorsubervi at gmail.com> wrote:
>>
>>  Of course.
>>> 1) I need to upload data: images and other fields (mainly varchar,  
>>> int).
>>> 2) I want to upload the "other fields" to a MySQL database.
>>> 3) Since it is sooooooooo problematic, I now want to upload the images  
>>> to
>>> *anything but* a MySQL database (presumably ftp)
>>> 4) I want to make this easy (transparent) for my client. Let her just  
>>> fill
>>> out a form and be done with it.
>>>
>>
>> How large are the images? If they're not too large, you could use a  
>> simple
>> web form to upload everything to a script which then takes care of  
>> adding
>> data to the database or filesystem as appropriate -- no need for FTP.
>>
>>
>>  On Mon, Oct 19, 2009 at 2:58 PM, Rami Chowdhury  
>> <rami.chowdhury at gmail.com
>>> >wrote:
>>>
>>>  On Mon, 19 Oct 2009 11:51:04 -0700, Victor Subervi <
>>>> victorsubervi at gmail.com> wrote:
>>>>
>>>> What I am looking for is a way to upload data into MySQL *and*
>>>>
>>>>> simultaneously, in the same form (to make it easy for the user), ftp
>>>>> images
>>>>> into a directory.
>>>>>
>>>>>
>>>> Could you let us know why you want to do this -- what you're trying to
>>>> achieve with it?
>>>>
>>>>
>>>> --
>>>> Rami Chowdhury
>>>> "Never attribute to malice that which can be attributed to stupidity"  
>>>> --
>>>> Hanlon's Razor
>>>> 408-597-7068 (US) / 07875-841-046 (UK) / 0189-245544 (BD)
>>>>
>>>>
>>
>>
>> --
>> Rami Chowdhury
>> "Never attribute to malice that which can be attributed to stupidity" --
>> Hanlon's Razor
>> 408-597-7068 (US) / 07875-841-046 (UK) / 0189-245544 (BD)
>>



-- 
Rami Chowdhury
"Never attribute to malice that which can be attributed to stupidity" --  
Hanlon's Razor
408-597-7068 (US) / 07875-841-046 (UK) / 0189-245544 (BD)



More information about the Python-list mailing list