> For the complete documentation index, see [llms.txt](https://overleaf-pro.ayaka.space/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://overleaf-pro.ayaka.space/latex/ko/knowledge-base/081-how-to-upload-a-file-using-an-external-url.md).

# 외부 URL을 사용해 파일을 업로드하는 방법

## 소개

이 문서는 다음 기능을 사용하여 외부 호스팅 파일을 Overleaf 프로젝트에 업로드하는 방법을 설명합니다. **외부 URL에서 가져오기** 기능입니다. 먼저 파일 공유 링크와 직접 다운로드 링크를 설명하기 위한 간단한 소개부터 시작합니다.

## 파일 공유 링크(URL)

Google Drive, Dropbox, OneDrive 및 기타와 같은 파일 호스팅 서비스는 사용자가 파일을 안전하게 공유할 수 있도록 해줍니다. 즉, 파일 공유 링크(URL)를 생성해 제공하여 특정 파일에 접근할 수 있는 사람을 제한하고, 부여되는 접근 모드를 보기 전용 또는 편집 가능으로 정합니다. 파일 공유 링크를 받은 뒤 선택하거나 클릭한 사람은 파일에 접근하기 전에 호스팅 서비스에 로그인(인증)해야 할 수 있으며, 또는 파일의 미리보기를 보여 주고 수동으로 다운로드할 수 있는 추가 링크가 있는 “랜딩 페이지”에 도달할 수도 있습니다.

## 직접 다운로드 링크(URL)

중요한 파일 링크(URL) 유형 중 하나는 [직접 다운로드 링크](https://en.wikipedia.org/wiki/Direct_download_link) 이는 인증(로그인) 없이, 중간 랜딩 페이지나 다른 인터페이스를 사용할 필요 없이 파일을 즉시 다운로드할 수 있게 해줍니다. 직접 다운로드 링크를 클릭/선택하면 다운로드 과정이 시작됩니다.

Overleaf의 **외부 URL에서 가져오기** 기능을 사용하려면 Google Drive, Dropbox 또는 OneDrive와 같은 파일 호스팅 서비스에서 제공하는 파일 공유 URL(링크)을 **변환해야 합니다** 직접 다운로드 링크(다른 URL)로, 변환 과정은 호스팅 사이트/클라우드 서비스에 따라 다릅니다. 예를 들어, 다음은 [Dropbox 링크 공유 URL에서 직접 다운로드 링크를 만드는 방법입니다](https://help.dropbox.com/files-folders/share/force-download) (이 글을 작성할 당시의 기준입니다).

## Overleaf의 외부 URL에서 가져오기 기능

특정 파일의 직접 다운로드 링크가 있다면 Overleaf의 **외부 URL에서 가져오기** 기능을 사용해 프로젝트에 업로드할 수 있습니다.

먼저 파일 업로드 아이콘을 선택한 다음 **외부 URL에서 가져오기**:

![Overleaf의 외부 URL에서 가져오기 기능](/files/9319376907f0ac0354d9158f8b1ced4914832aba)

링크를 제공하고 파일 이름을 입력하세요:

* **파일을 가져올 URL**: Google Drive와 같은 파일 호스팅 서비스의 직접 다운로드 링크(URL)를 입력하세요
* **이 프로젝트의 파일 이름**: 업로드된 프로젝트 파일의 이름을 지정하세요. 공백 문자는 포함하지 않아야 합니다

### Google Drive 예시

다음 동영상은 Google Drive 직접 다운로드 링크를 사용하여 프로젝트 파일을 업로드하는 방법을 보여 주며, 원본이 Google Drive에서 업데이트되거나 변경된 경우 프로젝트 파일을 새로 고치는 방법도 보여 줍니다.

{% embed url="<https://videos.ctfassets.net/nrgyaltdicpt/2PMXTshGJI0Kg2ZtN6iXtk/18d4a3168847009a39f905c9acc45e51/Google_drive_upload.mp4>" %}

## 링크 공유 URL을 직접 다운로드 URL로 변환할 때의 참고 사항

독자분들은 다음 사항에 유의하시기 바랍니다:

* 파일 호스팅 서비스는 링크 공유 URL의 구조를 변경하곤 합니다. 예를 들어 [Google Drive 보안 업데이트](https://support.google.com/a/answer/10685032?hl=en). 이러한 변경 때문에 Overleaf가 URL 변환 과정을 완전히 문서화해 제공하기는 현실적으로 어렵습니다. 안내 내용은 게시 직후에도 구식이 될 수 있기 때문입니다. 독자분들은 자신이 사용하는 호스팅 서비스에서 제공하는 최신 문서를 찾아 참고하거나, 최신 기사 또는 YouTube 동영상을 찾아보시기 바랍니다.
* 조직/고용주는 조직의 파일과 리소스를 공유하는 데 사용되는 URL에서 직접 다운로드 링크가 생성되지 않도록 하는 보안 정책/절차를 시행할 수 있습니다. Overleaf에 외부 파일을 업로드하는 데 어려움이 있다면, 해당 파일 공유 서비스의 조직 관리자/담당자에게 문의해 보시기 바랍니다.
* 독자분들은 시크릿/사설 브라우저 창을 사용해 만든 다운로드 링크가 파일 공유 서비스에 로그인하지 않은 상태에서도 작동하는지 확인해 볼 수 있습니다.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://overleaf-pro.ayaka.space/latex/ko/knowledge-base/081-how-to-upload-a-file-using-an-external-url.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
