Getting files with .zip or .csv extensions

Help
Puckhead
2010-04-08
2013-05-28
  • Puckhead
    Puckhead
    2010-04-08

    Are there known issues when using jsch to get files that have .zip or .csv file extensions.  We are getting an exception during the GET and the only thing that seems to be causing the problem is the file extension.  If we get rid of the extension we can get the file.  Change the extension to say a .gz and we can get the file, but whenever it encounters a .csv or .zip file it throws that exception.  This is what we are seeing in the stack trace.

    4:
            at com.jcraft.jsch.ChannelSftp._get(ChannelSftp.java:980)
            at com.jcraft.jsch.ChannelSftp.get(ChannelSftp.java:870)
            at com.jcraft.jsch.ChannelSftp.get(ChannelSftp.java:853)