question

RajivRanjan-6413 avatar image
0 Votes"
RajivRanjan-6413 asked sadomovalex commented

Unable to download ZIP file from Sharepoint 2013 library in Sharepoint Online.

I have SharePoint Online Page for search the Content from Other Farm (SharePoint 2013 ). There is Some ZIP files available in SharePoint 2013 Library, i wanted to search it in SharePoint Online page. When i clicked on the search button that library Zip file is displayed in my SPO Search Result webpart Page but when I try to download that ZIP file after click on link. It's not downloading. Check the screen shot.

134569-error2.png


office-sharepoint-onlineoffice-sharepoint-server-developmentsharepoint-dev
error2.png (51.8 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @rajivranjan-6413 ,

Welcome to Q&A Forum!

There are the following points need you to confirm the following:

1.Does this page have a custom site template or a custom page layout?

2.If you search the Content from SharePoint 2013 using default common pages( with default site template) in SharePoint Online, will this problem occur?

Thanks

0 Votes 0 ·

1 Answer

sadomovalex avatar image
0 Votes"
sadomovalex answered sadomovalex commented

does "Click here" points to file url in SP2013 doclib or has some javascript handler? If it points to direct file url - is it correct? (you can check it by right click "Click here" link > Copy link > open it in new browser tab).

If it has javascript handler attached try to open browser developer tools (F12) and see will there be any errors in console when you click this link. Also it is useful to check Network tab in developer tools - if request went to SP2013 but failed it will contain details of the response and error response code.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

It's redirect to site url after click on that link & the redirect url is correct because when i try use that link it in browser then it's working. But when i used Right click on that link in SharePoint Online page , it's not downloading after 1 second that new tab was also closed.

I have not used any Script here. Console log details.134660-error3.png


0 Votes 0 ·
error3.png (45.4 KiB)
sadomovalex avatar image sadomovalex RajivRanjan-6413 ·

did you check also Network tab in dev tools? Does it send any request to server when you click the link?

0 Votes 0 ·