new_upload_for_file


Description:

[ CCode ( cname = "flickr_proxy_new_upload_for_file" ) ]
public FlickrProxyCall new_upload_for_file (string filename) throws Error

Create a new ProxyCall 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.

Parameters:

this

a valid FlickrProxy

filename

the file to upload

Returns:

a new FlickrProxyCall