From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a37:a550:: with SMTP id o77mr52034875qke.205.1568428287540; Fri, 13 Sep 2019 19:31:27 -0700 (PDT) X-Received: by 2002:a05:6830:144c:: with SMTP id w12mr24796803otp.110.1568428287086; Fri, 13 Sep 2019 19:31:27 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!feeder4.feed.usenet.farm!feed.usenet.farm!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!85.12.16.69.MISMATCH!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.am4!peer.am4.highwinds-media.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!o24no4724371qtl.0!news-out.google.com!x7ni325qtf.0!nntp.google.com!o24no4724360qtl.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Fri, 13 Sep 2019 19:31:26 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2601:193:4103:71a0:703f:e682:5b00:5211; posting-account=1tLBmgoAAAAfy5sC3GUezzrpVNronPA- NNTP-Posting-Host: 2601:193:4103:71a0:703f:e682:5b00:5211 References: <96ceadae-90dd-4781-9223-3a50ad1668ef@googlegroups.com> <7241c566-26bf-4f66-b808-bb2ddcc5ff10@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <6e41ed01-ad2d-4a51-bc84-36d13be3cafd@googlegroups.com> Subject: Re: libcurl with Ada - how to HTTP POST transfer with large file upload From: Matt Borchers Injection-Date: Sat, 14 Sep 2019 02:31:27 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 2295 X-Received-Body-CRC: 1635601817 Xref: reader01.eternal-september.org comp.lang.ada:57148 Date: 2019-09-13T19:31:26-07:00 List-Id: You are correct Dmitry. Thanks. The multiple examples of code that I look= ed at appeared to set a relative path for the upload folder config. It wou= ld actually make more sense for it to BE relative since it must be under th= e web root. However, as soon as I set the upload folder config to be an ab= solute path, the 500 error code went away. These are the kinds of things that if commented well in the spec, would sav= e people hours of work. A sentence fragment in the spec that said (--must = be absolute path) would have saved me a lot of time an I'd have the same am= ount of hair as I did yesterday. However, I would prefer if the option reco= gnized it as a relative path and prepended the web root folder onto the fro= nt.