Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Uploading Multiple Files via SFTP: Missing Files When Exceeding 100 #10346

Open
XvHuai opened this issue Mar 6, 2025 · 0 comments

Comments

@XvHuai
Copy link

XvHuai commented Mar 6, 2025

Version: 1.0.215
Platform: Windows x64 10.0.19045
Plugins: quick-cmds, docker, background
Frontend: xterm-webgl

Hello,

I am experiencing an issue when using the SFTP functionality in Tabby. Specifically, when I upload multiple files, and one of the directories contains more than 100 files, only a portion of those files gets uploaded successfully.

Here’s a script that I used to generate 200 files for testing:

const fs = require('fs');
const path = require('path');

// Create output directory
const outputDir = 'generated_files';
if (!fs.existsSync(outputDir)) {
    fs.mkdirSync(outputDir);
}

// Generate 200 files
for (let i = 1; i <= 200; i++) {
    const fileName = path.join(outputDir, `${i}.txt`);
    // Generate random content
    const content = `This is random content for file ${i}: ${Math.random()}`;
    
    fs.writeFileSync(fileName, content);
    console.log(`Created file: ${fileName}`);
}

console.log('All files have been generated!');

After running this script, I drag the folder generated_files (which contains all 200 files) into the SFTP upload window. While I expect to see the folder uploaded with all 200 files inside, I only find 100 files in the generated_files folder on the server.

Image

Image

Is there a limitation or a bug in the SFTP handling that would cause such behavior? Any guidance or fixes for this issue would be greatly appreciated.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant