Uploading to FileSonic Using cURL

Status
Not open for further replies.
well remove this part
PHP:
   if(!file_exists(dirname(__FILE__).'\fisocookie.txt'))
& let the script login each time, reason i am saying this is, FSO cookies get expired at random time & this script wont work & ppl would start blamming that this script doesnt work :P
 
does not work anyway...

why upload[] ?
$post = array('upload[]' => "@$x");


if:
1302764770-clip-7kb.png

 
& yeah one more thing if u are using this script on Server. Than u would have to change the url from
Code:
www.filesonic.in
to
Code:
www.filesonic.com
 
Thank you for help... all work fine... but very slow... upload speed is very low ...

May be can upload via [censored] ?
 
Last edited:
I don't think u should hard-code the server and mess up with their load balancing system :s
So obviously people will get slower uploads :p
as if everyone will upload with my script :-?

100-200 extra uploads at a particular server at max won't matter -_- and if u're too particular add a random number there..
 
Thanks a lot for the script, however we i run it i get " ERROR - failed creating formpost data" anyone have idea why ?

Same issue here.

Solved:

Change this:
PHP:
$post = array('upload[]' => "@\\path\to\file\$x");
to :
PHP:
$post = array('upload[]' => "@"."$x");
Thanks for this nice little code.
 
Last edited:
Status
Not open for further replies.
Back
Top