PageSourceSearch

https://cloudstorage.tools/_next/static/chunks/app/(home)/tools/dr…?dpl=dpl_AMBrUBS4debsVjZ3AtYv14A3wdyD

js cloudstorage.tools collected 2026-09-24 14:28:11 UTC 9,803 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[259],{2369:function(e,r,i){Promise.resolve().then(i.bind(i,1455))},1455:function(e,r,i){"use strict";i.r(r),i.d(r,{default:function(){return u}});var t=i(7437);i(2265);var n=i(5810),o=i(9424),l=i(6003),a=i(6691),s=i(2586),d=i(1054),c=i(2009),h=i(7698);function u(){let{shareLink:e,directLink:r,hasError:i,errorMessage:u,isCopied:p,handleShareLinkChange:x,handleClear:g,handleGenerate:k,handleCopy:f}=(0,h.Z)("dropbox"),m=[{id:1,type:"timeline",title:"How to get a Dropbox share link?",content:[{id:1,content:(0,t.jsxs)(t.Fragment,{children:["Hover over the file or folder you’d like to share and click"," ",(0,t.jsx)("strong",{children:"Share"}),"."]}),imageUrl:"/instruction/dropbox-direct-link-generator/step1.png"},{id:2,content:(0,t.jsxs)(t.Fragment,{children:["Click ",(0,t.jsx)("strong",{children:"Copy link"}),". The link will be copied to your clipboard."]}),imageUrl:"/instruction/dropbox-direct-link-generator/step2.png"}]},{id:2,type:"text",title:"What is Dropbox Direct Link Generator?",content:(0,t.jsx)(t.Fragment,{children:"Dropbox Direct Link Generator is a tool that converts Dropbox file sharing links into direct download links. This allows users to download files directly without needing to navigate through Dropbox’s website."})},{id:3,type:"text",title:"What is a Dropbox direct link?",content:(0,t.jsx)(t.Fragment,{children:"A Dropbox direct link is a URL that enables users to download a file directly from Dropbox without visiting the file-sharing page. It simplifies the process of file sharing by providing a seamless one-click download experience."})},{id:4,type:"text",title:"How does it work?",content:(0,t.jsxs)(t.Fragment,{children:["The tool works by taking the standard Dropbox sharing link, which typically ends in ",(0,t.jsx)(c.Z,{children:"dl=0"}),", indicating that the file is set for preview mode. When you paste your Dropbox file link into the tool, it automatically detects this part of the URL and modifies it to"," ",(0,t.jsx)(c.Z,{children:"dl=1"}),", converting the link into a direct download link."]})}];return(0,t.jsxs)(n.Z,{align:"center",children:[(0,t.jsx)(l.Z,{title:"Dropbox Direct Link Generator",description:"Generate direct download links for files hosted on Dropbox. Share files with ease.",toolName:"Dropbox Direct Link Generator"}),(0,t.jsx)(n.Z,{width:"100%",children:(0,t.jsx)(o.Z,{padding:6,children:(0,t.jsxs)(n.Z,{direction:{s:"column",l:"row"},gap:6,align:"center",children:[(0,t.jsx)(s.Z,{shareLink:e,hasError:i,label:"Dropbox share link",placeholder:"https://www.dropbox.com/scl/fi/your_file_id/your_filename?rlkey=your_rlkey&st=your_key&dl=0",errorMessage:u,onShareLinkChange:x,onClear:g,onGenerate:k}),(0,t.jsx)(a.Z,{directLink:r,isCopied:p,onCopy:f})]})})}),(0,t.jsx)(d.Z,{sections:m})]})}},6003:function(e,r,i){"use strict";var t=i(7437),n=i(7648);i(2265);var o=i(9930),l=i(5810),a=i(6911);r.Z=function(e){let{title:r,description:i,showToolPath:s=!0,toolName:d}=e;return(0,t.jsxs)(l.Z,{width:"100%",paddingTop:16,paddingBottom:16,direction:"column",justify:{s:"start",m:"center"},children:[s&&(0,t.jsxs)(l.Z,{direction:"row",justify:"center",gap:1,children:[(0,t.jsx)(n.default,{href:"/",children:(0,t.jsx)(a.Z,{variant:"body-3",color:"neutral-faded",children:"Tools /"})}),d&&(0,t.jsx)(a.Z,{variant:"body-3",color:"neutral",children:d})]}),(0,t.jsxs)(l.Z,{paddingBlock:6,gap:2,children:[(0,t.jsx)(a.Z,{variant:{s:"featured-3",m:"featured-2"},weight:"medium",align:"center",as:"h1",color:"neutral",children:(0,t.jsx)(o.default,{children:r||"Cloud Storage Tools"})}),(0,t.jsx)(a.Z,{align:"center",weight:"regular",variant:{s:"body-2",m:"body-1"},color:"neutral-faded",as:"h2",children:(0,t.jsx)(o.default,{children:i||"A suite of tools for all your cloud storage."})})]})]})}},6691:function(e,r,i){"use strict";i.d(r,{Z:function(){return h}});var t=i(7437);let n=(0,i(9205).Z)("Keyboard",[["path",{d:"M10 8h.01",key:"1r9ogq"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M14 8h.01",key:"1primd"}],["path",{d:"M16 12h.01",key:"1l6xoz"}],["path",{d:"M18 8h.01",key:"emo2bl"}],["path",{d:"M6 8h.01",key:"x9i8wu"}],["path",{d:"M7 16h10",key:"wp8him"}],["path",{d:"M8 12h.01",key:"czm47f"}],["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}]]);i(2265);var o=i(5810),l=i(6924),a=i(6911),s=i(8172),d=i(1306),c=i(7079);function h(e){let{directLink:r,isCopied:i,onCopy:h}=e;return r?(0,t.jsxs)(o.Z,{grow:!0,gap:4,width:{s:"100%"},children:[(0,t.jsxs)(s.Z,{children:[(0,t.jsx)(s.Z.Label,{children:"Direct link"}),(0,t.jsx)(d.Z,{name:"direct-link",value:r,className:"h-24",resize:"none"})]}),(0,t.jsx)(c.Z,{fullWidth:!0,variant:"faded",onClick:h,children:i?"Copied!":"Copy"})]}):(0,t.jsx)(o.Z,{grow:!0,width:{s:"100%"},align:"center",children:(0,t.jsxs)(o.Z,{align:"center",width:48,gap:2,children:[(0,t.jsx)(l.Z,{size:5,color:"neutral-faded",svg:(0,t.jsx)(n,{})}),(0,t.jsx)(a.Z,{color:"neutral-faded",align:"center",className:"leading-tight",children:"The generated link 
1will be displayed here."})]})})}},2586:function(e,r,i){"use strict";i.d(r,{Z:function(){return d}});var t=i(7437);i(2265);var n=i(7419),o=i(5810),l=i(8172),a=i(1306),s=i(7079);function d(e){let{shareLink:r,hasError:i,label:d,placeholder:c,errorMessage:h,onShareLinkChange:u,onClear:p,onGenerate:x}=e,{ref:g}=(0,n.Z)({"Meta + Enter":x},[r]);return(0,t.jsxs)(o.Z,{direction:"column",gap:4,grow:!0,width:{s:"100%"},children:[(0,t.jsxs)(l.Z,{hasError:i,children:[(0,t.jsx)(l.Z.Label,{children:d}),(0,t.jsx)(a.Z,{name:"share-link",placeholder:c,className:"h-24",resize:"none",value:r,onChange:e=>{let{value:r}=e;return u(r)},attributes:{ref:g}}),i&&(0,t.jsx)(l.Z.Error,{children:h})]}),(0,t.jsxs)(o.Z,{width:"100%",direction:"row",gap:4,children:[(0,t.jsx)(o.Z.Item,{grow:!0,children:(0,t.jsx)(s.Z,{fullWidth:!0,variant:"outline",onClick:p,children:"Clear"})}),(0,t.jsx)(o.Z.Item,{grow:!0,children:(0,t.jsx)(s.Z,{fullWidth:!0,variant:"faded",onClick:x,children:"Generate"})})]})]})}},1054:function(e,r,i){"use strict";i.d(r,{Z:function(){return h}});var t=i(7437),n=i(3145);i(2265);var o=i(5810),l=i(6911),a=i(522),s=i(5740),d=i(9424);function c(e){let{title:r,items:i}=e;return(0,t.jsxs)(o.Z,{gap:6,children:[(0,t.jsx)(l.Z,{variant:"featured-3",children:r}),(0,t.jsx)(a.Z,{children:i.map(e=>(0,t.jsx)(a.Z.Item,{markerSlot:(0,t.jsx)(s.Z,{size:"large",rounded:!0,children:e.id}),children:(0,t.jsx)(d.Z,{padding:6,children:(0,t.jsxs)(o.Z,{direction:"column",gap:4,children:[e.imageUrl&&(0,t.jsx)(o.Z,{children:(0,t.jsx)(n.default,{src:e.imageUrl,alt:"Step ".concat(e.id),width:0,height:0,sizes:"100vw",className:"w-full h-auto rounded-md",draggable:"false"})}),(0,t.jsx)(l.Z,{variant:"body-2",children:e.content})]})})},e.id))})]})}function h(e){let{sections:r}=e;return(0,t.jsx)(o.Z,{paddingTop:20,align:"start",gap:12,width:{l:"80%"},as:"section",children:r.map(e=>(0,t.jsx)(o.Z,{width:"100%",children:"timeline"===e.type?(0,t.jsx)(c,{title:e.title,items:e.content}):(0,t.jsxs)(o.Z,{gap:4,children:[(0,t.jsx)(l.Z,{variant:"featured-3",as:"h3",children:e.title}),(0,t.jsx)(l.Z,{variant:"body-2",as:"p",children:e.content})]})},e.id))})}},2009:function(e,r,i){"use strict";var t=i(7437);i(2265),r.Z=e=>{let{children:r}=e;return(0,t.jsx)("span",{className:"font-mono bg-neutral-faded rounded-lg px-1 py-0.5",children:r})}},7698:function(e,r,i){"use strict";var t=i(3974),n=i(2265);r.Z=e=>{let r=e=>{switch(e){case"dropbox":return"Dropbox";case"google":return"Google Drive";case"onedrive":return"OneDrive";case"box":return"Box"}},i={EMPTY_LINK:"Please enter a ".concat(r(e)," share link"),INVALID_LINK:"Invalid ".concat(r(e)," share link")},[o,l]=n.useState({shareLink:"",directLink:"",hasError:!1,errorMessage:"",isCopied:!1}),[,a]=(0,t.m9)(),s=(0,n.useCallback)(e=>{l(r=>({...r,hasError:!0,errorMessage:e,directLink:""}))},[]),d=(0,n.useCallback)(()=>{l(e=>({...e,hasError:!1,errorMessage:""}))},[]),c=(0,n.useCallback)(e=>{l(r=>({...r,shareLink:e})),d()},[d]),h=(0,n.useCallback)(()=>{l({shareLink:"",directLink:"",hasError:!1,errorMessage:"",isCopied:!1})},[]),u={dropbox:e=>{if(e.includes("https://www.dropbox.com")&&e.includes("dl=0")){let r="";return e.includes("/scl/fo/")?r=e.replace(/(&dl=)[0-9]/,"&dl=1"):e.includes("/scl/fi/")?r=e.replace(/(&dl=)[0-9]/,"&dl=1"):e.includes("/s/")&&(r=e.replace(/(\?dl=)[0-9]/,"?dl=1")),{link:r,error:!1}}return{link:"",error:!0}},google:e=>{var r;let i=null===(r=e.match(/\/file\/d\/([^/]+)/))||void 0===r?void 0:r[1];return i?{link:"https://drive.google.com/uc?export=download&id=".concat(i),error:!1}:{link:"",error:!0}},onedrive:e=>
1{let r=e.match(/^https?:\/\/1drv\.ms\/[a-z]+\/([sS]![^?]+)/);if(r){let e=r[1];return{link:"https://api.onedrive.com/v1.0/shares/".concat(e,"/root/content"),error:!1}}return e.includes("onedrive.live.com")?{link:e.replace(/redir\?resid=([^&]+)&authkey=[^&]+/,"download?resid=$1"),error:!1}:{link:"",error:!0}},box:e=>{let r=e.match(/^https?:\/\/app\.box\.com\/file\/(\d+)\?s=([a-zA-Z0-9]+)$/);if(r){let e="f_".concat(r[1]),i=r[2];return{link:"https://app.box.com/index.php?rm=box_download_shared_file&shared_name=".concat(i,"&file_id=").concat(e),error:!1}}return{link:"",error:!0}}},p=r=>{r=r.trim().replace(/\/$/,"");let i=u[e];return i?i(r):{link:"",error:!0}},x=(0,n.useCallback)(()=>{if(o.shareLink.trim()){let e=p(o.shareLink);e.error?s(i.INVALID_LINK):l(r=>({...r,directLink:e.link,hasError:!1,errorMessage:"",isCopied:!1}))}else s(i.EMPTY_LINK)},[o.shareLink,s]),g=(0,n.useCallback)(()=>{o.directLink&&(a(o.directLink),l(e=>({...e,isCopied:!0})),setTimeout(()=>{l(e=>({...e,isCopied:!1}))},2e3))},[o.directLink,a]);return{...o,handleShareLinkChange:c,handleClear:h,handleGenerate:x,handleCopy:g}}}},function(e){e.O(0,[483,443,748,284,972,110,333,811,971,117,744],function(){return e(e.s=2369)}),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.