i know with a PHP script i can upload files to a another server via FTP protocol.
But is it possible to upload a file to a another server by using the HTTP protocol?
I mean, that i change the folderpermissions to linux-“777” and my php script can upload a file directly in this folder by using username and password e.g.?
Is this possible or works this only with FTP protocol?
HTTP doesn’t work that way. For uploading a file to another server using HTTP there should be a script on that server that accepts the file and puts it to a particular directory.
So from your side you need to send POST request, and on that side there should be a script that handles it.