local args = {...}local url = "http://pegasus.pimpninjas.org/lab/perl/put.pl"local fh = fs.open(shell.dir() .. "/" .. args[1], "r")if nil == fh then error("Failed to open " .. args[1])endlocal req = http.post(url, args[1].."\n"..fh.readAll())fh.close()if nil == req then error("failed")endprint(req.readAll())req.close()