! Readfile download local server test is OK, but the file size cannot be identified when uploaded to the Space Server

Source: Internet
Author: User
! Readfile download local server test is OK, but the file size cannot be identified when uploaded to the space server! Readfile download local server test is OK, but uploaded to the space server is unable to identify the file size, I am a newbie, also look high finger point one or two!
 
 
 
 


Reply to discussion (solution)

Is the path correct? Please check

$ FileFile? This $ FileFile is from get or post.
Most servers do not enable automatic conversion of request parameters to variables.
Use $ _ GET ['filefile'] or $ _ POST ['filefile'] to try it out.

And you $ row. this variable is useless.
It is estimated that the file variable is obtained in $ row...

Is the path correct? Please check


The local test can be downloaded. there is no error in the path. you can also enter the path to download it.

Can the local path be the same as the server path?

Can the local path be the same as the server path?


Thanks for your reply. the problem does occur on $ FileFile. the parameter cannot be converted. the get method has been used according to the prompt on the second floor !!!

$ FileFile? This $ FileFile is from get or post.
Most servers do not enable automatic conversion of request parameters to variables.
Use $ _ GET ['filefile'] or $ _ POST ['filefile'] to try it out.


Thanks for your reply. the parameter conversion problem is $ FileFile. The Space server cannot automatically convert the parameter. the get method is used to solve the problem. thank you !!!

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.