Transferring Files
Windows
Command Prompt
certutil.exe -urlcache -f <URL> <OUTPUT>
Using WebDAV and the type
command setup a webDAV server Simple python webdav server https://github.com/mar10/wsgidav
# download
type \\webdav-ip\folder\file.ext > C:\Path\file.ext
# upload
type C:\Path\file.ext > \\webdav-ip\folder\file.ext
PowerShell
Invoke-WebRequest <URL> -O <OUTPUT>
curl <URL> -O <OUTPUT>
wget <URL> -O <OUTPUT>
(New-Object Net.WebClient).DownloadFile("<URL>", "<OUTFILE>")
Jut get the contents of the file
(New-Object Net.WebClient).DownloadString("<URL>")
(Invoke-WebRequest <URL>)
(curl <URL>)
(wget <URL>)
## Linux
Last updated
Was this helpful?