dajobe / flickcurl

Flickr C API library

Home Page:http://librdf.org/flickcurl/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hello, i have a upload problem~

goxofy opened this issue · comments

commented

i install this app on the archlinux via AUR.
but when i upload a pic the console shows

tink@arch>:~/1>flickcurl upload 1.jpg
flickcurl: Uploading file 1.jpg
flickcurl: ERROR: Call failed with error 0 - (null) (HTTP 401)
flickcurl: Command upload failed

i dont know why.

thanx!

What version of Flickcurl are you using?

commented

maybe 1.24

tink@arch>:~>flickcurl
Flickr API utility 1.24
Flickcurl home page: http://librdf.org/flickcurl/
Copyright (C) 2007-2012 David Beckett - http://www.dajobe.org/
License: LGPL 2.1 or newer, GPL 2 or newer, Apache 2.0 or newer.
See http://librdf.org/flickcurl/ for full terms.

Try `flickcurl --help' for more information.

You should try 1.25 which fixes this upload issue.

commented

the flickcurl on AUR is 1.24 , i dont know how to compline 1.25 on archlinux....

I don't think I can help you with ArchLinux support, I've never used it. You can build flickcurl from source if you like. As far as I know, this issue is fixed in 1.25. I'll close this bug for now, reopen if it's not working with 1.25 thanks.

commented

i update the flickcurl to 1.25 and it works well now 👍

thank you very much!

commented

and also, i hope the flickcurl could upload a photo to a set with PARAM,thx!

The upload API http://www.flickr.com/services/api/upload.api.html does not support that; you need to add it to a set in a separate call once you have got the photo uploaded. The flickcurl utility is not intended to be the best uploading tool, it's more a utility / demo that the flickcurl API is complete and working. Having said that, if you want to write a patch, go ahead - fork the project and make a pull request.

commented

Thank you all anyway. :)