CURLINFO_FTP_ENTRY_PATH.md: this is for SFTP as well

Closes #18531
This commit is contained in:
Daniel Stenberg 2025-09-11 23:46:34 +02:00
parent 16cd81ed69
commit 57b195bf51
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -9,6 +9,7 @@ See-also:
- curl_easy_setopt (3)
Protocol:
- FTP
- SFTP
Added-in: 7.15.4
---
@ -28,7 +29,7 @@ CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_FTP_ENTRY_PATH, char **path);
Pass a pointer to a char pointer to receive a pointer to a string holding the
path of the entry path. That is the initial path libcurl ended up in when
logging on to the remote FTP server. This stores a NULL as pointer if
logging on to the remote FTP or SFTP server. This stores a NULL as pointer if
something is wrong.
The **path** pointer is NULL or points to private memory. You MUST NOT free