For anyone that is having the same problem I was having, here is the quick solution.
Response.Write "<script language=javascript>var OxO4239=['" & FilePath & File.FileName & "','" & FilePath & "']; parent.UploadSaved(OxO4239[0x0],OxO4239[0x1]) ;</script>"