Sending a file (.PDF) trough whatsapp using HREF only - whatsapp

I'm trying to use the HREF to send a PDF file via whatsapp through my application.
Is it possible?
Thank you

Related

How to send a xlsx file using telegram api

I am trying to send a xlsx file stored in my local directory. I have used telegram api to send a document. But unable to do so. Can someone share me a working sample code snippet.

Opening a saved pdf on client

I am exporting crytsal report to pdf format and saving the pdf on azure cloud. This code is written in web api. I am also able to download the pdf on client. Is there any way with which I can open this saved pdf file on client side by either using server side code or using jQuery. I just want to keep the file open for the user to view.
Maybe you can have a link point to the PDF file address with response header "response-content-disposition": "inline; filename=this.pdf", "response-content-type": "application/pdf". Then I think the browser will launch proper PDF plugin to show it.

How can I get link for HTML files from Google Drive?

I am writing an iOS application, and I have some HTML files stored on Google Drive. I would like to retrieve the HTML file's links.
Any idea to get the HTML link from Google Drive?
If you're unable to hardcode the values of the file's URL, the only alternative is to use the Google Drive API on iOS.

Get download URL from UIWebView for a media file

I'm building an app that comunicate with a Web Service and I'm trying to download files from it.
I found that, after sending an appropriate request to the server, if the link of the UIWebView contains "DownloadFolder", that's the correct download link; sending an async request with that url the download works well for files like .pdf .doc .xls and so on..
The problems came when i send a request for a media file like mp3 mov and so. The webview work well and display the player, but I can't get the url from the webview.
I also noticed that in the consolle is displayed a line like this:
setting movie path: http://xxx.xxx.xxx.xxx/WEBSERVER/DownloadFolder/NAMEOFWEBSERVER/ADMIN/FA29-12-2011-12-57-04-163pitorb45sluo0g455wwc3u55.mp3
That's the URL I want to use for the download. How can i get it from code?
Thanks in advance.

How gmail handles file attachment?

When I select a file to attach in gmail compose screen, It automatically uploads the file to server without page refresh. I looked at the html source code via FireBug and have not seen a n iframe. How do they upload attachments?
Thanks.
There's an example and small write-up here.