milanmk / actions-file-deployer

Composite GitHub Action (Linux runner) for deploying repository content to remote server. Fast and customizable deployment with proxy support. Deploy only changed files or do full sync/mirror of repository content.
The Unlicense
62 stars 14 forks source link

usr/bin/lftp: Argument list too long #35

Closed floriancnx closed 3 months ago

floriancnx commented 3 months ago

Hi, i have this use. Please some body, can help me.

File created: ~/files_to_delete


Transfer files Protocol: ftp Synchronization: delta Local path: src Remote path: /home/runner/work/xxxxxxxxx/xxxxxxxxx Upload files: 6525 Delete files: 0


/home/runner/work/_temp/1873f9b5-963e-4a6a-9944-c7d3d6933d02.sh: line 293: /usr/bin/lftp: Argument list too long Error: Process completed with exit code 126.

milanmk commented 3 months ago

Upload files: 6525

Do a full sync first and then use delta sync so that only modified files need to be uploaded.