How does a php program batch upload images from one server to another?

Source: Internet
Author: User
How does the php program batch upload images from one server to another? now there is a business that needs to batch upload images from 2003server to linux. how can I kill with php! Wish you a safe life! ------ Solution ------------------ I only used file batch upload. do you store images or image addresses in your database? ------ Solution ------------------ how can I batch upload images from one server to another in two servers of php?
Now there is a business that needs to upload images in batches from 2003server to linux. how can I kill with php? thank you! Wish you a safe life!

------ Solution --------------------
I only used files for batch upload. do you store images or image addresses in your database?
------ Solution --------------------
If there are no ftp accounts on two servers, Direct ftp operations will be faster.
------ Solution --------------------
Discussion

If there are no ftp accounts on two servers, Direct ftp operations will be faster.

------ Solution --------------------
Package wget and decompress
------ Solution --------------------
Scp and sftp are both very fast
------ Solution --------------------
What people want is to use php to transfer .... You have to write the script yourself...
------ Solution --------------------
See what protocols are enabled on the server. Both ftp and http methods are supported.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.