FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Asynchronous FTP Upload
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Asynchronous FTP Upload [message #172053 is a reply to message #172050] Fri, 28 January 2011 15:29 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 1/28/2011 10:12 AM, duderion wrote:
> hi guys,
>
> could anyone tell me how i can handle an ftp upload to several servers
> at once?
>
> I found fb_nb_put, but i dont know how to combine 5 connections with
> this.
>
>
> any help would be nice :)
>
> dude

You'll need to open 5 different streams and start each transfer. Keep
track of the status of each transfer in an array and loop while any of
them need to continue. In the loop, continue those which have not finished.

Not sure what this is going to do though for you though, other than take
a lot of unnecessary CPU because you're effectively polling constantly.
Why don't you just upload each file individually?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: help to debug a simple php preg_replace
Next Topic: REQ: Looking for a script program called paCheckbook
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 29 23:25:17 GMT 2024

Total time taken to generate the page: 0.04434 seconds