For large files copying takes a lot of time and the request of the pgina filepond client time out. Therefore we resort to using shutil.move.
The OS should prefer to rename in this case if source and destination are on the same file system. At least on a Linux server this speeds up the moving from temporary to permanent storage tremendously.
For large files copying takes a lot of time and the request of the pgina filepond client time out. Therefore we resort to using shutil.move.
The OS should prefer to rename in this case if source and destination are on the same file system. At least on a Linux server this speeds up the moving from temporary to permanent storage tremendously.