writing to a text file on a webpage

hello my problem is simple i can’t write to a text file (using http request methods such as POST or PUT HTTP1.1 )that has world read and write permissions.So i am trying with the write function the client class however i am not sure how to proceed since there is not a lot of documentation.I tired this but it does not work.

I am using ethrenet shield the text file is in

https://users.encs.concordia.ca/~xxx/dataText.txt

#include <Ethernet.h>
#include <SPI.h>


byte mac[] = { 0x00, 0xAA, 0xBB, 0xCC, 0xDE, 0x01 }; // RESERVED MAC ADDRESS
EthernetClient client;



void setup() { 
 Serial.begin(115200);

 if (Ethernet.begin(mac) == 0) {
 Serial.println("Failed to configure Ethernet using DHCP"); 
 }

 //pinMode(sound_ain,INPUT);
  Serial.begin(115200);
  
}

void loop(){

 
 if (client.connect("https://users.encs.concordia.ca/~xxx/datatect.txt",80)) {
                   client->write("ddd", 3);
 } 

 if (client.connected()) { 
 client.stop(); // DISCONNECT FROM THE SERVER
   
 }


}

any help is apreciated thank you

First you should read HERE then come back and EDIT your post.

.