I wanted to pull files from my xbox which is running Mediacenter to my WDWB.
The xbox only runs an FTP-server so Rsync is no option.
I examined some FTPclients and also tested a perl-script called ftpsync, but ended up using wget.
Not the wget in the busybox, it doesn't support recursive directory searching.
ipkg install wget
I created a script in /etc/cron.weekly
#!/bin/sh KEY=xbox RUSER=xbox RHOST=192.168.10.50 RPATH="/G/Music" RPATH_LENGTH=2 LPATH="/shares/internal/PUBLIC/Music" /opt/bin/wget -nH --no-passive-ftp --cut-dirs=$RPATH_LENGTH -r -c -nv -N -P $LPATH ftp://$RUSER:$KEY@$RHOST$RPATH # Make at least the Dirs +x and +r chmod -R a+rX $LPATH
Before using no-passive-ftp the transfer was slow because it used my WAN-IP to communicate the datastream. In my case this would mean going over wireless.
I have Passive FTP enabled on my xbox and it advertizes my WAN-IP.
I'm now getting a decent speed of 4 MByte/s