Anyone who used ftp client before can understand my problem or can
give some suggestion. My problem is this this code piece work in java
project succesfully but when I try it in android error gives. I think
thhere are some limitations and I want to learn what are possible
problems.


On Aug 26, 12:35 am, Jason Proctor <[email protected]>
wrote:
> some people on this list are clever, but they're not mind-readers.
>
> polite request to posters: POST ALL THE ERROR INFORMATION YOU CAN.
>
> thanks.
>
>
>
>
>
> >Hi I am tryin to connect server and download file from server. Here is
> >my code
>
> >Ftp ftp = new Ftp("hostname","user","password");
> >            try {
> >                    ftp.connect();
> >                    ftp.setLocalDir(new File("/sdcard"));
> >                    ftp.setDir("test");
> >                    ftp.download("Button.apk");
> >                    ftp.disconnect();
>
> >            } catch (FtpException e) {
> >                    e.printStackTrace();
> >            }
> >I included external jar and imported com.jscape.inet.ftp.Ftp; this
> >code run succesfully in java but when I loaded to android it gives
> >error.
> >1)Is there any resriction to connect ftp server or using external jar?
> >2) Any other alternatives that I can use?
>
> --
> jason.vp.engineering.particle- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to