1. IUSR and iis_iusrs are required!
2. Check whether the written file path is correct! The IUSR and iis_iusrs permissions are granted. Fileu. saveas server. mappat ("../Tup/" & filenamee) path is also true. In the past, it was done on the XP system. Why can't images be uploaded on the wi7 system? If the win7 system cannot be used, I finally got it done. I added the following question: filenamee = Replace (filenamee, "/", "") about system time reading!
Or create a directory
You can also create an uploadfiles folder in the west of the VM root directory to read and write data.
Randomize
Rannum = int (90000 * RND) + 10000
Filename = CSTR (filepath) & CSTR (Year (date () & month (date () & Day (date () & hour (now ()) & minute (now () & Second (now () & rannum &". "& fileext
File. savetofile server. mappath (".../..." & filename)
'File. savetofile server. mappath (filename)