I need two scripts to copy files to a web server. A power shell script to copy current user's desktop folder files to a folder on a php web server. And similar script but in DOS command. (batch file).
The powershell script must be able to run even without administrator permissions and the php script must be able to create a folder on the server with the same name as the public ip of the computer running the script.
The dos script must be able to do the same thing and that is to copy the files (and / or folders of the desktop) to the web server (also with command robocopy or similar). As mentioned before, a folder with the public ip of the pc running the script and a subfolder with the name of the user running the script must be created on the web server.
On the web server you can activate any service (it is preferable not to use ftp ... but a more "standard" protocol ... such as webdav? Or we also try with ftp ... but we cannot open non-standard ports on the firewall) .
Is not possible "install" program in local pc but only run script.
The script must be of minimum of row...very essentials command to realize this abobe.