---
name: "FtpGetFileW"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/FtpGetFileW"
---

# FtpGetFileW(3w)

## NAME

**FtpGetFileW** (WININET.@)

## SYNOPSIS

BOOL FtpGetFileW\
  (\
   HINTERNET *hInternet*,\
   LPCWSTR   *lpszRemoteFile*,\
   LPCWSTR   *lpszNewFile*,\
   BOOL      *fFailIfExists*,\
   DWORD     *dwLocalFlagsAttribute*,\
   DWORD     *dwInternetFlags*,\
   DWORD\_PTR *dwContext*\
  )

## DESCRIPTION

Retrieve file from the **FTP** server.

## RETURNS

**TRUE** on success **FALSE** on failure

## IMPLEMENTATION

Declared in **"internet.h"**.

Implemented in **"dlls/wininet/ftp.c"**.

Debug channel **"wininet"**.
