OSS FTP (ossftp) lets you access OSS buckets through any standard FTP client. This page explains how to download, install, and configure OSS FTP on Windows, Linux, or macOS.
Prerequisites
Before you begin, ensure that you have:
An Alibaba Cloud account with at least one OSS bucket
A bucket endpoint in the format
BucketName.Endpoint(for example,examplebucket.oss-cn-hangzhou.aliyuncs.com)TCP ports 2048 and 8192 available on the local computer
(If serving other users over the network) Firewall rules that allow inbound traffic on TCP ports 2048 and 8192
Quick start
Download the installation package for your OS (see Download the installation package).
Extract the package to a path that contains no Chinese characters.
Launch OSS FTP for your OS (see Run OSS FTP).
Open
http://127.0.0.1:8192in a browser, enter your bucket endpoint, and click Save config, then Restart.
Download the installation package
OSS FTP 1.2.0 is available for Windows, Linux, and macOS.
Windows
Download ossftp-1.2.0-win.zip.
The Windows package bundles Python 2.7. No separate Python installation is required.
Linux
Download ossftp-1.2.0-linux-mac.zip.
Linux includes Python 2.7 or Python 3.x by default. The package contains only the required dependent libraries.
macOS
Download ossftp-1.2.0-linux-mac.zip.
macOS includes Python 2.7 or Python 3.x by default. The package contains only the required dependent libraries.
Extract the package
Extract the downloaded .zip file to a local directory.
The extraction path must not contain Chinese characters. OSS FTP fails to start if the path includes Chinese characters.
Run OSS FTP
Start OSS FTP for your operating system:
| OS | Action |
|---|---|
| Windows | Double-click start.vbs. |
| Linux | Run bash start.sh. |
| macOS | Double-click start.command. |
On Windows, if OSS FTP does not start, upgrade Internet Explorer to a newer version, or set a different browser as the default.
After OSS FTP starts, it opens two TCP ports on the local computer:
| Port | Purpose |
|---|---|
| 2048 | FTP server — receives FTP requests |
| 8192 | Web server — hosts the graphical management interface |
To serve other users on the network, open both ports in your firewall configuration.
Configure OSS FTP
Open the graphical management interface in a browser:
Device URL Local computer http://127.0.0.1:8192Remote device http://<IP address of the Linux server>:8192Set the configuration parameters:
Parameter Example Description ossftp address127.0.0.1IP address of the client using the FTP service. If the client runs on the local computer, keep the default value. ossftp port2048Port that receives requests for OSS FTP. Keep the default value if it does not conflict with other ports. ossftp passive ports start51000Starting port number of the passive port range. Keep the default value if it does not conflict with other ports. ossftp passive ports end53000Ending port number of the passive port range. Keep the default value if it does not conflict with other ports. ossftp log levelINFOLog output level. Valid values: DEBUG|INFO|WARNING|ERROR|CRITICAL. See Log levels for details.Bucket endpointsexamplebucket.oss-cn-hangzhou.aliyuncs.comEndpoint used to access the bucket, in the format BucketName.Endpoint. Separate multiple endpoints with commas (,).LanguagecnDisplay language for OSS FTP. 
Click Save config, then click Restart for the settings to take effect.
ImportantDo not click Exit. Clicking Exit stops OSS FTP.
Log levels
| Level | Description |
|---|---|
DEBUG | Records detailed information events. Use for debugging. |
INFO | Records events that occur during normal operation. |
WARNING | Records abnormal events that do not affect system behavior. |
ERROR | Records abnormal events that affect the system but not its reliability. |
CRITICAL | Records events that cause OSS FTP to stop working. |