I have for the past weeks trying to write a small application that is sending a bunch of files (stored in byte arrays) to a HP Printer which has an ftp daemon installed. The problem is that the files sometimes get busted on the way and the printer locks up cause it doesn't understand the format. I am pretty sure I am doing something wrong in the socket code... possibly in the way I am sending ftp commands.

It works just fine when I am using wsftp to send the files...


Is there someone who is interested in helping me out? Please respond, and then I will post the code.


...hoping for the best
Henrik