troubleshooting Question

Slow file transfer with php and the ftp wrapper

Avatar of geomouchet
geomouchet asked on
PHP
3 Comments1 Solution664 ViewsLast Modified:
I want to retrieve smallish files from a remote ftp server (7k - 20k).  A 7k file takes 1.3 seconds.  Is there any way to speed this up?  There are about 800G of these small files and they will only be retrieved a handful at a time, so I don't want to put them on the web server.
$retrieved_file = file_get_contents( 'ftp://ftptest1:xxxxxxxx@example.org/test_file.txt' );
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros