What is the telnet command for a factory reset? And if I do a reset then I will be stuck on UVC and will not be able to use ftp to fix whatever it is I did?
Well, maybe your case needs some additional diagnostics:
1) did you by accident completely fill up the FlashBFS drive or append to, instead of adding or overwriting files?
2) did you disconnect USB and unplug the battery, then you wait some moments and re-plug the battery - you press "power on" and wait approx one minute - what did and what does your camera screen show?
3) in this "booted" state plug in the camera to the PC - what IP does the PC interface have, what's the default gateway on that interface
4) try connecting via
4.1) telnet
4.2) ftp
4.3) www
4.4) samba
...to the camera, what are the results - do you get asked for username or password on each of those?
Also note: When connecting the camera after a cold boot directly to the PC without turning it on, then some factory-ftp seems to be running which does not allow a normal login.
Factory reset with a "bricked" camera will be hard to pull off as the UI would be frozen I suppose.