--package.path = package.path .. ';/?.lua'; package.path = package.path .. ';/Users/liyong/Code/AlchemyStudio/resty_functions/scripts/?.lua'; ngx.say('UPLOAD COMBINED IMAGE -> start') local upyun_upload = require("lib.upyun_upload") ngx.say('UPLOAD COMBINED IMAGE -> upyun_upload loaded') --local fullpath = "/Users/liyong/Code/AlchemyStudio/resty_functions/test_files_dir/r2d2.jpeg"; local fullpath = "/Users/liyong/Code/AlchemyStudio/resty_functions/test_files_dir/e4938956-954f-4918-be7f-7b10278a9ca4.jpeg"; ngx.say('UPLOAD COMBINED IMAGE -> fullpath -> ', fullpath) upyun_upload.upload(fullpath, nil)