Downloading files from ftp/http sites

General topics about the Android-Platform itself.
Coding issues please to the subforum right below.

Downloading files from ftp/http sites

Postby ben » Sun Dec 16, 2007 1:10 am

Anyone has any idea on how to download text/binary files from and ftp/http site, do some light processing on the downloaded files, then display the results, which can be either images or text, on the screen. Thanks in advance.
Ben
ben
Junior Developer
Junior Developer
 
Posts: 15
Joined: Thu Dec 13, 2007 3:23 am

Top

Postby plusminus » Sun Dec 16, 2007 1:41 am

Hello ben,

is :src: this topic, what you were searching for :?:

Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Postby ben » Sun Dec 16, 2007 9:29 pm

For http protocols, the example works fines, but for ftp sites, it does not work. I was wondering if there is ftpClient or equivalent under Android. I searched I did not find any. Thanks.
Ben
ben
Junior Developer
Junior Developer
 
Posts: 15
Joined: Thu Dec 13, 2007 3:23 am

Postby plusminus » Sun Dec 16, 2007 9:30 pm

Hello ben,

are you searching for a code-snippet or a finished project :?:

Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Postby ben » Sun Dec 16, 2007 9:33 pm

Just code-snippet on how to connect to an ftp site and download whatever they have text/binary files. I could not find anything about ftp protocols in the documentation. May be I am missing something.
Ben
ben
Junior Developer
Junior Developer
 
Posts: 15
Joined: Thu Dec 13, 2007 3:23 am

Postby plusminus » Sun Dec 16, 2007 9:42 pm

Hm

just because we cannot see anything, doesn't mean that it is not possible.
I searched the Android-Google-Groups and unfortunately found nothing on it. :(

So if someone wants to was writing a android-ftp-library and release it under an Open License would be fine :)

I'll inform you if I find sth. :!:

Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Top

Postby ben » Mon Dec 17, 2007 12:03 am

Thanks plusminus for all your efforts. I will also be looking for a solution.

Regards,
Ben
ben
Junior Developer
Junior Developer
 
Posts: 15
Joined: Thu Dec 13, 2007 3:23 am

Re: Downloading files from ftp/http sites

Postby geo1978 » Sun Jul 04, 2010 11:17 pm

Has anything been created for uploading a file from android phone to a FTP site? I know of AndFTP but am looking for some code which does what AndFTP does i.e. upload a file.
geo1978
Once Poster
Once Poster
 
Posts: 1
Joined: Sun Jul 04, 2010 11:04 pm

Top

Return to General

Who is online

Users browsing this forum: No registered users and 2 guests