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)
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: