https://github.com/moeiscool/owncloud-saver
Saver script for OwnCloud
https://github.com/moeiscool/owncloud-saver
Last synced: about 2 months ago
JSON representation
Saver script for OwnCloud
- Host: GitHub
- URL: https://github.com/moeiscool/owncloud-saver
- Owner: moeiscool
- Created: 2017-01-17T05:26:24.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-01-20T02:15:01.000Z (over 8 years ago)
- Last Synced: 2025-03-24T00:13:36.701Z (about 2 months ago)
- Language: PHP
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ownCloud-saver
Saver button for OwnCloudSet the config details in `saver.php`. The defaults for the `server address` and `temporary directory` for downloaded files are as follows. It is set to `localhost` because you should put this file on the server that has owncloud installed to minimize upload time.
```
$server='http://localhost';
$tempDir=__DIR__.'/';
$username='';
$password='';
```then in your browser set `url` as the file URL you want to upload to your server.
```
http://yoursite/saver.php?url=http://somesite.com/file.mp4
```To change the name on upload add the variable `name`.
```
http://yoursite/saver.php?url=http://somesite.com/file.mp4&name=customname.mp4
```To change the save directory add `dir`.
```
http://yoursite/saver.php?url=http://somesite.com/file.mp4&name=customname.mp4&dir=somefolder/here/andhere/
```To use a different `user` and `pass`.
```
http://yoursite/saver.php?url=http://somesite.com/file.mp4&name=customname.mp4&dir=somefolder/here/andhere/&user=moeiscool&pass=ilikecookies
```