Welcome to Esato.com



News Articles:

Mobile HTTP Server

Click to view updated thread with images


Posted by RTOX
My first post here
So, i was woundering is there any java application which acts as a HTTP or FTP Server for file listing and accessing them on PC(or any other device), becouse i don't have data cable with me all the time and i need to get pictures out of my phone(K750i) on different PC's.
As a programmer i could try to make somthing like that by myself , but I want to know - is there any applications like that!

Sorry for my not-so-good english


Posted by numb
Hi, and welcome to Esato

Theres no need for a http or ftp server for that. Its pointless imho

Even with a http or ftp server running on the phone, youd need some way of connecting to it from your pc to access the http/ftp server. If you dont have the cable you would need to use IRDA or BT, and if you do have IRDA or BT on the pc, then you dont need the http/ftp server to get files of the phone, but can simply use the normal ways by sending via IRDA or BT.

So whats the point of a http/ftp server ??







[ This Message was edited by: numb on 2006-01-09 10:31 ]

Posted by RTOX
well... if i had a HTTP/FTP server on my phone i could only enter IP address in my browser and get files i wan't. And not all PC's have BT or IRDA.

Or maybe there is any other way accessing your files on PC without data cable, BT and IRDA?

Posted by numb
How would you get a public IP ?

Your phone is not connected to the internet the same way a normal webserver is, your phone will not get a public IP you can enter on your pc. You connect through gprs to your mobile network providers net, and access the internet through their gateway and proxy, you get an IP on their network, not a public IP. And I assure you their firewalls are blocking for incoming port 80 or port 21 traffic to your phone. Theres no way you would be able to route public traffic to your phone on their net.

Im afraid the only ways are Cable, IRDA or BT




Posted by RTOX
Well... i just made a simple port 80 listening java application which says "Hello World" when connected. And it worked! Phone printed me a local address which was something like 123-456-789-customer.tele2.lv and i entered it in address bar in Firefox and it took less than 5sec to connected and print to browser "Hello World"

So im thinking of continuing and making a file server for my phone

Well... maybe some networks, as you said, won't allow that, but im happy mine did!


Posted by numb
very surprising indeed, that would definately not be possible on any net in my country. None that I know of that is.

But hey, if it works on yours, then great

Good luck with the project - if you do manage to write a java web/ftp server Im sure many would be interested in it



Posted by Johnex
Tell me how this goes, it's very interesting :-).

Posted by optiplex
I think it is possible, cos a friend of mine developed a prototype file sharing application over internet for smart phones some time back (as his undergraduate theses project). However he did it with the help of the service provider, he got some sort of a special SIM with an IP or access to their servers or something like that (cant remember exactly). So it is possible, but maybe not always without service provider’s help.

Posted by RTOX
Many people use their mobile phone to access internet with bluetooth or datacable. When you are connected to interenet with your phone on PC isn't it the same thing as you would have any normal interent connection?

And if it's possible to run and connect such internet applications as wlIRC, Opera mini, email clients ... on your phone, why it would be so imposible to run a HTTP Server?

Phone with MIDP 2.0 support not only TCP Server socket, but even UDP, which actualy makes it possible to build a Quake(or any other game) server.

[ This Message was edited by: RTOX on 2006-01-10 07:20 ]

Posted by private_ryan
Quote:

On 2006-01-09 11:55:34, RTOX wrote:
well... if i had a HTTP/FTP server on my phone i could only enter IP address in my browser and get files i wan't. And not all PC's have BT or IRDA.

Or maybe there is any other way accessing your files on PC without data cable, BT and IRDA?



yes, there is other way of ACCESSING your files on PC without data cable, BT and IRDA.

i just recently found this Remote Desktop for Mobiles (RDM) that will make your mobile phones an extension of your eye & hand.

"Using Remote Desktop for Mobiles, you can send and receive mail, browse the Internet, edit a document in a word processor, copy, cut, paste files or folders and do hundreds of other things that you typically do behind your home or office computer. And all this is lightning fast and remarkably easy."

hint: you may need to install the Remote Desktop for Mobiles server application on your PC with a dedicated IP address, and install the java midlet RDM client on your mobile phone, run it using GPRS.

i'm still on my way of discovering it and i hope it works!

here is the link:

http://www.getjar.com/products/1074/RemoteDesktopforMobiles


Posted by max_wedge
Quote:

On 2006-01-10 08:20:02, RTOX wrote:
Many people use their mobile phone to access internet with bluetooth or datacable. When you are connected to interenet with your phone on PC isn't it the same thing as you would have any normal interent connection?

And if it's possible to run and connect such internet applications as wlIRC, Opera mini, email clients ... on your phone, why it would be so imposible to run a HTTP Server?

Phone with MIDP 2.0 support not only TCP Server socket, but even UDP, which actualy makes it possible to build a Quake(or any other game) server.

[ This Message was edited by: RTOX on 2006-01-10 07:20 ]



this is a good point, although http CLIENTS aren't a good example. wIRC, eMSN etc are though. And you can get around the port 80 rule on many isp's by using a different port

I would be VERY INTERESTED in an http and ftp server for my phone, however in terms of getting content off a phone and to a pc, why not just email it as an attachment to a webmail address? That's what I do.

ROTX, if you can get "hello world", presumably it would be easy to use a whole page of text, or view in image stored in the midp app? Would you be prepared to share the "hello world" http app source with us?

Nice first post btw...
_________________
Get free themes from my themes site



[ This Message was edited by: max_wedge on 2006-01-10 08:38 ]


Click to view updated thread with images


© Esato.com - From the Esato mobile phone discussion forum