embeddedmz / ftpclient-cpp

C++ client for making FTP requests
MIT License
204 stars 65 forks source link

CTFPClient::ParseURL do not replace [#] to [%23] #52

Closed graceon closed 11 months ago

graceon commented 1 year ago

hi i have a advice if the file name have [#] it dot not work and i found CTFPClient::ParseURL do not process [#]

graceon commented 1 year ago

after i add ReplaceString(strURL,"#","%23"); it work ok

embeddedmz commented 1 year ago

Hi,

In your case, you have to modify the strings before sending them to the API. It is not up to the API to modify the paths, but to the user to provide them in an appropriate encoding (UTF-8).

Regards.