<i>Normally, when downloading a file from cloud servers, it will be temporarily stored at your server then it will be deleted on your server after downloading completely.</i><b>通常、クラウドサーバーからファイルをダウンロードする場合、ファイルはサーバーに一時的に保存され、完全にダウンロードした後にサーバーから削除されます。</b> <i>However, in some cases, users want to download files directly from cloud servers;</i><b>ただし、場合によっては、ユーザーはクラウドサーバーから直接ファイルをダウンロードしたいことがあります。</b> <i>especially large files without occupying your server bandwidth.</i><b>サーバーの帯域幅を占有せずに特に大きなファイル。</b> <i>This way could expose the direct link of files on cloud servers.</i><b>この方法で、クラウドサーバー上のファイルの直接リンクを公開できます。</b> <i>The link will exist within 4 hours with Dropbox and unlimit with OneDrive .</i><b>リンクはDropboxで4時間以内に存在し、 OneDriveで無制限になりOneDrive 。</b> <i>Furthermore, the bandwidth could be limited by cloud servers.</i><b>さらに、帯域幅はクラウドサーバーによって制限される可能性があります。</b>
詳細については、以下のリンクにアクセスしてください。
https://help.dropbox.com/files-folders/share/banned-links
https://borncity.com/win/2016/06/26/ onedrive -microsoft-limits-data-transfer /
したがって、この問題を解決するには、クラウドサーバーに対応する「wp-config.php」に コードを配置する必要があります。
-Dropbox : define( 'WPFD_DROPBOX_DIRECT'、true);
- OneDriveパーソナル:
( 'WPFD_定義ONEDRIVE _direct'、true)を、
- OneDriveビジネス:
( 'WPFD_定義ONEDRIVE _BUSINESS_DIRECT'、true)を、
注:この機能は、Googleドライブではまだサポートされていません。