Title: for plugin : retrieve secured data
Last modified: August 19, 2016

---

# for plugin : retrieve secured data

 *  [tomhermans](https://wordpress.org/support/users/tomhermans/)
 * (@tomhermans)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/for-plugin-retrieve-secured-data/)
 * Hi,
 * I’m setting up a few scripts that can pull data from a server from a partner 
   of ours, which I can then save to the WP db.
 * However, this folder with CSV-files is secured (htaccess), I have username and
   login, but would like to automate the data retrieval.. (when script is tested,
   cron will be setup for this)
 * But have no clue how to get to the secured data.. I have to fetch the data and
   pass the user/pw combo along I guess..
 * Anyone have an idea how to pull this off ?

Viewing 1 replies (of 1 total)

 *  Thread Starter [tomhermans](https://wordpress.org/support/users/tomhermans/)
 * (@tomhermans)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/for-plugin-retrieve-secured-data/#post-1761020)
 * ok, found this one myself..
 * was as simple as:
    [http://USERNAME:PASSWORD@www.site.tld/folder/filename.htm](http://USERNAME:PASSWORD@www.site.tld/folder/filename.htm)

Viewing 1 replies (of 1 total)

The topic ‘for plugin : retrieve secured data’ is closed to new replies.

## Tags

 * [csv](https://wordpress.org/support/topic-tag/csv/)
 * [htaccess](https://wordpress.org/support/topic-tag/htaccess/)
 * [retrieve](https://wordpress.org/support/topic-tag/retrieve/)
 * [site](https://wordpress.org/support/topic-tag/site/)

 * 1 reply
 * 1 participant
 * Last reply from: [tomhermans](https://wordpress.org/support/users/tomhermans/)
 * Last activity: [15 years, 6 months ago](https://wordpress.org/support/topic/for-plugin-retrieve-secured-data/#post-1761020)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
