ftp_site
ဆာဗာသို့ site command တစ်ခုပို့ပါ။
ftp_site()
function သည်ဆာဗာသို့ site command တစ်ခုပို့သည်။
အဆိုပါ site command ကိုစံမပေးပါ။ ကွဲပြားခြားနားသောဆာဗာကွဲပြားခြားနားသည်။ site command သည်ဖိုင်ခွင့်ပြုချက်သို့မဟုတ်အုပ်စုလိုက်ဆက်ဆံရေးကိုကိုင်တွယ်ရန်အတွက်အသုံးဝင်သည်။
<? PHP $ conn = ftp_connect ( "ftp.testftpp.com" ) သို့မဟုတ် သေဆုံး ( "ချိတ်ဆက်လို့မရဘူး" ) ; FTP_LOGIN ( $ COND , " ert456 " ) , ftp_site ( $ CON , "chmod 0600 sitetest.txt" ) ; ftp_close ( $ con ) ; >
ftp_site ( ftp_connection , command )
တေးရေး | ဖေါ်ပြ |
---|---|
ftp_connection | လိုအပ်ပါတယ် အသုံးပြုမည့် FTP connection ကိုအသုံးပြုပါ (FTP ဆက်သွယ်မှု၏အမှတ်အသား) ။ |
အမိန့် | လိုအပ်ပါတယ် FTP သို့ပို့သော site command ကိုဖေါ်ပြပါ။ |
FTP_Site () function သည် ftp server သို့ parameter command မှသတ်မှတ်ထားသော command ကိုပို့သည်။
အောင်မြင်လျှင်စစ်မှန်တဲ့ပြန်လာပါ,