ftp_raw

(PHP 5, PHP 7)

ftp_raw — �� FTP ��������������

˵��

ftp_raw ( resource $ftp_stream , string $command ) : array

�� FTP �������������� command��

����

ftp_stream

FTP ���ӱ�ʾ����

command

Ҫִ�е����

����ֵ

������������Ӧ���ַ����������ʽ���ء� ������Ӧ���ݼȲ����������� Ҳ����������Ƿ�ִ�гɹ���

����

Example #1 ʹ�� ftp_raw() ��¼Զ�� FTP ������

<?php
$fp 
= ftp_connect("ftp.example.com");

/* ��ͬ��
   ftp_login($fp, "joeblow", "secret"); */
ftp_raw($fp, "USER joeblow");
ftp_raw($fp, "PASS secret");
?>

�μ�

  • ftp_exec() - ��������һ�� FTP ����