Here is my build script for DC++ to help you compile and distribute dcpp included a sample ftp script
you need to set your own paths from line 8 -19
it also requires that you have downloaded the source from bazaar since it uses bzr commands to update source and set reversion number

