ImagingTools Core SDK
IFileTransfer.h
1// SPDX-License-Identifier: LGPL-2.1-or-later OR GPL-2.0-or-later OR GPL-3.0-or-later OR LicenseRef-ImtCore-Commercial
2#pragma once
3
4
5// ACF includes
6#include <istd/IPolymorphic.h>
7
8
9class QUrl;
10
11
12namespace imtcom
13{
14
15
202class IFileTransfer: virtual public istd::IPolymorphic
203{
204public:
232 virtual bool UploadFile(const QString& filePath, const QUrl& url) const = 0;
233
265 virtual bool DownloadFile(const QString& filePath, const QUrl& url) const = 0;
266};
267
268
269} // namespace imtcom
270
271
Interface for file upload and download operations via URLs.
virtual bool UploadFile(const QString &filePath, const QUrl &url) const =0
Upload a local file to a remote URL.
virtual bool DownloadFile(const QString &filePath, const QUrl &url) const =0
Download a remote file to a local path.
Server Communication and Connection Management Module.