I am using ssh2_scp_send() function to send files on my server. small file with size(less than 10mb) I am able to send successfully but if the file size is greater than 10 mb then it is giving error :
ssh2_scp_send(): Failed copying file in (...)
and file is not going on server. is there any configuration variable I need to change?