GithubHelp home page GithubHelp logo

opensftp's People

Contributors

burningxflame avatar

Watchers

 avatar

opensftp's Issues

default progressListener for net.sf.opensftp.impl.SftpUtil

This enhancement is related to [Issue #2].

Need to make an enhancement in net.sf.opensftp.impl.SftpUtil to make it work 
even when progressListener isn't set explicitly or through configuration file. 
This feature will come in next release.
It's easy. However I need to spare some time to do it.

Original issue reported on code.google.com by [email protected] on 6 Dec 2011 at 5:42

Unable to upload file

What steps will reproduce the problem?
1. Just run the demo program and change local directories accordingly
2.
3.

What is the expected output? File uploaded to the server.
What do you see instead?

Exception in thread "main" java.lang.reflect.UndeclaredThrowableException
    at $Proxy0.put(Unknown Source)
    at com.wambugu.Main.main(Main.java:66)
Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at net.sf.opensftp.SftpUtilFactory$SftpUtilInvocationHandler.invoke(SftpUtilFactory.java:709)
    ... 2 more
Caused by: java.lang.NullPointerException
    at net.sf.opensftp.impl.SftpUtil.put(SftpUtil.java:435)
    ... 7 more

What version of the product are you using? On what operating system?

0.2.0
Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 16 Sep 2011 at 2:22

Problem with 8-bit filenames

What steps will reproduce the problem?
1. Create a file with 8bit characters on the sFTP server (ie via putty)
2. Try to get the file with opensftp after getting the filename from 'ls'

What is the expected output? What do you see instead?

Expected: Download works
Actual result: Download failes


What version of the product are you using? On what operating system?

Version: 0.1 on MS Windows XP, sFTP Server: HP-UX 11

Please provide any additional information below.

StackTrace from failing 'get':

2012-01-04 15:48:16,752 ERROR             SftpUtil : command get failed         


              net.sf.opensftp.impl.SftpUtil.get(SftpUtil.java:289) 
2: No such file
    at com.jcraft.jsch.ChannelSftp.throwStatusError(ChannelSftp.java:2289)
    at com.jcraft.jsch.ChannelSftp._stat(ChannelSftp.java:1741)
    at com.jcraft.jsch.ChannelSftp._stat(ChannelSftp.java:1758)
    at com.jcraft.jsch.ChannelSftp.get(ChannelSftp.java:786)
    at com.jcraft.jsch.ChannelSftp.get(ChannelSftp.java:754)
    at net.sf.opensftp.impl.SftpUtil.get(SftpUtil.java:285)
    at net.sf.opensftp.impl.SftpUtil.get(SftpUtil.java:277)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at net.sf.opensftp.SftpUtilFactory$SftpUtilInvocationHandler.invoke(SftpUtilFactory.java:717)
    at $Proxy0.get(Unknown Source)

I assume it's a problem with a different encoding and 8-bit characters in the 
filename as 'ls' shows them as questionmarks.

Original issue reported on code.google.com by [email protected] on 4 Jan 2012 at 2:50

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.