diff --git a/upload.go b/upload.go index 861c03b..b7b739f 100644 --- a/upload.go +++ b/upload.go @@ -149,6 +149,8 @@ func uploadRemote(c web.C, w http.ResponseWriter, r *http.Request) { upReq.filename = filepath.Base(grabUrl.Path) upReq.src = resp.Body + upReq.deletionKey = r.FormValue("deletekey") + upReq.expiry = parseExpiry(r.FormValue("expiry")) upload, err := processUpload(upReq)