vscode-deploy-reloaded icon indicating copy to clipboard operation
vscode-deploy-reloaded copied to clipboard

Long files are not getting pulled correctly

Open Shababsoft opened this issue 5 years ago • 1 comments

Description

When pulling the changes from the remote, the long files (such as js file with 5000 lines) are getting trimmed to a certain line or file size.

Actual behavior

{Please write here}

Expected behavior

{Please write here}

Steps to reproduce

{Please write here, including precondition and an example config, if possible}

Example config

"deploy.reloaded": {
        "packages": [
            {
                "name": "My Package",
                "description": "My Package",
                "deployOnSave": false,
                "exclude": [
                    "/**/ttfontdata/**/*"
                ]
            }
        ],
        "targets": [
            {
                "type": "sftp",
                "name": "XXXXX SFTP",
                "description": "XXXX SFTP ",
                "dir": "/srv/",
                "host": "xxxxxxxx", "port": 22,
                "user": "xxxx", "password": "",
                "privateKey": "xxxxxx",
                "checkBeforeDeploy": true,
                "mappings": {
                    "/" : {
                        "to" : "/"
                    }
                }
            }
        ]
    }

Logs

// write log messages here, if possible

// maybe one or more log files are available
// in sub folder '.vscode-deploy-reloaded/.logs'
// inside your home directory

Screenshot

{Please write here, if possible}

Your environment

  • Operating system: {Please write here}
  • Visual Studio Code version: {Please write here}
  • Extension version: {Please write here}

Additional comments

{Please write here, if there is something more to tell}

Shababsoft avatar Sep 11 '19 15:09 Shababsoft

That's the same issue as reported here: #118

In short, files compared/pushed/pulled on SFTP targets are truncated to 64KB.

eurico-goncalves avatar Sep 16 '19 10:09 eurico-goncalves