开发者

Simultaneously uploading files to multiple ftp with php?

My application is uploading the same content to two storages. Firstly, application uploads files to the first ftp and then to another one. Is is possib开发者_StackOverflowle to upload to both FTP simultaneously?

Thank you


Use ftp_nb_fput and have a loop which calls ftp_nb_continue for both handlers, alternating.


Yes, you need to open two connections for each site to upload files.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜