Postponed
Project:
HTTP Parallel Request & Threading Library
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
4 Feb 2012 at 13:49 UTC
Updated:
8 Nov 2012 at 23:41 UTC
Comments
Comment #0.0
hass commenteds
Comment #0.1
hass commentedi
Comment #1
mikeytown2 commentedI believe stream_socket_client() will support ftp. It's just a matter of handling the meta data. http has a lot of meta data, I believe ftp doesn't.
2 Things to keep in mind.
http://php.net/stream-get-wrappers
http://php.net/stream-get-transports
Looks like we (drupal core & httprl) are using a transport (tcp) so we need to issue a bunch of write commands. If we were using a wrapper then it would be a little easier to implement, but I probably wouldn't be able to do things in parallel then.
More reading:
http://rohitiyer2109.blogspot.com/2012/02/simulate-file-transfer-protoco...
Comment #2
mikeytown2 commentedThis looks close http://stackoverflow.com/questions/10130892/implementing-an-ftp-client-i... & so does this http://ftp.codeplex.com/
Comment #3
mikeytown2 commentedSomething to think about for a 2.x release.
Comment #3.0
mikeytown2 commentedn