Jump to content

Need to upload folder/files

Recommended Posts

Hi. I'm trying to use an audio mixer app on my site (audiomixer.io). To make it work, I need to have audio files with a URL under my domain. I need to simply upload a folder with the files to my file storage so the script can request them. Support said that's not available any more (It was in like SS4) but that I may be able to in Developer Mode.

Is this possible?

Link to comment
  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

You can upload mp3 files to your site using the file upload feature, where they will appear in the /s/ folder under your domain. 

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™.
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Buy me a coffee

Link to comment
12 minutes ago, Johnnydrummr said:

So the url would be 

http://domain.org/s/file?

Yes but....Squarespace can make some weird filename changes when it uploads the file to the CDN. Here's an easy (if annoyingly long!) way to determine the filename(s):

  1. Create a temporary blank page
  2. Add a word (or words) to the page. Anything will do.
  3. Add the file(s) to the word(s). To do this, click the 'link' icon on the toolbar, then the 'gear' icon, then 'File' followed by the name of the file from the list.
  4. Save the changes to the page.
  5. Right-click the new hyperlink and copy the link to see the name.

In this example, the filename was 17-Dolf+(3m35).mp3 and it became 17-Dolf-3m35.mp3 within the /s/ folder.

image.thumb.png.47fdc8b8700dbcec720b9c5dd2e51af2.png

image.thumb.png.803416a595a0295cde887a79676a6524.png

 

image.thumb.png.73be007af3741d996fa9c1b19506e33b.png

 

image.thumb.png.0b93237d16939f3bb66d273c00605fa4.png

Improve your online store with our extensions.
About: Squarespace Circle Leader since 2017. I value honesty, transparency, appreciation and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™.
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Buy me a coffee

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.