Trợ giúp:Tải lên từ phía máy chủ (server-side upload)

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
This page is a translated version of a page Help:Server-side upload and the translation is 19% complete. Changes to the translation template, respectively the source language can be submitted through Help:Server-side upload and have to be approved by a translation administrator.
Outdated translations are marked like this.

Tập tin được tải lên Wikimedia Commons thường bị giới hạn ở kích cỡ tối đa là 100 MiB (mặc dù bạn có thể tải lên tập tin tận 5 GiB = 5.368.709.120 bytes bằng Trình tải lên và chunked uploading[1]). Tuy nhiên, quản trị viên hệ thống có cách để vượt qua giới hạn trên, và bạn có thể nhờ họ tải lên các tập tin quá lớn nếu cần.

[1]).

However, system administrators have ways to upload files between 100 MiB and 5 GiB, and you may ask for their help if needed.

Điều kiện

  • (Các) địa chỉ URL, phải truy cập được công khai mà không cần đăng nhập hay mật khẩu, gồm:
    • Các tập tin phải được đặt tên đúng cách. Nếu bạn hiểu ý nghĩa của thuật ngữ UTF-8 NFC, thì hãy lưu ý rằng các tên tập tin phải được đặt dưới dạng NFC (nếu bạn không hiểu thì không cần quan tâm)
    • trang miêu tả tập tin (ở dạng mã wiki) cho mỗi tập tin, lưu dưới dạng các file .txt ở bảng mã UTF-8. Chẳng hạn, trang miêu tả cho tập tin có tên Foo.ogv phải được đặt tên là Foo.ogv.txt
  • Sẵn sàng xử lý các vấn đề sau khi tải lên, chẳng hạn như giấy phép hay phần miêu tả tập tin...

Bạn có thể cung cấp cho chúng toi các tập tin dưới dạng file nén ZIP/TAR/TGZ (chúng tôi khuyến khích bạn làm điều này với những bộ dữ liệu lớn gồm nhiều file). Nên sử dụng định dạng nén .tar.gz.

Tiff files

Tiff files are commonly huge. If your tiff file is in uncompressed mode please convert to either the deflate/zip (preferred) or LZW compression method for any file large enough to require a server side upload. One way to convert a file is using the tiffcp program, with the command line tiffcp -c zip:p9 infile.tif outfile.tif

Process

Please file a request on Phabricator via this link, where a system administrator will process your request. Make sure your Phabricator account is linked to the MediaWiki account you want the upload made under. (See more information on Phabricator)

What to do if files represent hundreds of GB to several TB?

Phải làm gì nếu các tập tin nặng từ hàng trăm GB tới vài TB?

Nếu bạn đang định tải lên rất nhiều tập tin dung lượng lớn, chẳng hạn như các tập tin từ một dự án GLAM, một lượng lớn nội dung mà về mặt kĩ thuật thì không thể nào tải lên được, thì bạn có thể sử dụng một ổ cứng để lưu trữ các tập tin đó, cũng làm theo các bước thực hiện như trên.

Once done, open a task on Phabricator, and you will be provided with the address of the datacenter to mail the disk to (don't mail the disk before you receive a confirmation with a tracking number: we need to register the delivery before it's received by the datacenter staff).

You should use FedEx, UPS or DHL as the carrier. We're unable to receive USPS mail.

It will then be added to a shell machine, and processed, as URL requests are.

As this requires extra human handling, this procedure is only for when it's technically not possible to upload files through the network.

Examples of past requests: T50205 (successful), T69477 (failed) – sender declined to use recommended delivery companies.

Xem thêm

Chú thích

  1. a b However, note that a large upload might conflict with other limits such as the PHP worker process timeout for handling a request (cf. T118887).