LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-20-2017, 10:19 PM   #1
mount.nfs
Member
 
Registered: Feb 2017
Posts: 59

Rep: Reputation: Disabled
FTPDroid FTP server mobile


If I got FTPDroid installed the mobile smartphone
need to visit the mobile smartphone, go to the server and ftp the files they want

how do I get the url of my mobile smartphone?
how do I get the web link or ip address of my mobile smartphone?

Last edited by mount.nfs; 08-20-2017 at 10:21 PM.
 
Old 08-21-2017, 04:00 AM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Type "myip" in google.
 
Old 08-21-2017, 07:39 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,700

Rep: Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895Reputation: 5895
To find your local ip address goto your devices wifi settings menu, advanced.

Typically the find my ip sites will only show the public ip address.
 
Old 06-19-2018, 05:24 AM   #4
mount.nfs
Member
 
Registered: Feb 2017
Posts: 59

Original Poster
Rep: Reputation: Disabled
ok, ip address can check by visit google my ip address

i can compile my .java code and it is working, how the .java code become .apk file type please ?


Code:
import java.net.*;
import java.util.*;
import java.io.*;

public class HelloWorld{

public static void main(String []args){
        
try {
 
URL url = new URL("http://google.com");
URLConnection urlCon = url.openConnection();
InputStream inputStream = urlCon.getInputStream();
 
BufferedInputStream bf = new BufferedInputStream(inputStream) ;
BufferedReader r = new BufferedReader( new InputStreamReader(bf) );
 
 //new InputStreamReader(bf, StandardCharsets.UTF_8));

String line ;
 
while ((line = r.readLine()) != null) {
System.out.println( line ) ;
}
 

 
} catch (MalformedURLException e) {
System.out.println("The specified URL is malformed: " + e.getMessage());
} catch (IOException e) {
System.out.println("An I/O error occurs: " + e.getMessage());
}

        
        System.out.println("Hello World??");
        
        
     }
}

Last edited by mount.nfs; 06-19-2018 at 08:47 PM.
 
Old 06-20-2018, 01:55 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
this is a different topic.
please start a new thread.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Setup FTP server using VsFtp and Configure Secure FTP connections on Ubuntu 14.04 Server LXer Syndicated Linux News 0 08-20-2014 07:00 PM
file transfer from one ftp server to another ftp server divyashree Linux - Newbie 7 02-24-2010 02:48 AM
FTP Server Up and running... how do I hide ftp users from local login screen? joe1031 Mandriva 2 03-18-2005 04:24 PM
FTP install with raid 0 and mobile barton SergeiTheSaint SUSE / openSUSE 1 02-23-2005 07:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration