upload plugin
C++ Prolog
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE.txt
README.md
UploadPlugin.pro
uploadinterface.h
uploadplugin.cpp
uploadplugin.h

README.md

Qt Upload Plugin

Resumable Qt upload plugin.

See UploadInterface for plugin methods and signals

This plugin implement:

How to use

1. Load plugin using QPluginLoader

2. Set plugin parameters:

uploader.setQueueSize(size)
uploader.setChunkSize(size)
uploader.setPatchVerb(patchVerb)
uploader.setUploadProtocol(protocol)
uploader.setUploadUrl(uploadUrl)

alternatively one can use

uploader.setDefaultParameters();

3. Start upload using append

uploader.append(filepath);

Example

PluginHost project shows examples how to use upload plugin. Clone the project in the same directory as the plugin.