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.
精彩评论