Re: The Never-Ending Saga Continues
Victor Subervi wrote: > Can you give me an example of this? That depends. How much of your client's money are you offering us for doing your work? -- Carsten Haese http://informixdb.sourceforge.net -- http://mail.python.org/mailman/listinfo/python-list
Re: The Never-Ending Saga Continues
On Mon, 19 Oct 2009 14:20:38 -0700, Victor Subervi 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 wrote: On Mon, 19 Oct 2009 12:56:19 -0700, Victor Subervi < victorsube...@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 so 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 >wrote: On Mon, 19 Oct 2009 11:51:04 -0700, Victor Subervi < victorsube...@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) -- http://mail.python.org/mailman/listinfo/python-list
Re: The Never-Ending Saga Continues
Can you give me an example of this? V On Mon, Oct 19, 2009 at 4:03 PM, Rami Chowdhury wrote: > On Mon, 19 Oct 2009 12:56:19 -0700, Victor Subervi < > victorsube...@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 so 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 > >wrote: >> >> On Mon, 19 Oct 2009 11:51:04 -0700, Victor Subervi < >>> victorsube...@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) > -- http://mail.python.org/mailman/listinfo/python-list
Re: The Never-Ending Saga Continues
On Mon, 19 Oct 2009 12:56:19 -0700, Victor Subervi 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 so 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 wrote: On Mon, 19 Oct 2009 11:51:04 -0700, Victor Subervi < victorsube...@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) -- http://mail.python.org/mailman/listinfo/python-list
Re: The Never-Ending Saga Continues
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 so 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. TIA, V On Mon, Oct 19, 2009 at 2:58 PM, Rami Chowdhury wrote: > On Mon, 19 Oct 2009 11:51:04 -0700, Victor Subervi < > victorsube...@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) > -- http://mail.python.org/mailman/listinfo/python-list
Re: The Never-Ending Saga Continues
On Mon, 19 Oct 2009 11:51:04 -0700, Victor Subervi 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) -- http://mail.python.org/mailman/listinfo/python-list
The Never-Ending Saga Continues
Hi; Now that we know for sure that my code isn't to blame for not being able to download/access images from MySQL I have contacted my hosting service to see if they will do anything about it. Presuming they won't, I need to find a work-around. 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. Any way to do this? TIA, Victor -- http://mail.python.org/mailman/listinfo/python-list