This example uses the folder monitor to watch for files in a folder, then move them to a processing folder. It then uploads them to a remote server, notifies completion of this to an email, then coverts all images using ImageMagick, and uploads those images to another location, and sends an email notification.
A final few steps could be to delete all items in the processing folder, or use the "move" for the second copy so the items are not left behind.
A folder monitor could also be used to self cleanup the processing folder later on too. Or even folders using the current second time stamp could be used to keep things separated and easier to clean.
The steps:
Add new attachment
Only authorized users are allowed to upload new attachments.
List of attachments
Kind | Attachment Name | Size | Version | Date Modified | Author | Change note |
---|---|---|---|---|---|---|
png |
Root_folder_contents_cleanup.p... | 248.5 kB | 1 | 05-Dec-2023 05:32 | Halmágyi Árpád | |
png |
folder_monitor.png | 194.6 kB | 3 | 05-Dec-2023 05:32 | Halmágyi Árpád | |
xml |
job.XML | 19.0 kB | 2 | 05-Dec-2023 05:32 | Halmágyi Árpád | |
png |
job.png | 283.5 kB | 1 | 05-Dec-2023 05:32 | Halmágyi Árpád | |
png |
step0.png | 109.7 kB | 3 | 05-Dec-2023 05:32 | Halmágyi Árpád | |
png |
step1.png | 121.6 kB | 3 | 05-Dec-2023 05:32 | Halmágyi Árpád | |
png |
step2.png | 82.6 kB | 3 | 05-Dec-2023 05:32 | Halmágyi Árpád | |
png |
step3.png | 97.8 kB | 3 | 05-Dec-2023 05:32 | Halmágyi Árpád | |
png |
step3_.png | 97.8 kB | 1 | 05-Dec-2023 05:32 | Halmágyi Árpád | |
png |
step4.png | 43.5 kB | 3 | 05-Dec-2023 05:32 | Halmágyi Árpád | |
png |
step5.png | 91.8 kB | 3 | 05-Dec-2023 05:32 | Halmágyi Árpád | |
png |
step6.png | 132.5 kB | 3 | 05-Dec-2023 05:32 | Halmágyi Árpád | |
png |
step7.png | 83.1 kB | 3 | 05-Dec-2023 05:32 | Halmágyi Árpád |
«
This particular version was published on 05-Dec-2023 05:32 by Halmágyi Árpád.
G’day (anonymous guest)
Log in
JSPWiki