PHP للمطور - معمو — الصفحة ٣٧٢

10 : Coding FTP Clients boolean ftp_rmdir(int ftp_link, string directory) 372 التابع ()ftp_rmdir يعيد true عند نجاحه و false عند فشله : و Assure: that we have already connected and authenticated romane dle Directory Sftp_handle, sarectory) ا .sdirectory: could not be removed echo Directory sdirectory was removed) حذفه. نظام بعيد. وإذا كان الدليل يحوي أية ملفات، فلن يتم يحذف دليلاً من boolean ftp_site (int ftp_link, string command) التابع ftp_site false عند فشله : يعيد true عند نجاحه و Assue that we have already connected and subhenticated د أن try to change the permissione // Sectariana = ahmod 0795 pathite/LIDE.EX remote file ftprite (Sftp_handie, Scand or die Command Soommand bould not be run Scotranscad wan tur muccessfully غالباً ما تستخدم يرسل الأمر SITE إلى ملقم FTP. وتتغير الأوامر SITE من ملقم لآخر، وهي لمعالجة أوامر معينة في نظام التشغيل مثل الأمر chmod. وللتحقق من الأوامر SITE التي يدعمها الملقم، شغل الأمر REMOTEHELP على ملقم FTP. int ftp_size(int ftp_link, string filepath) التابع ()ftp_size يعيد حجم و 1. في حال حدوث خطأ: الملف مقدراً بالبايت،
ص٣٧٢

نص مستخرج آليًا من الصورة، وقد يقع فيه خطأ.