cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: How to login to a website, upload a file and retrieve the link of the uploaded link?

From: Linus Nielsen Feltzing <linus_at_haxx.se>
Date: Tue, 27 Apr 2010 11:17:17 +0200

On 2010-04-27 00:04, sadnem(gmx) wrote:
> I was wondering how could i make this kind of script to the 4 sites I
> use (Netload,hotfile,x7.to and ugotfile) can anyone instrusct me a
> little bit how to do it? (And yes, I´ve read
> http://curl.haxx.se/docs/manual.html,
> http://curl.haxx.se/docs/httpscripting.html and curl --help and I´m
> still a curl newbie)

Hi!

I whipped up a simple perl script to upload a file to hotfile.com,
perhaps it can serve as an example for you.

Call it like this:

$ perl hotfile.pl <filename>

Good luck!

Linus

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2010-04-27