Tried to copy the file HU98373+TRRepr#o4_201702061135_34 from local system to remote destination using curl FTP.
In remote system it has created file with HU98373+TRRepr but not HU98373+TRRepr#o4_201702061135_34. I don't know why it is not considering '#' character
Please check the below code.
remoteFileUrl = ftp://IPADRESS/HOME/HU98373+TRRepr#o4_201702061135_34.tmp/C20170206.1135-20170206.1140
curl_easy_setopt(m_CurlSessionHandle, CURLOPT_URL, remoteFileUrl);
curl_easy_setopt(m_CurlSessionHandle, CURLOPT_UPLOAD, ON);
// Set the input local file handle
curl_easy_setopt(m_CurlSessionHandle, CURLOPT_READDATA, localFileHandle);
// Set on/off all wanted options
// Enable ftp data connection
curl_easy_setopt(m_CurlSessionHandle, CURLOPT_NOBODY, OFF);
// Create missing directory into FTP path
curl_easy_setopt(m_CurlSessionHandle, CURLOPT_FTP_CREATE_MISSING_DIRS , ON) ;
// Set the progress function, in oder to check the stop transfer request
curl_easy_setopt(m_CurlSessionHandle, CURLOPT_NOPROGRESS, OFF);
curl_easy_setopt(m_CurlSessionHandle, CURLOPT_PROGRESSFUNCTION, progressCb);
curl_easy_setopt(m_CurlSessionHandle, CURLOPT_PROGRESSDATA, this);
CURLcode curlOperationResult = curl_easy_perform(m_CurlSessionHandle);
Can any one help me on this