DZ uses the remote attachment function to upload large attachments to the cloud without returning a link

Source: Internet
Author: User
System related: win2003, IIS6.0, mysql5.0, php5.2, DZX3.2, VPS host, using the remote attachment function provided by DZ, there is no plug-in. related settings: the DZ background settings allow uploading attachments of up to MB. PHP-related settings have been greatly changed. symptom: When uploading attachments of less than 5 MB (not refined... system related: win2003, IIS6.0, mysql5.0, php5.2, DZ X3.2, VPS host, using the remote attachment function provided by DZ, there is no plug-in.
Related settings: the DZ background settings allow uploading attachments of up to MB. PHP-related settings have been greatly changed;
Symptom: When an attachment smaller than 5 MB is uploaded (the approximate data of Multiple tests is not accurate), the remote attachment works normally. the attachment is first uploaded to the local server and then transferred to the cloud;
When the attachment size exceeds 5 MB (about data), it can be uploaded to the local server normally. At this time, the post will be loaded for a long time, and the attachment can be uploaded to the cloud, at the same time, the attachments on the local server are not deleted.
However, the cloud does not normally return a link. The post contains only text and no attachments. The result is that there is no attachment link in the post, but both the local server and the cloud have saved a copy. After the background posts are deleted, the local server attachments are automatically deleted, and the cloud still exists.

Reply content:

System related: win2003, IIS6.0, mysql5.0, php5.2, DZ X3.2, VPS host, using the remote attachment function provided by DZ, there is no plug-in.
Related settings: the DZ background settings allow uploading attachments of up to MB. PHP-related settings have been greatly changed;
Symptom: When an attachment smaller than 5 MB is uploaded (the approximate data of Multiple tests is not accurate), the remote attachment works normally. the attachment is first uploaded to the local server and then transferred to the cloud;
When the attachment size exceeds 5 MB (about data), it can be uploaded to the local server normally. At this time, the post will be loaded for a long time, and the attachment can be uploaded to the cloud, at the same time, the attachments on the local server are not deleted.
However, the cloud does not normally return a link. The post contains only text and no attachments. The result is that there is no attachment link in the post, but both the local server and the cloud have saved a copy. After the background posts are deleted, the local server attachments are automatically deleted, and the cloud still exists.

I also have this problem, because the DZ FTP directly used by youpai cloud needs to be retained once, and the traffic is wasted. However, I heard that youpai cloud is developing plug-ins recently and does not know when it will succeed. It is said that the developer directly uploads the file to the server closest to him, and then only returns the connection to the website. I hope I can be satisfied this time, but it will take a long time to wait. My problem is that sometimes the upload to youpai cloud can be successful, and sometimes it cannot be successful locally.

I feel so tired that I will never love you again !!

It is better to buy a cheaper ECs and set up a space for FTP! The bandwidth can be reduced, and CDN can be set for acceleration !!

Use qiniu. I am using qiniu to return the api very quickly ~

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.