I have put together a list of commands that can be used to transfer a file from one device to another. I have also included some commands to create a simple HTTP server for serving files to download. These commands should NEVER BE USED to perform any kind of illegal activities. If you do not have appropriate permissions to move a file then DO NOT TOUCH IT. These file transfer methods should not be considered a secure way of transferring files. Some methods shown below may use encryption. Not all of them do. Use these at your own risk.
Contents of "upload.php" file below