Remove download files from the controller

The files from Home than click download there is no trashcan option or delete that I’ve found.

1 Like

You don’t do it from the ‘upload’ button. you do it via the trash can icon.

The files that Tyler is talking about are on the Desktop of the Pi. If you hit Desktop on the left side of the screen it brings you to the Download folder. I think they are accidentally downloaded my clicking the File download button I have (4) files in my download folder that are not in the drop down menu to delete. I have clicked on one and loaded it to the controller, then clicked the trash can and it deletes it from the loaded file but when I return to the Download folder the file is still there.

5 Likes

Ding ding he is correct it’s what I’ve been saying they are downloaded to the controller there is no delete button… thank you now can someone help me just clean up so I can organize my files on my controller.

3 Likes

Every time I turn on my controller there is a G Code loaded for a waste board. I select it and delete it and its gets deleted but when I turn off my controller and start up again the next day that file shows up again. I can always delete it but it always comes back whenever I restart the controller. Is the a way to permanently delete it?

So I guess I have to do these confusing steps

Or just ignore the files in the incorrect downloads folder.

You could SSH to the controller and delete them from the terminal, I don’t know if that is any less confusing or dangerous and may result in you re flashing the controller if you do it wrong :wink:

1 Like

I only use the USB to load files so I haven’t had this problem. But has anyone tried using a mouse? I thought I read that a right click on a file in pi will bring up the option to delete the file.

If you press and hold on the touch screen it will pop out the same menu as you would get with a right click.

Looking for the same answer…did you ever get a solution as to how to get files off the Pi download folder?

(It seems that download save button should not exist if you can’t delete the files!)
thanks Bill

1 Like

I contacted onefinity and they said I had to reflash the firmware there is a topic in here to do that. I just live with them in there one day I will get them removed when i have more time in my hands for machine down time.

I am using a mouse and tha has not worked for me.

I have the same issue. I used the download soft key on the controller to download the current file and theres no way to remove them. Like the onefinity test file. its all there but I cant see how to remove any of those files. I can add them but cant remove them. The delete button on the controller main screen seems to only delete the file being ran. I can delete that file and go to the download folder where the onefinity test file is located andthe file I deleted its still there. I came here to read to find out how and it appears im not the only one having that issue. anyone ever figure this issue out yet and how to remove these files or am I wasting my time. Ill be glad to give support the ip address and they can walk me thru it in the control as I watch them do it so ill know how from there on. I hate to bug you all but inquiring minds want to know lol
Iwell i guess for now they dont hurt nothing but I want be downloading anymore until I know I can remove them.

I think this is similar. I have too many dated .json files on the controller and want to get rid of all but the two I use.

OneFinity, how do I do that? They are in the Desktop/Downloaded folder.

Only way to do that from the desktop/download folder is to flash wipe and reinstall the OS: How to reflash the operating system on the Onefinity (Full SD card image)

Have files there does not affect the machine, however.

Isn’t there a way to update the program to where you could delete specific files instead of having to wipe it and reload?

Also didn’t understand your last comment.

My problem is I made Motor changes and save them, tweaking until I got it the way I wanted. So, what file 9.json) will load on reflash?

If the controller is connected to your local network, you can SSH in from another device to remove the unwanted files. A simple program for this is Putty.

image

  • Enter the IP address of your controller into the Host Name field.
  • Select SSH for the Connection Type.
  • Click the Open button to begin the session. Upon connecting the first time, you may receive a security dialog. Yes, trust the host.
  • Enter the default credentials — user: bbmc | pass: onefinity
  • At the prompt, elevate your privileges to super user with the command below (you will be prompted for the same password again).
sudo su
  • Change directory to Downloads location.
cd /home/pi/Downloads
  • Display a listing of all files in the directory (make sure you see what you’re looking for).
ls
  • Remove unwanted files. Replace [filename] with the actual file you want to delete (no braces!). Repeat as necessary until all unwanted files are removed. TAB can be used to autocomplete filenames if the partial filename is unique. If the filename contains special characters, escape any special characters with a backslash or surround the entire filename with quotes.
rm [filename]
# Simple example  [filename = onefinity-20220915.json]
rm onefinity-20220915.json

# Example with special characters  [filename = onefinity-20220915 (1).json]
# These commands produce the same result. Only one is required, not both.
rm onefinity-20220915\ \(1\).json
rm "onefinity-20220915 (1).json"
  • Exit super user elevation.
exit
  • Close the terminal session.
exit

EDIT: This can also be done directly from the controller (without requiring SSH) if you have an attached keyboard and monitor. Hold CTRL then individually press t and c in succession to open a terminal window on the controller monitor. Skip directly to the “elevate your privileges” step above.

3 Likes

Thank you so much. I will try that tomorrow morning. I’m hardwired so it should be a breeze. I’ll let you know how it worked.
Is Putty a free program?

Yes, it’s free. I provided a link above at the top of the previous post which will take you directly to the downloads page.

2 Likes