Take Python as an example. If you use os.getcwd() to query the current directory, the directory will be /opt/function. However, code has actually been uploaded to /opt/function/code.
You can use either of the following methods to obtain uploaded files:
You can obtain uploaded files by referring to the preceding methods when other languages are used.