| |

VerySource

 Forgot password?
 Register
Search
Author: zlf1135

Failed to delete empty directory circularly? ?

[Copy link]

1

Threads

6

Posts

6

Credits

Newbie

Rank: 1

Credits
6

 China

 Author| Post time: 2020-5-25 17:30:01
| Show all posts
If the deletion is unsuccessful in the loop, the deletion is successful? ? Is there a difference? . .
to del file: D: / AppServ / www / hy / html / 107/1/5

Warning: rmdir (D: / AppServ / www / hy / html / 107/1/5) [function.rmdir]: Permission denied in D:\AppServ\www\hy\del.php on line 48
to del file: D: / AppServ / www / hy / html / 107/1/6

direct to delete file: D: / AppServ / www / hy / html / 107/1/5
delete succeed
Reply

Use magic Report

0

Threads

7

Posts

8

Credits

Newbie

Rank: 1

Credits
8

 China

Post time: 2020-5-28 22:30:01
| Show all posts
Operating system convention: deleting a directory can only delete an empty directory
Reply

Use magic Report

2

Threads

9

Posts

9

Credits

Newbie

Rank: 1

Credits
9

 China

Post time: 2020-6-10 14:00:02
| Show all posts
First clear the files in the directory, then delete the directory, it should be ok
Reply

Use magic Report

0

Threads

26

Posts

15

Credits

Newbie

Rank: 1

Credits
15

 China

Post time: 2020-6-23 09:15:01
| Show all posts
Permission denied

See if there are permissions, and there is no way to delete non-empty directories
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2020|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list