I am having an issue when using the get method of the Net::FTPSSL module.
When I am calling the get method I am doing this:
>if ( $ftps->get("$file","$file") ) { $ftps->delete($file); print MYLOG a-time-stamp-func() . " $file was downloaded from host\ +n"; } else { exception handling; }
What happens is that in my log the line that gets written is rather munged for each file that gets downloaded. The word downloaded will appear then a portion of the timestamp and then perhaps the file name. When I use the Net::FTP module with the same type of if statement this does not happen, only with the Net::FTPSSL. Reading the module I can see that the get method creates an instance of IO::Handle tied to Net::SSLeay::Handle.
Not really a major issue but a bit of a nuisance. Any thoughts on what might be causing this?
Update:I just wasn't looking closely enough at this. The file names have \r in them after chomping. When I tail the log it looks munged, doing more or vi on it looks ok but with the ^M's. The tail is excluding everything on the line up to and including the \r.
zowIn reply to Net::FTPSSL->get() issue by zow
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |