Click here to Skip to main content
15,908,675 members
Please Sign up or sign in to vote.
1.86/5 (3 votes)
See more:
how can we load ftp url in android instead of using http:// .Here's my code
Java
public class acdownload extends Activity{
	
	private WebView mWebView;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
	super.onCreate(savedInstanceState);
	setContentView(R.layout.download);
	
	mWebView = (WebView) findViewById(R.id.webview);
	mWebView.getSettings().setJavaScriptEnabled(true);
	mWebView.loadUrl("ftp:///");
Posted
Updated 14-Aug-13 7:42am
v3
Comments
Sergey Alexandrovich Kryukov 14-Aug-13 13:29pm    
What does it mean, "loading URL"? :-)
Uploading, downloading?.. You just need to functionality or FTP client. Do your search.
—SA
ridoy 14-Aug-13 13:44pm    
I am not sure whether that is possible!
Member 10203228 14-Aug-13 21:54pm    
FTP url only works in opera mini browser in phone ..but i want the ftp url to work on the default browser available in the phone
what can i do to make it work
Member 10525430 11-Dec-14 6:55am    
Any solution to this?
i stuck same problem

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900