0

I want to upload file from Google Drive to my local folder using Javascript.Right now I have code in which I can download file from Google Drive.

But I am unable to move this file from Google Drive to local folder.

Can you give me suggestions to solve my problem? Following code gives me FileId.Now further problem I want to upload file using php. Sample code

6
  • seems server code , not client code Commented Nov 10, 2017 at 9:23
  • It is not possible to do this in pure JavaScript. JavaScript does not have and will never have access to your local filesystem. You would need some kind of local running server or application to do this. Commented Nov 10, 2017 at 9:24
  • Thank you for suggetions. using javascript it return's me file id. now how can I solve this problem by passing file id to php code. Commented Nov 10, 2017 at 9:28
  • answer to your qeustion stackoverflow.com/questions/9623593/… but your question itself needs more details. Why mix javascript with php? Commented Nov 10, 2017 at 10:18
  • also...can you share the code till now please? Commented Nov 10, 2017 at 10:23

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.