Read a file from url and save it in device?

2007-08-09 Thread Jayaseelan
hi,

At present am working in palm. Am new to this. Currently am working for, at run 
time i want to download a .gz file and write it on memomy and get back it to 
give input to next process.

 the file is in http://hostname/filename.gz 

After getting login in my application i want to download this file and save. 
After save i want to read the file immediately to move next step on my 
aplication.

Expecting reply As soon as possible. (Help ful info is more help for me)

Regards

Jayaseelan.V
-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Read a file from url and save it in device?

2007-08-09 Thread Hynek Sladky
I don't know if there is any other way. I'd use Net library functions 
for communicating with web through http:

NetLibOpen
NetLibGetHostByName
NetLibSocketOpen
NetLibSocketConnect
NetLibSend // send http request
NetLibReceive // receive whole downloaded file
NetLibSocketClose
NetLibClose

Hynek Sladky


Jayaseelan napsal(a):

hi,

At present am working in palm. Am new to this. Currently am working for, at run 
time i want to download a .gz file and write it on memomy and get back it to 
give input to next process.

 the file is in http://hostname/filename.gz 


After getting login in my application i want to download this file and save. 
After save i want to read the file immediately to move next step on my 
aplication.

Expecting reply As soon as possible. (Help ful info is more help for me)

Regards

Jayaseelan.V


--
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Read a file from url and save it in device?

2007-08-09 Thread Jayaseelan Vaiyapuri
hi Hynek,

Thanks for ur reply. And i have another doubt. Is it possible to
download .gz file in palm.
If possible means how to save the data into file and how to get the
decompressed data from it.

Expects Reply soon

Regards

Jayaseelan.V

-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Re: Read a file from url and save it in device?

2007-08-09 Thread Andrew Tamoney
I believe there was a question about that on this mailing list in the
past couple of days.  Look through the previous questions.

On 8/9/07, Jayaseelan Vaiyapuri <[EMAIL PROTECTED]> wrote:
>
>
> hi Hynek,
>
> Thanks for ur reply. And i have another doubt. Is it possible to download
> .gz file in palm.
> If possible means how to save the data into file and how to get the
> decompressed data from it.
>
> Expects Reply soon
>
>
> Regards
>
> Jayaseelan.V --
> For information on using the ACCESS Developer Forums, or to unsubscribe,
> please see http://www.access-company.com/developers/forums/
>

-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/


Re: Read a file from url and save it in device?

2007-08-09 Thread Jayaseelan Vaiyapuri
hi Andrew.

I think those methods are used by POST methods to use transfer data.

How to use the GET method in it?

Reply soon.(Its urgent)

Regards

Jayaseelan.V

-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/