6. Network Sync
Network Sync feature helps you to move completely downloaded files from local storage (e.g. Flash Disk) to Network storages to free up disk space.
It uses two network locations as copying target. If the first one fails, it will retry to use the optional second one. And, if none of them were available, it will wait till one of them gets online and then transfers the files.
You have to define network storage(s) on your
/etc/fstab file before using this feature. Then, you can enable it by editing the following options on
configuration.sh file. For instance, assuming
media/nfs2 mount points:
NETWORK_SYNC="1" NETWORK_DIR1="/media/nfs1" NETWORK_SUBDIR1="/CompletedDownloads" NETWORK_DIR2="/media/nfs2" NETWORK_SUBDIR2="/CompletedDownloads"
This will move downloaded files to
/media/nfs1/CompletedDownloads and uses
/media/nfs2/CompletedDownloads as a fallback option.
- It's different from Network Target feature.
- The second storage is optional.
NETWORK_DIR1is the mount point of first network storage and
NETWORK_SUBDIR1is the relative path to target directory on
- The subdirectory should be started with the beginning slash.
- If the storage is only mountable by the root, you'll have to set
root. It's not recommended to run aria2c daemon as root. Instead, you can specify
useroption at the respective entry on
/etc/fstabfile to make it mountable by normal users.