Author Topic: FTPing files to the Dingoo...  (Read 3877 times)

Elta (OP)

  • Posts: 21
FTPing files to the Dingoo...
« on: December 17, 2009, 05:24:27 am »
I've always thought the process of booting into the original firmware to copy just one file to be unnecessary long when developing.

This post is more targeted at developers as copying large amounts of data to the Dingoo is probably faster using the original firmware.

Please note that for this I used Kubuntu / Ubuntu, thing might work differently on other Linux flavor.

If you plug your Dingoo to the PC with the USB cable and start Dingux, you will notice the Network Manager pick a new network connection named 'Auto usb0'
The network is configured like this:
10.1.0.1 PC
10.1.0.2 Dingoo

First, we need a FTP client for Linux.
It seems Dingux use a rather simple FTP server that don't work well with most FTP clients.
So far the only FTP client that I found to work with Dingux is Filezilla. (Ubuntu package: filezilla)
Install filezilla and start it.

Now go to the site manager and make a new site : "Dingoo"
  • As host enter : 10.1.0.2
  • Select logon type : Normal
  • Enter any user / pass you want. (Doesn't matter)
  • In transfer settings, set transfer mode to 'active'. VERY IMPORTANT
  • I checked 'Limit number of simultaneous connections' and set the limit to 1. (Might not be necessary)

Now close the dialog box and go to the 'Transfer' menu : 'Transfer type' should be set to 'Auto'.
Set it to 'Binary'. VERY IMPORTANT. If you don't files will be transfered corrupted.

It's ready!
Now you can connect to the dingoo using the site manager.
Uploading a new compile of an application is as simple as right click->upload->overwrite.
No need to reboot back and forth from the original OS anymore. :)

darfgarf

  • Guest
Re: FTPing files to the Dingoo...
« Reply #1 on: December 17, 2009, 09:23:29 am »
+karma for you old chap  ;D

mine was working fine with everything set to default settings, but maybe i was just getting lucky

eule

  • * Former Staff
  • Posts: 889
Re: FTPing files to the Dingoo...
« Reply #2 on: December 17, 2009, 02:09:24 pm »
This probably doesn?t work with the Windows-version of FileZilla? Well, i?ll try...  ;D
edit: No, doesn?t work. I don?t even see a connection, what?s weird, because i saw it months ago. ^^
However, this feature is probably more useful for devs, not users like me.
« Last Edit: December 17, 2009, 02:17:45 pm by eule »

rukke

  • Guest
Re: FTPing files to the Dingoo...
« Reply #3 on: December 22, 2009, 08:48:19 pm »
I can confirm that this works with Snow Leopard as well, just make sure that you select 'Using DHCP with manual address' under System Preferences/Network/RNDIS/Ethernet Gadget and enter 10.1.0.1 as IP (this will be the IP of the computer). Then, just ftp with Filezilla to 10.1.0.2 as described above!

EDIT: No go with Windows 7 x64 though... Can't seem to find a suitable driver.

pinkeen

  • Guest
Re: FTPing files to the Dingoo...
« Reply #4 on: July 09, 2010, 07:55:01 pm »
Sorry for bumping up such an old thread but I wonder if anybody knows why ftp directory listing works with command-line ftp client, with www browser and doesn't when using mc's ftp vfs, kde's ftp kio_slave or ftpfs?

UPDATE

If anybodys curious I figured that out.

It seems that busybox's ftpd doesn't support switches for the "LIST" command. Some ftp clients use "LIST -a" or "LIST -la" to list directories. The trick is to make them use plain "LIST" without switches. The fix for curlftpfs is '-o custom_list="LIST"'.
« Last Edit: July 09, 2010, 08:13:21 pm by pinkeen »