DSW supports multiple methods for uploading and downloading files. You can select the most appropriate method based on the file size and scenario.
Method overview
For single files of 5 GB or less, you can use one of the following methods:
Upload and download files in a Notebook
NoteThe DSW Notebook file transfer station lets you quickly upload large local files to your DSW instance. This feature is free. You only need to upload a file once to share it across multiple DSW instances under the same RAM user.
For single files larger than 5 GB, we recommend uploading the file to Object Storage Service (OSS) using the Object Storage Service (OSS) SDK or ossutil. You can then mount the OSS bucket to the DSW instance.
Limitations
When uploading files through the Notebook file transfer station, the following limitations apply:
Upload quantity: You can upload a maximum of 5 files at a time. Additional files are queued for upload.
Folder uploads: You cannot upload folders directly. Compress them into a single file before uploading. For more information, see How do I upload or download a folder?.
File expiration: By default, files expire after 7 days. You can extend a file's validity period before it expires. Each extension adds 7 days to the validity period.
Storage capacity: The total storage capacity is 10 GB for up to 1,000 files. You can manually clear files in the file transfer station.
Download path: Files for download must be in the
/mnt/workspace/directory. If a file is not in this directory, copy or move it there first.
Upload and download files in a Notebook
Upload or download data
Area | Upload/Download | Description |
① | Upload | Click
|
② | Download | Right-click the file and select Download to download it to your local machine. |

Manage files in the file transfer station
Click
in the left-side toolbar to open the file transfer station page. On this page, you can view the transfer list or manage your files.
Area | Description |
① | Click |
② | Click
|

Upload and download files in WebIDE
On the WebIDE page, click
in the left-hand toolbar. You can then upload or download data from the file list:
To upload a file: Right-click the destination folder, select Upload, and follow the on-screen instructions.
To download a file: Right-click the target file and select Download.
FAQ
Q: How to upload and download folders?
You cannot upload or download folders directly. Instead, compress them into a single archive file. The DSW Terminal provides a Linux environment where you can use standard Command Line Interface (CLI) tools like tar, gzip, and unzip to compress and decompress files. The following example uses the tar command.
Run the
tar --versioncommand to check whether tar is installed. If it is not installed, use one of the following commands to install it.# Command to install tar on a Debian-based system (such as Ubuntu) sudo apt install tar # Command to install tar on a Red Hat-based system (such as CentOS or Fedora) sudo yum install tarCompress or decompress a folder.
# Compress a folder. /path/to/directory is the folder to be compressed. tar -cvf archive_name.tar /path/to/directory # Decompress a folder tar -xvf archive_name.tar
Q: What should I do if clicking "Download" does not respond or the download fails?
This issue usually results from network congestion or browser-related problems. Try the following solutions:
Wait a few moments. Large files may take longer to begin downloading.
Switch to a different browser or retry the download in your browser's incognito mode.
For large files (for example, over 200 MB) or on an unstable network connection, we recommend downloading the file by mounting an OSS bucket.
Q: What should I do if I get a "file transfer station is full" error?
The total storage capacity of the file transfer station is 10 GB. To free up space, you must open the management page and clean up files in the file transfer station. If the page does not update immediately, try refreshing your browser.
Q: Why am I redirected to the file transfer station when uploading a file?
This is expected behavior. To ensure stable and fast uploads, all files larger than 10 MB are automatically transferred through the file transfer station and then saved to your instance upon completion.
Q: How to upload and use large files or datasets in DSW?
The system disk of a DSW instance has limited space and is intended for temporary storage. Avoid uploading large files or large datasets directly to the instance. Instead, upload the data to Alibaba Cloud Object Storage Service (OSS) and then mount it to your DSW instance for use.