Exemplo n.º 1
0
void
pcl::DavidSDKGrabber::setLocalAndRemotePaths (std::string local_path,
                                              std::string remote_path)
{
  setLocalPath (local_path);
  setRemotePath (remote_path);
}
CURLEasySession::CURLEasySession(String localPath,
								 String remotePath,
								 bool upload,
								 String username,
								 String password)
{
	handle = CURLManager::getInstance()->createEasyCurlHandle();
	enableFullDebugging (true);
	curl_easy_setopt (handle, CURLOPT_NOPROGRESS, false);

	setLocalFile (File (localPath));
	setRemotePath (remotePath);
	setUserNameAndPassword (username, password);
	beginTransfer (upload);
}