frog0214 / google-gdata

Automatically exported from code.google.com/p/google-gdata
0 stars 0 forks source link

Additional html contents in text file #642

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
some additional html tags like,
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>

</title></head>
<body>
    <form method="post" action="GoogleDownload.aspx?DocId=150&amp;fileName="asqw23" id="form1">
<div class="aspNetHidden">
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" 
value="+jwQn8kQLv+ggXd" />
</div>

    <div>

    </div>
    </form>
</body>
</html>

 while downloading   text files from gdrive using .net API.

Original issue reported on code.google.com by kkumar....@gmail.com on 19 Dec 2012 at 8:18

GoogleCodeExporter commented 8 years ago
That html code doesn't come from Google Drive but it is probably added by your 
client code. Check the Drive API documentation for the correct way to download 
a file from Drive:

https://developers.google.com/drive/manage-downloads

Original comment by ccherub...@google.com on 19 Dec 2012 at 4:57