ODBC guide

Download a file


Downloads a single file from the given path and saves it to a local path. Provide SourceFilePath (Dropbox path or file ID) and ResponseDataFile (full disk path where the file should be saved).

SELECT *
FROM download_file
WITH (SourceFilePath='/file-I-want-to-download.dat'
     ,ResponseDataFile='C:\path\I\want\to\save\my\file\to.dat')