sending pdf attachement through mail using pl-sql - plsql

I am trying to send mail from pl-sql procedure along with a pdf attachement.
this pdf file is stored on our application server.
i have mapped that directory where pdf file is stored in our local db as directory.
now i am trying to send this pdf file as attachement but not able to do so.
Please help

Related

Cannot download PDF stored in Firebase storage using download URL

I uploaded a PDF file to firebase storage and I clicked on the generated Access Token to copy the download URL. I pasted the download URL in the web browser and the PDF opens in the browser. But I actually want the PDF to download instead of opening in the browser. I tried this with other file types such as zip files and when I paste the download URL on the browser it begins to download. I wonder why PDF's do not download?
PDF stored in firebase storage
Getting download URL from access token
Is there any way to make the PDF itself downloadable without compressing it?

How to upload and retreive PDF files

I am doing a project on VB.NET for learning purpose. It's a desktop application with MS SQL server as backend. One of the module is to upload and view PDF documents. I have searched over internet and found that it can be done in two ways, either storing the PDF directly into database or in a directory. I was able to save the document in database but I do not know how to display it within the application.
I am using AxAcroPDF component for display purpose. I came across some websites which said that PDF stored in database cannot be displayed through the AcroPDF but if the files are saved in directory then they can be displayed via file path. If thats the case, I would like to know how to save PDF in directory.
Now, these PDF docs are as per some categories like
Type A will have 4 associated PDF,
Type B will have 5 or 6 associated PDFs.
I don't want to mix up all PDF together in single directory. Is it possible while uploading, a folder can be created dynamically and a PDF associated to the type are saved in that particular folder? So, it will be easier to view PDF of particular type only and not all of the uploaded docs.
But this all will be required if PDF stored in database cannot be viewed by AcroPDF.
I am storing PDF in database as varbinary.
Imports AxAcroPDFLib Imports AcroPDFLib
Public Sub New()
' This call is required by the designer.
InitializeComponent()
AxAcroPDF1.Location.Equals(AxAcroPDF1.LoadFile("C:\path\file.pdf"))
AxAcroPDF1.LoadFile("C:\path\file.pdf")
' Add any initialization after the InitializeComponent() call.
End Sub

How to import ICEDIS file format into sql server database with asp.net file upload

I need to be able to load the ICEDIS file format into sql server database. User should be able to have the ability to "Select file to upload" using file upload control. Then select the file and upload into system. Then integrate into system.
Give me Example or hint.

How can I get the entire download path of report in report server, so that i can manually download .RDL file

I am fetching and displaying all the reports in Report server in a grid
Alongwith View Reports, I also want a Download Report functionality for each report.
How can I download .Rdl file using the download link.
I can give the Download links and download the file using JavaScript.
But, I am not able to get the download path of each report.
Is there a way to get the entire download path of report from Report Server.
Thanks

Save a file/stream to local folder from Response Output stream?

I have an excel file in my Response Output stream. I can Open the stream as a file after a prompt, but it doesn't seem I can save it directly to a specified folder on my client. Is this not possible?
That is correct, you cannot specify where the file is going to be downloaded by the browser. That is controlled by the user.

Resources