| 288 | */ |
| 289 | |
| 290 | inline std::string MyFtpServerConnection::appendPath(const std::string& prefix,const std::string& path) const { |
| 291 | |
| 292 | std::string newpath(path),newprefix(prefix); |
| 293 | |
| 294 | StdStringUtil::trimRight(newprefix,"/"); |
| 295 | StdStringUtil::trimLeft(newpath,"/"); |
| 296 | |
| 297 | return newprefix+"/"+newpath; |
| 298 | } |
| 299 | |
| 300 | |
| 301 | /** |