In both cases, convert single call to one wrapped in dolist.
Attach a file by drag & drop or click to upload