Downloading Files from Internet

is done by the download() command


In [1]:
if !isdir("Results")
    error("create the subfolder Results before running this program")
end

Some Data from Kenneth French's Homepage


In [2]:
http   = string("http://mba.tuck.dartmouth.edu/pages/faculty/ken.french/ftp/",
                "F-F_Research_Data_Factors_daily_CSV.zip")

println("File to download: ",http)
download(http,"Results/WhatIJustDownloaded.zip")

println("\ncheck the subfolder Results\n")


File to download: http://mba.tuck.dartmouth.edu/pages/faculty/ken.french/ftp/F-F_Research_Data_Factors_daily_CSV.zip

check the subfolder Results


In [ ]: