Deze pagina is nog niet beschikbaar in uw eigen taal. We werken er hard aan om meer taalversies toe te voegen. Bedankt voor uw steun.

On this page

Show all

Help Center/ FunctionGraph/ FAQs/ General FAQs/ How Do I Obtain Uploaded Files?

How Do I Obtain Uploaded Files?

Updated on 2023-06-19 GMT+08:00

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:

  1. Run the cd command to switch to /opt/function/code.
  2. Access the full path (value of the RUNTIME_CODE_ROOT environment variable).
    NOTE:

    You can obtain uploaded files by referring to the preceding methods when other languages are used.

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback