Subject: | Net::FTPSSL Version > 0.33: MFMT Bug/Feature/wrong usage >>> MFMT 20170329161802 <<< 501 Syntax error in parameters or arguments. |
Dear Marco Dalla Stella,
we used your perl modul Net::FTPSSL with version 0.22 on operating system SUSE SLES11SP3.
(This is perl, v5.10.0 built for x86_64-linux-thread-multi).
Now we updated our operating system to SLES12SP1 and Net::FTPSSL to verion 0.37.
(This is perl 5, version 18, subversion 2 (v5.18.2) built for x86_64-linux-thread-multi).
We create a new connection of our FTPSSL connection like:
${ftps} = Net::FTPSSL->new( ${FTPSSERVER},
PreserveTimestamp => 1,
Encryption => IMP_CRYPT,
Debug => ${debug_ftps},
DebugLogFile => ${LOGFILE},
Timeout => 100);
With Net::FTPSSL versions as of 0.34 and greater MFMT does not use the uploaded file as parameter/argument:
Show quoted text
>>> STOR TMP_B014500.tmp
<<< 150 Opening BINARY mode data connection for TMP_B014500.tmp.
<<< 226 Transfer complete. 17.277 bytes transferred. 366,78 KB/sec.
Show quoted text>>> MFMT 20170329161802
<<< 501 Syntax error in parameters or arguments.
With versions 0.33 and below uploaded file is showing up and changing via MFMT does work:
Show quoted text>>> STOR TMP_B014500.tmp
<<< 150 Opening BINARY mode data connection for TMP_B014500.tmp.
<<< 226 Transfer complete. 17.277 bytes transferred. 358,98 KB/sec.
Show quoted text>>> MFMT 20170329142641 TMP_B014500.tmp
<<< 213 Modify=20170329142641; /TMP_B014500.tmp
I read the changes coming in version 0.34 concerning MFMT, but I can’t find what I’m doing wrong:
0.34 2016/07/27 08:30:00
- BEHAVIOUR CHANGE - Modified _mfmt() & _mdtm() to be able to handle localtime
vs gmtime based on changes to how PreserveTimestamp work. As an alternate
way, the behavior can be overriden by a new $local_flag option. The
default behavior is still GMT time. See the POD for a description of how
PreserveTimestamp now works.
Please tell me if I do use Net::FTPSSL wrong…
Best regards,
openfair