• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 372
  • Last Modified:

MySql: Can load txt WEB file directly into the database?

Good day

I have a WEB address of TXT file
Is it possible to load that file directly into MySQL table using LOAD DATA INFILE command or something similar?
The script is designed in Windows PowerShell

Thank you
1 Solution
You could probably use wget or one of its alternatives to fetch the file from your script to a local file: http://www.mynitor.com/2010/09/30/command-line-alternatives-to-wget-and-so-much-better/

Are you trying to avoid saving to an actual file on the filesystem?

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now