Gp2x Ftp Doesn't List The Folders


Loubear

Well-Known Member
Joined
Apr 2, 2006
Messages
1,079
Location
New Jersey, USA
I don't know why that happens, with smart ftp, the gp2x shows only root, and I have to manually type in the folders to get anywhere. It works though...

Huh?
 
enable it in the gp2xmenus and type open an explorer window and type

\\gp2x

that's it. Much easier than ftp.
 
This is strange.. When I type that into the browser, it automatically tries to connect to ip 192.168.1.4, which coincedently is the next ip in my lan (im 1.3, my mom's 1.2, and the router is 1.1) Huh? But when I type in //10.1.0.235, I get..

Sample index page.
Web path is '/usr/gp2x/www'.
 
Once enabled in the gp2x menu, it shared / automatically as 'gp2x', so just type \\gp2x\gp2x into Windows explorer. The sd card is accessible from windows as \\gp2x\gp2x\mnt\sd

As easy as that really !

It just gets slightly more trickier if you want your gp2x to see your pc shares (excellent for development use as you don't have to copy your programs to the 2x to test them, but it has little other uses)

If your gp2x is on 10.1.0.235, and \\gp2x doesn't work for you, then just type \\10.1.0.235 instead.
 
Loubear posted on May 7 2006 at 11:17 PM said:
I don't know why that happens, with smart ftp, the gp2x shows only root, and I have to manually type in the folders to get anywhere. It works though...

Huh?
You need to go into the "commands" menu when you're connected, and in "connection"/"list options", select "force long format". If you have an entry for the GP2X in your favourites list, you will also find this in the properties menu - Look for "Transfers" in the properties tree, and then in the "directory listing options" frame on the right.

The 'ls' command in the GP2X's FTP server defaults to a single column listing with no file details, and Smart FTP assumes that the server will use the long format by default, hence the problem.

The nice thing about using FTP instead of samba is that although it is less flexible, it also has less overhead, and is only resident while a connection is active.
 
Last edited by a moderator:
I thought GPH ran the ftpd in the background (when enabled via the menu), rather than via inetd, so the server was always resident in memory regardless of whether it was being used or not?
 
Squidge posted on May 8 2006 at 09:59 PM said:
I thought GPH ran the ftpd in the background (when enabled via the menu), rather than via inetd, so the server was always resident in memory regardless of whether it was being used or not?
nope, they use inetd. thats also why you can only enable ftp and telnet at the same time, cause it basically just turns on inetd.
 
Last edited by a moderator:
Redeeman posted on May 9 2006 at 02:12 PM said:
Squidge posted on May 8 2006 at 09:59 PM said:
I thought GPH ran the ftpd in the background (when enabled via the menu), rather than via inetd, so the server was always resident in memory regardless of whether it was being used or not?
nope, they use inetd. thats also why you can only enable ftp and telnet at the same time, cause it basically just turns on inetd.
That said, there's nothing to stop you disabling samba from the menu and putting an entry for smbd in the inetd.conf file. Running nmbd is a waste of resources in this case. You have to refer to the GP2X by its IP address instead of NetBIOS name, but that's not too inconvenient, since you know the address anyway (unless you're using the DHCP client...)
 
Last edited by a moderator:
I'm sure all these different methods work, but what's wrong with just using it as an external device? If all you want to do is transfer files?
 
Back
Top