rdp-cli
How to Transfer Project Folders to a Remote Desktop over RDP
Moving a complete project folder with nested directories, configuration files, assets, and build output is harder than moving one file. Many users compress the folder, upload it through another service, extract it remotely, and repeat the process to retrieve results.
With rdp-cli, you can use an existing RDP session to upload files or complete folders, process them on a remote Windows desktop, and download the results.
What Is RDP File Transfer?
RDP file transfer uses drive redirection to expose local files through a controlled exchange drive on the remote desktop.
- Select a local file or project folder.
- Upload it to the RDP session exchange drive.
- Open and process the files on remote Windows.
- Save output to a separate result folder.
- Download the completed files or folder.
This works well for source code, documents, spreadsheets, test fixtures, PDFs, images, build output, configuration files, and reports. The directory structure is preserved.
How rdp-cli Improves Basic RDP Drive Redirection
rdp-cli adds:
- File and folder upload and download
- Transfer progress in the CLI, native viewer, and authorized browser viewer
- Cancellation for active transfers
- Explicit confirmation before overwriting files
- Verification of transferred content
- A workflow that works with AI agent desktop automation
Practical Workflow
Before starting, verify that the Windows target is reachable through RDP, drive redirection is allowed, the account has permission, the project contains no unnecessary secrets, and the remote application knows where uploaded files are stored.
Upload the folder to the session exchange drive. An AI agent can then inspect the screen, open the folder, launch a desktop application, and process the files. Typical tasks include opening spreadsheets, running legacy reporting tools, editing PDFs, processing images, generating reports, and executing GUI tests.
After opening the folder, capture a fresh screenshot. A successful upload does not guarantee that the correct files were loaded. The rdp-cli Quick Start guide explains how to verify the current remote screen before acting.
Check Progress and Results
Large folders can contain thousands of files. Monitor whether the transfer is active, complete, failed, or cancelled. When processing finishes, download the result folder and check its directory tree, file count, and expected outputs. Keep input and output folders separate.
VNC and Security Limits
This workflow is designed for RDP. VNC can view and control the screen, but it does not provide the same native folder-transfer workflow.
rdp-cli does not provide unrestricted access to every remote disk. Use a low-privilege account, trusted LAN or VPN, and separate input and output folders. File transfer only moves data; the remote application or AI agent must still open, process, and save the files.
Final Takeaway
rdp-cli provides a practical upload-process-download workflow for remote Windows work:
Upload → process → verify the screen and files → download.
FAQ
Can I transfer an entire project folder over RDP? Yes. The directory structure is preserved.
Can an AI agent process uploaded files? Yes. It can open the relevant Windows application and operate it through the GUI.
Does the same workflow work with VNC? No. Use RDP with drive redirection for folder exchange.
Related Guides
- How to Test a Windows Desktop Application with an AI Agent over RDP
- Automate Windows Apps That Do Not Have an API