Page 1 of 1

ftp geplayer to iphone

PostPosted: Sun Jul 25, 2010 2:57 am
by dwayneh
Hi, i cannot get ftp from mac running snow leopard to my iphone. i have installed geplayer and it is running the ftp server, but i cannot connect with multiple ftp clients to the iphone. some do not like the blank user and password. others just time out. any suggestions? thanks.

Re: ftp geplayer to iphone

PostPosted: Sun Jul 25, 2010 3:28 pm
by akr
You should do something like:

ftp <192.168.178.56> 20000
return
return
put game.dat geplayer.dat

where <xx.xx.xx.xx> is the ip address given by geplayer. Works from any unix.

On windows its
ftp
open <xx.xx.xx.xx> 20000
return
return
....

Re: ftp geplayer to iphone

PostPosted: Sun Jul 25, 2010 7:29 pm
by dwayneh
when i try this, it times out and does not connect. not sure why it is not connecting.

Re: ftp geplayer to iphone

PostPosted: Mon Jul 26, 2010 2:22 am
by dwayneh
I found what I think might be the problem, but am not sure how to fix it. My Mac connects to my home network with a 192.168.1.100 IP address. The GE server gives an IP address for the iPhone of 10.xxx.xxx.xxx, with the last 3 sets of numbers changing at times. I am not too familiar with Mac IP addresses. When I change using DHCP with manual address to something that is similar to the iPhone, nothing happens. Getting frustrated.

any ideas would be greatly appreciated.

Re: ftp geplayer to iphone

PostPosted: Mon Jul 26, 2010 7:28 pm
by akr
Lemme know what ip address is displayed.
Should start with 192...

Re: ftp geplayer to iphone

PostPosted: Tue Jul 27, 2010 2:17 am
by dwayneh
the first time it showed
10.113.250.148

the second time it showed
10.84.45.33 20000

i just tried it again without being connected to my mac and got this
10.65.154.56

Re: ftp geplayer to iphone

PostPosted: Tue Jul 27, 2010 2:18 am
by dwayneh
all had the 20000 showing as the port number

Re: ftp geplayer to iphone

PostPosted: Tue Jul 27, 2010 7:12 am
by akr
At the first glance it looks like you iphone connected to a different network. Pls go into your wireless router and look into the dhcp table to find out how many and which
devices are connected.

Also pls check your iphone wifi settings and make sure that your home wifi option has a checkmark and is active.

andreas

Re: ftp geplayer to iphone

PostPosted: Tue Jul 27, 2010 11:53 am
by dwayneh
when i connect to the wireless network and run geplayer, i get fe80::224:36ff:fe43:f9f7%en0 port 20000 as an ip address.

Re: ftp geplayer to iphone

PostPosted: Tue Jul 27, 2010 1:36 pm
by akr
This is a know limitation of NSHost of Objectiv-C. Sometimes it gives a IPv6 address. I can understand that this is a problem. As said, if u have a chance to find your ip via router
DHCP table would be a short fix.

In the meantime I will update geplayer to give more readable ip addresses.

andreas

Re: ftp geplayer to iphone

PostPosted: Tue Jul 27, 2010 7:04 pm
by akr
I created an updated geplayer for u. Has a more sophisticated method to retrieve ip address:


ftp://ftp1062526-ged:fantastic@ftp.game-editor.net

Lemme know if it works.

Andreas
GE team

Re: ftp geplayer to iphone

PostPosted: Wed Jul 28, 2010 4:02 am
by dwayneh
andreas,

part success!! i am able to connect using the old geplayer. i had someone show me how to find the ip address on my phone before starting the geplayer.

but i cannot transfer the file. here is my ftp session:


ftp> ftp 192.168.1.103 20000
Connected to 192.168.1.103.
220 geplayer FTP server ready.
Name (192.168.1.103:dwayneh):
331 Password required for dwayneh
Password:
230 User logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> put ibreaktest2.dat geplayer.dat
local: ibreaktest2.dat remote: geplayer.dat
ftp: Can't open `ibreaktest2.dat': No such file or directory
ftp> bin
200 Type set to I.
ftp> put ibreaktest2.dat geplayer.dat
local: ibreaktest2.dat remote: geplayer.dat
ftp: Can't open `ibreaktest2.dat': No such file or directory

what am i missing?

Re: ftp geplayer to iphone

PostPosted: Wed Jul 28, 2010 6:27 am
by akr
When u open a terminal window, make sure your current directory contains your file you want to upload. The error message comes from your local ftp client.
Client cant find your file to upload in current dir.

Re: ftp geplayer to iphone

PostPosted: Fri Jul 30, 2010 11:15 pm
by dwayneh
Andreas,
Success!! Was able to get my file transferred.

Thanks for the help and your patience with my getting through this!!

Dwayne