本文实例讲述了PHP中FTP相关函数。分享给大家供大家参考,具体如下: <?php set_time_limit(0); //转存本地地址 define( 'STORE_PATH', dirname(__FILE__) . '/../../../../temp_data/test/' ); define('LIST_PATH', STORE_PATH . 'list/'); define('CHAPTER_PATH', LIST_PATH . 'chapter/'); define('DETAIL_PATH', LIST_PATH . 'detail/'); createFol