---
title: "Discussion on \"Using curl in Windows to download files\" | Hashnode"
description: "Discussion on \"Using curl in Windows to download files\". This downloads a file if it's newer than the one that's on your local drive:\ncurl -z \"path\\filename.lib\" ftp://ftp.yoursite.com//ftppath/filename.lib -o \"path\\filename.lib\"\nThe \"-z\" means only copy if it's newer than a specified date. But then you ju..."
url: "https://hashnode.com/posts/using-curl-in-windows-to-download-files/65c4ec5d6d6d8de4fd1b8631"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Using curl in Windows to download files](https://roderickkennedy.com/using-curl-in-windows-to-download-files?utm_source=hashnode&utm_medium=feed)

This downloads a file if it's newer than the one that's on your local drive: curl -z "path\\filename.lib" ftp://ftp.yoursite.com//ftppath/filename.lib -o "path\\filename.lib" The "-z" means only copy if it's newer than a specified date. But then you ju...

Apr 26, 2016 · 1 min read · roderickkennedy.com  
Read the article

## Written by

[Roderick Kennedy](https://hashnode.com/@roderick)

@roderick

  
[View profile](https://hashnode.com/@roderick)

Simulation and Virtual Reality

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
