HF RL Explorer

Task: Check if a File Exists at a Remote URL in C

Task: Check if a File Exists at a Remote URL in C: a task in Terminal-Lego-15k (Harbor dataset). Write a C console application that checks whether a file exists at a given remote URL. The program should send an HTTP request to the URL and determine if the resource exists (returns HTTP 200) or does…

The task

Write a C# console application that checks whether a file exists at a given remote URL. The program should send an HTTP request to the URL and determine if the resource exists (returns HTTP 200) or does not exist (returns HTTP 404 or other error status codes).

Part of PrimeIntellect/Terminal-Lego-15k.