in reply to Change Record Length For FTP

It should be blatantly obvious from the code you're using which you've helpfully provided us that the problem lies on line 42.

The cake is a lie.
The cake is a lie.
The cake is a lie.