FilePush Usage


Uploading files on Windows

Using PowerShell:
PS > invoke-webrequest -method put -infile myfile.txt https://filepush.co/upload/myfile.txt

StatusCode        : 200
StatusDescription : OK
Content           : https://filepush.co/dSt4/myfile.txt
(...)
            

Downloading files on Windows

Using PowerShell:
PS > invoke-webrequest -uri "https://filepush.co/dSt4/myfile.txt" -outfile "myfile.txt"

PS >
            
(no output if successful)

Uploading files on macOS

Using cURL:
$ curl --upload-file /path/to/myfile.txt https://filepush.co/upload/myfile.txt

https://filepush.co/FjcL/myfile.txt
            

Downloading files on macOS

Using cURL:
$ curl -O https://filepush.co/SfY4/myfile.png

(...)
            

Uploading files on Linux

Using cURL:
$ curl --upload-file /path/to/myfile.txt https://filepush.co/upload/myfile.txt

https://filepush.co/FjcD/myfile.txt
            
Using Wget:
$ wget --method PUT --body-file=/path/to/file.txt https://filepush.co/upload/file.txt -O - -nv

https://filepush.co/GhDj/file.txt
2018-04-07 19:40:02 URL:https://filepush.co/upload/file.txt [39/39] -> "-" [1]
            

Downloading files on Linux

Using Wget:
$ wget https://filepush.co/S95x/myfile.png

(...)
2018-04-07 19:48:52 (1.82 MB/s) - 'myfile.png' saved [26851/26851]
            
Using cURL:
$ curl -O https://filepush.co/Sf5x/myfile.png

(...)