This shows you the differences between two versions of the page.
uphp:functions:ftp_open [2019/06/28 04:16] admin created |
uphp:functions:ftp_open [2021/09/13 05:57] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ======ftp_open====== | ||
- | |||
- | < | ||
- | |||
- | Open a connection to an FTP server | ||
- | |||
- | ====Description==== | ||
- | |||
- | <well size=" | ||
- | <span style=" | ||
- | <span style=" | ||
- | <span style=" | ||
- | <span style=" | ||
- | <span style=" | ||
- | <span style=" | ||
- | <span style=" | ||
- | <span style=" | ||
- | <span style=" | ||
- | <span style=" | ||
- | <span style=" | ||
- | <span style=" | ||
- | <span style=" | ||
- | <span style=" | ||
- | </ | ||
- | |||
- | Connect to the server and return the response code. | ||
- | |||
- | ====Parameters==== | ||
- | |||
- | < | ||
- | |||
- | < | ||
- | |||
- | < | ||
- | |||
- | < | ||
- | |||
- | ====Return Values==== | ||
- | |||
- | < | ||
- | |||
- | ====Example==== | ||
- | |||
- | <code php> | ||
- | <? | ||
- | $res = ftp_open(" | ||
- | if ($res) { | ||
- | print(" | ||
- | ftp_close(); | ||
- | } | ||
- | ?> | ||
- | </ | ||
- | |||
- | ====See Also==== | ||
- | |||
- | [[ftp_close()]] - Close an FTP connection | ||
- | |||