[ CCode ( cname = "flickr_proxy_new_upload_for_file" ) ]
public FlickrProxyCall new_upload_for_file (string filename) throws Error
Create a new RestProxyCall
that can be used for uploading.
filename
will be set as the "photo" parameter for you, avoiding you from having to open the file and determine the MIME
type.
Note that this function can in theory block.
See http://www.flickr.com/services/api/upload.api.html for details on uploading to Flickr.
this |
a valid FlickrProxy |
filename |
the file to upload |
a new FlickrProxyCall |