I use ftpXfer() and ftpCommand() in Tornado 2.0.1/2.0.2, vxWorks 5.4.
I found the call to these two APIs in ftpLib would crash system when
the length of source_fname was longer than 157 characters. Any clues?

result = ftpCommand(ctrlSock, "RETR %s", (int) source_fname, 0, 0, 0,
0, 0);

status = ftpXfer(server_ip, username, password, "", "RETR %s", "",
source_fname, &ctrlSock, &dataSock);