We can use cURL command to create new directories in a remote FTP Server. To create a new folder we need to send MKD (standard ftp command to make directory) command to the FTP server.
The default user agent of the cURL command is something like curl/7.43.0. But we can customize and set different user agent if we want.
Learn how to see the response headers sent by the web server using the cURL command.
Learn How to Display curl Request Headers – To display curl request headers we need to use the -v option. The cURL verbose option includes both request headers and response headers.