This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
############################################################ | |
# | |
# cloudsend.sh | |
# | |
# Uses curl to send files to a shared | |
# Nextcloud/Owncloud folder | |
# | |
# Usage: ./cloudsend.sh <file> <folderLink> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// written by frlae - 2015 01 27 | |
// replacement class for the buggy zipstreamer class (on osx you cannot unzip the zip files) | |
class ZipStreamer { | |
private $archivename = ""; | |
private $isFinalized = false; | |
private $filelist = array(); | |
private $dirlist = array(); | |
private $cwd = ""; |