| @@ 522-527 (lines=6) @@ | ||
| 519 | ), |
|
| 520 | $FTP->store->get($rename_src_path)); |
|
| 521 | ||
| 522 | if ($ARCurrent->ftp_error) { |
|
| 523 | ftp_Tell(550, $ARCurrent->ftp_error); |
|
| 524 | unset($ARCurrent->ftp_error); |
|
| 525 | } else { |
|
| 526 | ftp_Tell(250, "Rename successfull."); |
|
| 527 | } |
|
| 528 | $rename_src_path = ""; |
|
| 529 | } else { |
|
| 530 | ftp_Tell(550, "Object [".$args."] does already exist."); |
|
| @@ 741-746 (lines=6) @@ | ||
| 738 | $FTP->store->call("ftp.$listMode.delete.phtml", "", |
|
| 739 | $FTP->store->get($target)); |
|
| 740 | ||
| 741 | if ($ARCurrent->ftp_error) { |
|
| 742 | ftp_Tell(550, $ARCurrent->ftp_error); |
|
| 743 | unset($ARCurrent->ftp_error); |
|
| 744 | } else { |
|
| 745 | ftp_Tell(250, "$target removed"); |
|
| 746 | } |
|
| 747 | } else { |
|
| 748 | ftp_Tell(550, "$target does not exist"); |
|
| 749 | } |
|
| @@ 889-894 (lines=6) @@ | ||
| 886 | $ARCurrent->ftp_error="Could not find path $parent"; |
|
| 887 | } |
|
| 888 | ||
| 889 | if ($ARCurrent->ftp_error) { |
|
| 890 | ftp_Tell(550, $ARCurrent->ftp_error); |
|
| 891 | unset($ARCurrent->ftp_error); |
|
| 892 | } else { |
|
| 893 | ftp_Tell(257, "\"$path_requested\" - Directory successfully created."); |
|
| 894 | } |
|
| 895 | break; |
|
| 896 | ||
| 897 | case 'SYST': |
|