Note: You are looking at a static snapshot of documentation related to Robot Framework automations. The most recent documentation is at https://robocorp.com/docs

Downloading files from an HTTP server

This example demonstrates how to download a PDF document from an HTTP server and save it as a local file using Robot Framework and the RPA.HTTP library from RPA Framework.

*** Settings *** Documentation Download a PDF document from an HTTP server and save as a local file. Library RPA.HTTP *** Variables *** ${PDF_URL} https://ec.europa.eu/energy/sites/ener/files/documents/EnergyDailyPricesReport-EUROPA_0.pdf *** Tasks *** Download a PDF document from an HTTP server Download ${PDF_URL} Download a PDF document from an HTTP server and overwrite existing file Download ${PDF_URL} overwrite=True Download a PDF document from an HTTP server using specific target location and name Download ${PDF_URL} target_file=${OUTPUT_DIR}${/}my.pdf
Last edit: May 5, 2022