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

Feature request: Check target site during mirror for "out of disk space" error. #737

Open
wav10001 opened this issue Oct 10, 2024 · 0 comments

Comments

@wav10001
Copy link

It would be beneficial to have the option to check the target location, specifically if the target is an FTP site, for the message "out of disk space" during transfers. This would prevent unnecessary bandwidth usage and allow for timely intervention.

Example use case:

A script using lftp to mirror a large directory to an FTP site. Without this feature, the script would likely continue looping and attempting to transfer files until the entire directory is transferred, wasting bandwidth and time. With this feature, lftp would abort the mirror job upon detecting the 'out of disk space' error, allowing the FTP site administrator to free up space before resuming the transfer at a later date.

Example error message:

452 Error writing file: No space left on device.

Requested features:

  • Option to enable/disable this check via command-line flag or configuration setting
  • Error handling for "out of disk space" error (e.g., abort mirror job, retry after interval)
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