Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

I've a flat data source with update weekly and always available at thursday.

The http-url to get CSV file work with following date pattern: http://www.server.com/YYYYMMDD.csv

Where YYYYMMDD is always thursday, but only available six days after (d+6) to download.
(eg. url/20230203.csv => schedule: 09/02/2023 => current thursday - 6 days = last friday)

How I can save files in directories by date like: ./data/2023/20230209/20230209.zip?

It's possible set/create new directory to download file each schedule execution?

I appreciate any explanation.

Or only possible do it in postprocess file with Deno?

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant
Morty Proxy This is a proxified and sanitized view of the page, visit original site.