����������
WEB - ������

www.spravkaweb.ru Rambler's Top100
 ï¿½ï¿½ ����������: �������/PHP/FTP.������ �������Ðàñïå÷àòàòü 
�������
�������
����� ���
HTML
JavaScript
VBScript
CSS
Flash
Perl
PHP
MySQL
SSI
VRML
�������������
������
Download
�����
��������
������
�������� ���
�����:
��������
Subscribe.Ru:

PHP

<--����� | ��������� � ������ | ������-->
FTP
������ �������
ftp_get
���������� �������� � FTP-�������.

��������� :
int ftp_get(int ftp_stream, string local_file, string remote_file, int mode)

������� ftp_get() ��������� ���� ��� ��������� remote_file � FTP-������� � �������� ��������� ��� ��� ������ local_file. �������� mode ������������� ����� �������� ����� � ����� ��������� �������� FTP_ASCII(���������) ��� FTP_BINARY(��������, ��������).
������� ���������� true ��� false ��� ������.

ftp_fget
���������� �������� � ������ �����.

��������� :
int ftp_fget(int ftp_stream, string fp, string remote_file, int mode)

������� ftp_fget() ��������� ���� ��� ��������� remote_file � FTP-������� � ��������� ��� � �����, ������� ����� ���������� fp. �������� mode ������������� ����� �������� ����� � ����� ��������� �������� FTP_ASCII(���������) ��� FTP_BINARY(��������, ��������).
������� ���������� true ��� false ��� ������.

ftp_put
���������� �������� ����� �� FTP-������.

��������� :
int ftp_put(int ftp_stream, string remote_file, string local_file, int mode)

������� ftp_put() ��������� ���� �� FTP-������ ��� ������ remote_file. �������� mode ������������� ����� �������� ����� � ����� ��������� �������� FTP_ASCII(���������) ��� FTP_BINARY(��������, ��������).
������� ���������� true ��� false ��� ������.
$upload = ftp_put($ftp_id, "C:\\file.txt", "/file.txt", FTP_ASCII);

ftp_fput
���������� ������ � �������� ����� �� FTP-������.

��������� :
int ftp_fput(int ftp_stream, string remote_file, string fp, int mode)

������� ftp_fput() ������ �������� ���� � ������������ fp �� ����� � ��������� ���� ���� �� FTP-������ ��� ������ remote_file. �������� mode ������������� ����� �������� ����� � ����� ��������� �������� FTP_ASCII(���������) ��� FTP_BINARY(��������, ��������).
������� ���������� true ��� false ��� ������.

ftp_size
���������� ������ �����.

��������� :
int ftp_size(int ftp_stream, string remote_file)

������� ftp_size() ���������� ������ �����, ��������� � ��������� remote_file, � ������ ��� -1 ��� ������.
�� ��� ������� ������������ ��� �����������.

ftp_mdtm
���������� ����� ��������� ����������� �����.

��������� :
int ftp_mdtm(int ftp_stream, string remote_file)

������� ftp_mdtm() ���������� �����, ��������� �����������, �������������� � ������� Unix, ��� -1 ��� ������.
������ ������� �� �������� � ����������.

ftp_rename
���������� �������������� �����.

��������� :
int ftp_rename(int ftp_stream, string from, string to)

������� ftp_rename() ��������������� ���� from � to.
������� ���������� true ��� false � ������ ������.

ftp_delete
���������� �������� ����� � �������.

��������� :
int ftp_delete(int ftp_stream, string path)

������� ftp_delete() ������� ����, ��� �������� ������ � ��������� path.
������� ���������� true ��� false � ������ ������.

ftp_site
���������� ���������� ������� SITE �� �������.

��������� :
int ftp_site(int ftp_stream, string cmd)

������� ftp_site() �������� ������� ������� cmd.
�.�. ������� SITE �� �����������������, ��� ����� �����������. ������ ��� ������� ��� ��������� ���� ������� � ������ � ��������� ��������������.
������� ���������� true ��� false � ������ ������.
�� ���������� ����� ����� ������� "PHP 4. ����������� ����������."
www.piter.com
������ / � ����������
 
Download
Ñêà÷àòü ñïðàâî÷íèê ïî PHP
��� ������:
05.07.2004
  • � ������� PHP ��������� ��������� ������� ��� ������ � ���������� (���������� GD):
    imagetypes(), ...
  • � ������� JavaScript ��������� �������� �� ����� D, E, F, H, I
  • � ������� ������ ��������� ������, �������������� ��� �������� � html-�������� ��������� MS Office (Word, Excel � �.�.)
  • �����������:
    ��� ��� ������ ����� �� �������� � �����������:
    ��� ��������.
    ������ �� ��������.
    ���� ��������.
    �������� �������� �������.
    �� ��� ������� �������.
    � ����������� ���� ������.
    � ��� ��� �����.
    ������.
    ��������:
    Rambler's Top100
    Ñäåëàòü ñòðàíèöó ñòàðòîâîé ������� �������� ���������
    Äîáàâèòü ñòðàíèöó â èçáðàííîå �������� ���� � ���������
    Ñîîáùèòü îá íàéäåííîé îøèáêå �������� �� ������