Are you sure FileTransfer class is loaded at that time?