in reply to Re: Change Record Length For FTP
in thread Change Record Length For FTP

Thank you roboticus. I'm not sure how to code the LRECL in the script. Before I posted this question on PerlMonks, I tried '$newreclen = quote site lrecl=94;', but perl didn't like 'lrecl'. How do I properly set LRECL?

Replies are listed 'Best First'.
Re^3: Change Record Length For FTP
by Corion (Patriarch) on Jul 29, 2010 at 12:09 UTC

    If you want to send a string to the remote site, you will need to tell Perl that you mean a string:

    $ftp->quot("site lrecl=94");

    Also see Net::FTP about the quot function.

      That's exactly what I needed, thank you very much Corion! I sincerly appreciate your time and talents!