从前 is usually used in telling a story. In most occasions, if not all, it can be replaced by 以前。
以前 can be used to ①indicate time before now or a certain time. ② mean 从前 or 以往。
grammatically 从前 can be merely adverb, while 以前can be adverb or preposition(?i'm not sure, in fact we never know the grammar), which means it is correct to say "三天以前" rather than "三天从前"...