ftp_connect
���������� ����������� � FTP-�������.
��������� :
int ftp_connect(string host [, int port])
� ������� ftp_connect() �������� host ��������� ��� �������, � �������� ������������ �����������, � �������������� �������� port ��������� ����� ���� ����� ������������ (�� ��������� ��� 21).
������� ���������� ���������� ������ FTP ��� false � ������ ������.
���������� ����������� � FTP-�������.
��������� :
int ftp_connect(string host [, int port])
� ������� ftp_connect() �������� host ��������� ��� �������, � �������� ������������ �����������, � �������������� �������� port ��������� ����� ���� ����� ������������ (�� ��������� ��� 21).
������� ���������� ���������� ������ FTP ��� false � ������ ������.
ftp_pasv
���������� ������������ ����������� ������.
��������� :
int ftp_pasv(int ftp_stream, int pasv)
������� ftp_pasv() ���������� ������������ ������ ����������� � ���������, � ������, ���� �������� pasv ����� true. ���� false - �� ����� ����������� ����� ��������.
� ��������� ������ �������� ������ ������������ ��������, � � �������� - �������� (��� ������ ���������� ��� ���������� ������ � �������).
������� ���������� true ��� false ��� ������.
���������� ������������ ����������� ������.
��������� :
int ftp_pasv(int ftp_stream, int pasv)
������� ftp_pasv() ���������� ������������ ������ ����������� � ���������, � ������, ���� �������� pasv ����� true. ���� false - �� ����� ����������� ����� ��������.
� ��������� ������ �������� ������ ������������ ��������, � � �������� - �������� (��� ������ ���������� ��� ���������� ������ � �������).
������� ���������� true ��� false ��� ������.
ftp_login
���������� ���� �� ������ FTP.
��������� :
int ftp_login(int ftp_stream, string username, string password)
������� ftp_login() ���������� ����������� � ������� ��� ������ username � ������� password. ���������� true ��� false ��� ������.
���������� ���� �� ������ FTP.
��������� :
int ftp_login(int ftp_stream, string username, string password)
������� ftp_login() ���������� ����������� � ������� ��� ������ username � ������� password. ���������� true ��� false ��� ������.
ftp_quit
���������� ���������� ������ FTP.
��������� :
int ftp_quit(int ftp_stream)
���������� ���������� ������ FTP.
��������� :
int ftp_quit(int ftp_stream)
ftp_pwd
���������� ����������� �������� ��������.
��������� :
int ftp_pwd(int ftp_stream)
��� ������� ���������� ������� ������� FTP-������� ��� false ��� ������.
���������� ����������� �������� ��������.
��������� :
int ftp_pwd(int ftp_stream)
��� ������� ���������� ������� ������� FTP-������� ��� false ��� ������.
ftp_cdup
���������� ������� � �������� �������.
��������� :
int ftp_cdup(int ftp_stream)
������� ���������� true ��� false ��� ������.
���������� ������� � �������� �������.
��������� :
int ftp_cdup(int ftp_stream)
������� ���������� true ��� false ��� ������.
ftp_chdir
���������� ������� � �������.
��������� :
int ftp_chdir(int ftp_stream, string directory)
������� ���������� true ��� false ��� ������.
���������� ������� � �������.
��������� :
int ftp_chdir(int ftp_stream, string directory)
������� ���������� true ��� false ��� ������.
ftp_mkdir
���������� �������� ��������.
��������� :
int ftp_mkdir(int ftp_stream, string directory)
������� ���������� ��� ���������� �������� ��� false ��� ������.
���������� �������� ��������.
��������� :
int ftp_mkdir(int ftp_stream, string directory)
������� ���������� ��� ���������� �������� ��� false ��� ������.
ftp_rmdir
���������� �������� ��������.
��������� :
int ftp_rmdir(int ftp_stream, string directory)
������� true ��� false ��� ������.
���������� �������� ��������.
��������� :
int ftp_rmdir(int ftp_stream, string directory)
������� true ��� false ��� ������.
ftp_nlist
���������� ��������� �������� ��������.
��������� :
int ftp_nlist(int ftp_stream, string directory)
������� ftp_nlist() ���������� ������ �������� ���� ��� false ��� ������.
���������� ��������� �������� ��������.
��������� :
int ftp_nlist(int ftp_stream, string directory)
������� ftp_nlist() ���������� ������ �������� ���� ��� false ��� ������.
ftp_rawlist
��������� ���������� �������� ��������.
��������� :
int ftp_rawlist(int ftp_stream, string directory)
������� ftp_rawlist() ��������� FTP-������� LIST, � ���������� ��� ���������� � �������, ��� ������ ������� ������������� ������ ������ "��� ����". ������������� ���� �������, ������������ ftp_systype(), ����� ���� ����������� ��� ����������� ����, ��� ������� ���������������� ����������.
��������� ���������� �������� ��������.
��������� :
int ftp_rawlist(int ftp_stream, string directory)
������� ftp_rawlist() ��������� FTP-������� LIST, � ���������� ��� ���������� � �������, ��� ������ ������� ������������� ������ ������ "��� ����". ������������� ���� �������, ������������ ftp_systype(), ����� ���� ����������� ��� ����������� ����, ��� ������� ���������������� ����������.
ftp_systype
���������� ��������� ������������� ���� FTP-�������.
��������� :
int ftp_systype(int ftp_stream)
������� ���������� ��������� �������� ��� false � ������ ������.
���������� ��������� ������������� ���� FTP-�������.
��������� :
int ftp_systype(int ftp_stream)
������� ���������� ��������� �������� ��� false � ������ ������.