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-�������.
��������� :
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 ��� ������.
���������� �������� � ������ �����.
��������� :
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 ��� ������.
���������� �������� ����� �� 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-������.
��������� :
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 ��� ������.
�� ��� ������� ������������ ��� �����������.
���������� ������ �����.
��������� :
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 ��� ������.
������ ������� �� �������� � ����������.
���������� ����� ��������� ����������� �����.
��������� :
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 � ������ ������.
���������� �������������� �����.
��������� :
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 � ������ ������.
���������� �������� ����� � �������.
��������� :
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 � ������ ������.
���������� ���������� ������� SITE �� �������.
��������� :
int ftp_site(int ftp_stream, string cmd)
������� ftp_site() �������� ������� ������� cmd.
�.�. ������� SITE �� �����������������, ��� ����� �����������. ������ ��� ������� ��� ��������� ���� ������� � ������ � ��������� ��������������.
������� ���������� true ��� false � ������ ������.