pvdung / opensftp Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/opensftp
Automatically exported from code.google.com/p/opensftp
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
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
Add multi-threading abilities to ProgressListener.
Currently I'm thinking to use a object pool to maintain ProgressListener
instances.
Original issue reported on code.google.com by [email protected]
on 27 Sep 2010 at 11:11
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.