send CSV file via REST
This commit is contained in:
@@ -38,6 +38,16 @@ public class FileUtils {
|
||||
}
|
||||
}
|
||||
|
||||
public static void deleteSilently(final Iterable<Path> paths) {
|
||||
for (final Path path : paths) {
|
||||
try {
|
||||
delete(path);
|
||||
} catch (final Exception e) {
|
||||
LOGGER.info("failed to delete {}", path, e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static void delete(final Path path) {
|
||||
|
||||
final int maxAttempts = 10;
|
||||
|
||||
Reference in New Issue
Block a user