dolibarr  7.0.0-beta
Functions
index.php File Reference

Main page for FTP section area. More...

Go to the source code of this file.

Functions

 dol_ftp_connect ($ftp_server, $ftp_port, $ftp_user, $ftp_password, $section, $ftp_passive=0)
 Connect to FTP server. More...
 
 ftp_isdir ($connect_id, $dir)
 Tell if an entry is a FTP directory. More...
 

Detailed Description

Main page for FTP section area.

Definition in file index.php.

Function Documentation

dol_ftp_connect (   $ftp_server,
  $ftp_port,
  $ftp_user,
  $ftp_password,
  $section,
  $ftp_passive = 0 
)

Connect to FTP server.

Parameters
string$ftp_serverServer name
string$ftp_portServer port
string$ftp_userFTP user
string$ftp_passwordFTP password
string$sectionDirectory
integer$ftp_passiveUse a passive mode
Returns
int <0 if OK, >0 if KO

Definition at line 709 of file index.php.

References dol_syslog().

ftp_isdir (   $connect_id,
  $dir 
)

Tell if an entry is a FTP directory.

Parameters
resource$connect_idConnection handler
string$dirDirectory
Returns
int 1=directory, 0=not a directory

Definition at line 809 of file index.php.