curl-library
problem with buildlog upload form
From: Guenter Knauf <eflash_at_gmx.net>
Date: Sun, 20 Jun 2004 14:48:26 +0200
Date: Sun, 20 Jun 2004 14:48:26 +0200
Hi,
I've just tried with curl and uploading a file;
I've setup a perl script on my host and could successfully transfer a buildlog with:
#!/bin/sh
curl -s -F fname=@$1 http://my.private.net/cgi-bin/upload.pl
however if I try this:
#!/bin/sh
curl -s -F file=@$1 http://curl.haxx.se/auto/upload.cgi
I get a 302 back...; any ideas what I'm missing?
I would like to transfer the buildlogs with curl to the form rather than mailing, that's simpler setup for me...
Guenter.
Received on 2004-06-20