in reply to Trouble with NET::FTPSSL
Looking at the module's source, I think it needs to be a bareword Encryption => EXP_CRYPT (ie no quotes).Encryption => 'EXP_CRYPT', or Encryption => "EXP_CRYPT",
Near the beginning of FTPSSL.pm we have:return _croak_or_return (undef, $die, $dbg_flg, "Encryption mode unknown! ($encrypt_mode)" +) if ( $encrypt_mode ne IMP_CRYPT && $encrypt_mode ne EXP_CRYPT && $encrypt_mode ne CLR_CRYPT );
Therefore, if FTPSSL.pm's $encrypt_mode has been assigned as you intend, it should have been set to E, not EXP_CRYPT as the error reports.use constant EXP_CRYPT => "E";
Without seeing more of your code, it's hard to know for sure.Encryption => Net::FTPSSL::EXP_CRYPT,
|
|---|