<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent posts to Help</title><link>https://sourceforge.net/p/jsch/discussion/219651/</link><description>Recent posts to Help</description><atom:link href="https://sourceforge.net/p/jsch/discussion/219651/feed.rss" rel="self"/><language>en</language><lastBuildDate>Tue, 17 May 2022 07:17:47 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/jsch/discussion/219651/feed.rss" rel="self" type="application/rss+xml"/><item><title>EOS question</title><link>https://sourceforge.net/p/jsch/discussion/219651/thread/19ae327e12/?limit=25#d5c4</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Does anyone know if this library has reached EOS and if so, when?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">lhw</dc:creator><pubDate>Tue, 17 May 2022 07:17:47 -0000</pubDate><guid>https://sourceforge.net76faddcc9c3900f7e258d081d8fbdbd29fb593d4</guid></item><item><title>How to access JSch source code repository?</title><link>https://sourceforge.net/p/jsch/discussion/219651/thread/a378cd32/?limit=25#981b</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The source code is not public. See:&lt;br/&gt;
&lt;a href="https://www.eclipse.org/lists/cross-project-issues-dev/msg16219.html" rel="nofollow"&gt;https://www.eclipse.org/lists/cross-project-issues-dev/msg16219.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Although, here is what looks like Jsch 0.1.55 source code:&lt;br/&gt;
&lt;a href="https://download.eclipse.org/oomph/archive/reports/download.eclipse.org/releases/2021-09/index/com.jcraft.jsch.source_0.1.55.v20190404-1902.html" rel="nofollow"&gt;https://download.eclipse.org/oomph/archive/reports/download.eclipse.org/releases/2021-09/index/com.jcraft.jsch.source_0.1.55.v20190404-1902.html&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Denis Bredelet</dc:creator><pubDate>Tue, 18 Jan 2022 12:11:28 -0000</pubDate><guid>https://sourceforge.net1226b301befd58c7961680b7ba2d1e5e4fcd5e54</guid></item><item><title>Behavior of quit() in ChannelSftp.java</title><link>https://sourceforge.net/p/jsch/discussion/219651/thread/08a89f459b/?limit=25#1002</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi All,&lt;br/&gt;
in the source code of ChannelSftp.java, the method quit(), just disconnect channell client side.&lt;br/&gt;
Some sftp server implement &lt;strong&gt;QUIT&lt;/strong&gt; verb for explicit close session.&lt;/p&gt;
&lt;p&gt;the difference is only the after sending QUIT all resources are deallocated from server,&lt;br/&gt;
just close channell peer side keep sockets in FIN wait for some minutes.&lt;/p&gt;
&lt;p&gt;In case of massive login logout session with ChannelSftp.java, sftpserver DDOS protection throttle disable the access or in some cases get exhausted connections.&lt;/p&gt;
&lt;p&gt;Why not send QUIT in the quit method and after disconnect ?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Diego Scaravaggi</dc:creator><pubDate>Fri, 25 Sep 2020 10:28:10 -0000</pubDate><guid>https://sourceforge.net459d4c577f90f451dbbb2ea525584d41fe4a1656</guid></item><item><title>How to set FTP "mode" ASCII or BINARY</title><link>https://sourceforge.net/p/jsch/discussion/219651/thread/9e8ee26f/?limit=25#46eb</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Any updates on this?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Saranya </dc:creator><pubDate>Wed, 25 Sep 2019 05:07:02 -0000</pubDate><guid>https://sourceforge.netcd984cb1325d2876e78013253369d1de79eabd53</guid></item><item><title>Find the file owner name</title><link>https://sourceforge.net/p/jsch/discussion/219651/thread/8255f68b4d/?limit=25#7268</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Workaround to find owner name:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="n"&gt;String&lt;/span&gt; &lt;span class="n"&gt;longName&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;file&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;getLongname&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;span class="n"&gt;String&lt;/span&gt;&lt;span class="p"&gt;[]&lt;/span&gt; &lt;span class="n"&gt;attrs&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;longName&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;split&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="ss"&gt;"\\s+"&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="n"&gt;String&lt;/span&gt; &lt;span class="n"&gt;ownername&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;attrs&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;];&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;where file is an instance of LsEntry returned by the ChannelSFTP.ls&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Saranya </dc:creator><pubDate>Wed, 25 Sep 2019 05:05:38 -0000</pubDate><guid>https://sourceforge.net4ff74b1f093bf41787d39add3329714afa29e9e0</guid></item><item><title>channel is not opened</title><link>https://sourceforge.net/p/jsch/discussion/219651/thread/e3ab965e9f/?limit=25#dd8e</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;We are getting randomly occuring error "org.eclipse.jgit.api.errors.TransportException: &amp;lt;gitlab_ssh_repo_url&amp;gt;/automate.git: channel is not opened." We are not able to identify the exact cause or not able to reproduce this behaviour evry time. We are using SSh to connect to the repo and connecting through jgit liberary. We have observed this behaviour specific to GitLab and not for github and bitbucket.&lt;br/&gt;
Any help would be appriciated.&amp;lt;/gitlab_ssh_repo_url&amp;gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">manish</dc:creator><pubDate>Tue, 24 Sep 2019 07:07:48 -0000</pubDate><guid>https://sourceforge.netd5d5899148110a69144b0e3d15a5c5504a635413</guid></item><item><title>File last modified date and time</title><link>https://sourceforge.net/p/jsch/discussion/219651/thread/5b51af7a43/?limit=25#9a46</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I was able to resolve this using the following&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nb"&gt;Date&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="n"&gt;long&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="n"&gt;file&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;getAttrs&lt;/span&gt;&lt;span class="p"&gt;().&lt;/span&gt;&lt;span class="n"&gt;getMTime&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="mi"&gt;1000&lt;/span&gt;&lt;span class="n"&gt;L&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;where file is an instance of ChannelSftp.LsEntry&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Saranya </dc:creator><pubDate>Tue, 24 Sep 2019 03:29:14 -0000</pubDate><guid>https://sourceforge.netbb07894240b1c18f09900382803332c4af90a303</guid></item><item><title>File last modified date and time</title><link>https://sourceforge.net/p/jsch/discussion/219651/thread/5b51af7a43/?limit=25#a444</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;How to get a remote file's last modified time? I am using the following but it shows date with year 1970 only.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="nb"&gt;int&lt;/span&gt; &lt;span class="n"&gt;mtime&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;entry&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;getAttrs&lt;/span&gt;&lt;span class="p"&gt;().&lt;/span&gt;&lt;span class="n"&gt;getMTime&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt;
&lt;span class="nb"&gt;Date&lt;/span&gt; &lt;span class="nb"&gt;date&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nb"&gt;Date&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;mtime&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;When printed the date is "Mon Jan 19 09:09:10 IST 1970". What should be changed here to find the exact last modified time?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Saranya </dc:creator><pubDate>Thu, 19 Sep 2019 11:34:35 -0000</pubDate><guid>https://sourceforge.nete7b51542f7083402adbffbf33e4ea69751f10f64</guid></item><item><title>Find the file owner name</title><link>https://sourceforge.net/p/jsch/discussion/219651/thread/8255f68b4d/?limit=25#d0cb</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Using SftpATTRS.getUId(), it is possible to get only the user id. How to fetch the user name corresponding to the id?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Saranya </dc:creator><pubDate>Thu, 19 Sep 2019 11:30:42 -0000</pubDate><guid>https://sourceforge.net1a892266e14e07af1ccf54e40d9f2422008db7f1</guid></item><item><title>Intermittent failures in connecting to SFTP server with JSCH 0.1.51 </title><link>https://sourceforge.net/p/jsch/discussion/219651/thread/a5f31cec18/?limit=25#5762</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Team,&lt;/p&gt;
&lt;p&gt;One of the customer is connecting to the SFTP server to transfer files and intemmittently they are recieving below error messages " *java.io.IOException: End of IO Stream Read....en..i.N%J'"  . The same error message is in the TCP dump also . The customer is using JSCH 0.1.51 and connecting to a globalscape EFT SFTP server . This issue is intermmittent and some time they are able to transfer files or can connect to sftp without any issues . Anyone aware of this error message relate to JSCH ? will the JSCH upgrade will fix this ?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">sajeesh</dc:creator><pubDate>Thu, 11 Jul 2019 06:03:20 -0000</pubDate><guid>https://sourceforge.netbdb7ac1bb97eeda8806b4dbe6f9a07a91b22dd79</guid></item></channel></rss>