def SaveUploadedFile(upload_file, tmpdir):
  filename = werkzeug.secure_filename(upload_file.filename)
  path = os.path.join(tmpdir, filename)
  upload_file.save(path)
  return path
Saves uploaded file to local directory.
dataset/ETHPy150Open GoogleCloudPlatform/Data-Pipeline/app/static/hadoop_scripts/rpc_daemon/__main__.py/SaveUploadedFile