Sure, as of Gears 0.5.x.x, you can use the captureBlob trick to create fake URLs, then download them from the LocalServer and parse them yourself...

Doug

On Nov 26, 2008, at 4:50 AM, Sanjaya wrote:


Anyone know how to do this?

On Nov 22, 11:44 am, Sanjaya <[EMAIL PROTECTED]> wrote:
Thanks for your help! But is there any way to do this without
uploading the file to the domain server. The reason is we're working
in countries where bandwidth is a major issue and these csv files are
rather large.

Thanks again!!

-Sanjaya

On Nov 22, 2:25 am, Austin <[EMAIL PROTECTED]> wrote:

Hi Sanjaya,

You probably want to make the csv file available to the domain server then you can use XHR to retrieve it to parse. As you are parsing each row, you can create an database entry for it. There is code sample illustrating how
to perform database operations with Gears in the FAQ -

http://code.google.com/apis/gears/gears_faq.html#bestPracticeDB

Hope that helps,
Austin

On Wed, Nov 19, 2008 at 8:56 PM, Sanjaya <[EMAIL PROTECTED]>wrote:

Hi,

I'm a complete newbie with google gears, but I couldn't find any
samples on how to do this task.

I have a few csv files that I want to import into seperate tables in the local google gears database. What's the best way to go about doing
this?

Thanks in advance!

-Sanjaya

Reply via email to