See the documentation of `os.TempDir` at 
https://golang.org/pkg/os/#TempDir
> On Windows, it uses GetTempPath, returning the first non-empty value from %TMP%, %TEMP%, %USERPROFILE%, or the Windows directory.
Lutz
________________________________________
Von: 
golan...@googlegroups.com <
golan...@googlegroups.com> im Auftrag von hao dong <
hao.a...@gmail.com>
Gesendet: Donnerstag, 16. Juli 2020 12:44
An: golang-nuts
Betreff: [go-nuts] where is temp file created by http server
As I have learned, http server will store user-upload file on disk when its size exceed 32MB.
I read the source code, and find out the large file to store in os.TempDir(), however, after uploading a large file, I can not find the file in the temp dir.
Cloud someone enlight me, where is the temp file ?
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to 
golang-nuts...@googlegroups.com<mailto:
golang-nuts...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/0232db86-9bfb-42ae-b24b-49ea57a222ado%40googlegroups.com<
https://groups.google.com/d/msgid/golang-nuts/0232db86-9bfb-42ae-b24b-49ea57a222ado%40googlegroups.com?utm_medium=email&utm_source=footer>.