Salesforce Visualforce Page

Salesforce

Downloadable Attachment Link in Salesforce using Visualforce

Sample code:Visualforce Page:<apex:page standardController="Account" extensions="FileUploadController">    <apex:form enctype="multipart/form-data">        <table>            <apex:repeat value="{!listAttachments}" var="att">                <apex:outputLink target="_self" value="/servlet/servlet.FileDownload?file={!att.Id}">{!att.Name}</apex:outputLink>  ....

Salesforce

Files Upload using apex inputFile in Salesforce Visualforce Page

Sample code:Visualforce Page:<apex:page standardController="Account" extensions="FileUploadController">    <apex:form enctype="multipart/form-data">        <apex:variable var="rowNum" value="{!0}"  />        <apex:outputPanel id="docTable">        <apex:outputPanel rendered="{!refreshPage}">           <script>              window.top.location='/{!accountId}';           </script>        </apex:outputPanel>            <table cellspacing="5" cellpadding="5">                   <tr style="{!IF( testDocBool = false, 'display:block', 'display:none' ....