Skip to main content

Snowflake_Connection.put_to_stage

put_to_stagefilestagepathoverwrite

Documentation

Upload a file to a stage to a local drive. This will overwrite existing files.

Arguments

  • file: The local file to upload.
  • stage: The name (and optionally schema) of the stage to read the properties from.
  • path: The path (or prefix) to the files to list.
  • overwrite: If set to True, will overwrite existing files. Defaults to False.

Returns

The name of the uploaded file in the stage.