Maintaining Uploaded Files

We can upload files and link to them.  And we can remove or change the link.  But when we no longer need the file we cannor remove them, nor can we rename the file.  How about creating a dialog box that allows us to remove obsolete and unneeded files, or rename them?  It seems a labor intensive waste of your time to have us request you to remove them for us.  I understand we may accidently remove an active file and break a link.  Oopsie my bad!  But we are responsible for the links we should have the ability to manage the files too.

1,026 Views
Message 1 of 3
Report
2 REPLIES 2

@AlG You're quite right that there should be a file manager of some type. You can nominally brew your own solution to this problem by using your site's Assets folder.

  1. In the Site Editor, click Theme then click the "Edit HTML/CSS" button at the bottom of the left-hand sidebar. This will take you to the Code Editor.
  2. In the left-hand sidebar of the Code Editor page, scroll down until you find the "Assets" section. Within Assets, you'll be able to add files. To do so, click the "+" sign to the immediate right of the Assets label and select the file upload option from the drop list. Select all the files you wish to upload from a location on your hard drive.
  3. When you've completed the file(s) upload, click the "Save" button in the upper-right corner of the page and you'll return to the Site Editor.

Now you can add links to any of your uploaded files. The address of each file will follow this url format:

yoursite.com/files/theme/yourfile.filetype

where you replace "yoursite.com" with your site's url and "yourfile.filetype" with the name and file type of your file (e.g., jsmith-resume.pdf).

To manually create a link to an uploaded file in the Assets folder, you can use regular text or a button or an image or any Weebly element that allows a link. You use the "website url" link option and specify the file link address noted above.

This method is a bit more work than simply using the file link method that wraps up the link creation and file upload in one step, however, with this approach, you have complete control over your uploaded files (they can be renamed or deleted easily). Additionally, if you want to segregate your files into different folders, you simply create folders under your Assets folder (click the "+" sign to the right of the Assets label and select the create folder option) and upload your files into the desired folders. In the case of a file uploaded into a custom folder under the Assets folder, the url format will look like this:

yoursite.com/files/theme/yourfolder/yourfile.filetype

1,018 Views
Message 4 of 3
Report

Thanks for the "work around".  This may help me on a going forward basis.  However, establishing a link to files I upload is not my issue.  As you pointed out, there are several methods to do this.  Each time a link is set up or changed, it gives an option to upload a new file.  I am not sure if uploading will overwrite an existing file without warning, or isimply alter the file name to prevent overwriting, or if it gives a warning.  This will be easy for me to determine through simple tests.

But does not help with the myriad of files that have been uploaded over the past 5 years.  I do not even know the names of those files.  And I have no methof to manage them.  What I wish to do, is remove them as they are wasted space.  The create a link process pops up a dialog box that lists existing files.  but that box is too narrow to display the complete file name.  In order to see the name you need to complete the link.  Then it shows up in the properties, and is hidden from public view.

In order to remove the files, apparently I must discover and record a list of file names then send that to the developers so they can remove them.  I appreciate their help, but this is needless routine work for them.

978 Views
Message 4 of 3
Report