Google drive api for download file from google drive: https://doc-0g-as-docs.googleuserco...601/*/0BwXwyDkfTOQ1MGc1ZXV1WWFaaGc?e=download when we call this link download this file in my local download directory.but we want its saved in server directory or in server location. Help me to do this.
You should be able to do this if you only have the link <?php $filename ='https://doc-0g-as-docs.googleusercontent.com/docs/securesc/ha0ro937gcuc7l7deffksulhg5h7mbp1/4bfrd0iicbaslkeqkla5fjac37lbd4rk/1415080800000/13724799821103842601/*/0BwXwyDkfTOQ1MGc1ZXV1WWFaaGc?e=download'; file_put_contents('/your/server/path/folder/'. basename($filename),// where to save file file_get_contents($filename)); PHP: source: http://stackoverflow.com/questions/...from-a-dynamic-link-and-store-to-local-folder