Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8518043
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T05:52:29+00:00 2026-06-11T05:52:29+00:00

Scenario I am trying to download a big file (> 3 GB) using Apache

  • 0

Scenario

I am trying to download a big file (> 3 GB) using Apache VFS from an SFTP Server (Proftpd) programatically with Java. Apache VFS internally uses ChannelSftp from JSch.

Environment

  • Ubuntu Linux Server 12.4
  • Profptd 1.3.4a
  • OpenSSH

Problem

After approximately 2 GB of data the session is closed and an IOException is thrown from ChannelSftp.

Solution approaches

  • Using OpenSSH SFTP Server and the Java client the problem does not show up
  • Using sftp client and Proftpd it also works

Questions

Any idea?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T05:52:30+00:00Added an answer on June 11, 2026 at 5:52 am

    jsch.ChannelSftp cannot handle the rekeying approach of Proftpd. This issue affects version 0.1.46. in version 0.1.38 it was supposedly fixed but it seems only for other sftp servers.

    To work around the problem just use the Proftpd directive

    SFTPRekey none
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My scenario - I am trying to send a Assembly File from Server to
I've the following scenario.... I am trying to download a file from a site
So far i wrote a code to download a file from ftp server then
Scenario: I am trying for importing data from MS SQL Server to HDFS. But
I am trying to simulate a scenario where connection to the server of one
I'm trying to implement this scenario using Unity and i can't figure out how
I am trying to understand isolation/locks in SQL Server. I have following scenario in
i've a Java project managed by Maven2. The scenario i'm trying to solve is
I am trying to create a secure download web app with the following scenario.
I have the following scenario downloading a file form sever: I am trying to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.