How to copy files to awx with WinSCP or Cyberduck
Drag files between your laptop and your awx computer, the way you would with an FTP app. You make a password on the Files tab, then connect from WinSCP, Cyberduck, Windows Explorer or macOS Finder.
The Files tab is fine for one file. For a whole project folder, or files you copy every day, a file app is quicker: you see both sides and drag across. This walk-through shows where to find the address and password, and the settings for each app. If your version of an app looks a little different, the four values are what matter.
What you need
- An
awxcomputer. It can be asleep: it wakes up when the app connects. - A file app on your laptop. On Windows, WinSCP is the easiest; on a Mac, Cyberduck. Both are free. Windows Explorer and macOS Finder also work, with no install.
FTP and SFTP apps cannot connect, because awx computers only take secure web traffic. The apps above use WebDAV, which feels the same: a list of folders you drag files in and out of.
Make a file password
Open your computer and go to the Files tab. Under the file list is a panel called Open these files in a file app. It shows the address and your username. Press Make a password, and copy the password straight away: it is shown only once.
You will need four things: the server box.awanbox.com, the folder from the address (the part from /dav/), your username, and the password.
WinSCP (Windows)
- Open WinSCP. In the Login window, choose New Site.
- Set File protocol to WebDAV and Encryption to TLS/SSL Implicit encryption.
- Host name:
box.awanbox.com. Port number: 443. - User name and Password: your
awxusername and the file password. - Press Advanced, open Environment, Directories, and put the folder in Remote directory, for example
/dav/48746851/. Press OK. - Press Save, then Login.
Your laptop is on the left and the computer’s home folder on the right. Drag files across.
Cyberduck (Windows or Mac)
- Press Open Connection and choose WebDAV (HTTPS) at the top.
- Server:
box.awanbox.com. Port: 443. - Username and Password: your
awxusername and the file password. - Open More Options and put the folder in Path, for example
/dav/48746851/. - Press Connect. To keep it, use Bookmark, New Bookmark.
Windows Explorer
- Open File Explorer, right-click This PC and choose Map network drive.
- In Folder, paste the whole address from the Files tab, starting with
https://and ending with/. - Tick Connect using different credentials and press Finish.
- Sign in with your
awxusername and the file password.
The computer appears as a drive. Explorer can be slow with many small files; WinSCP is quicker.
macOS Finder
- In Finder, choose Go, Connect to Server (Command K).
- Paste the whole address from the Files tab and press Connect.
- Choose Registered User and sign in with your
awxusername and the file password.
Check that it worked
Copy a small file across, then open the Files tab or the terminal on the computer: the file is in /home/agent, owned by you, as if you had made it there. The agent can use it too, for example to put it on a web page.
When you are done
- Stop the computer if you do not need it, or let it sleep: on the Free plan a running computer uses credit by the minute, and the file app wakes it.
- Turn the password off on the Files tab if you will not use the app again, or make a new one if someone else may have seen it.
Common questions
Can I connect to my awx computer with FTP, SFTP or CuteFTP?
Not with FTP or SFTP: awx computers do not accept those connections. Use an app that supports WebDAV over HTTPS, such as WinSCP or Cyberduck, which are free. They work like an FTP app.
Where do I find the address and password?
Open the computer, then the Files tab. The panel Open these files in a file app shows the address and your username, and Make a password gives you the password, once.
I lost the password. What now?
Make a new one on the Files tab. The old one stops working at once, so put the new one in your app.
How big can a file be?
Up to 50 MB per file. For bigger files, use the terminal on the computer or the awx command on your laptop.
Cautions
- The password opens that computer’s files. Keep it in your file app or a password manager, not in a shared document.
- 50 MB per file. For bigger files, use
wget,gitor theawxcommand. - Deleting in the app deletes on the computer. There is no recycle bin. Keep your own copy of anything that matters:
awxis in early alpha.
Keep reading
- Open your computer’s files in a file app (WebDAV)
- How to run awx computers from your terminal
- Back up and restore your awx computer
- How running time and credit work
Getting started
Sign in with your Google account, open a computer, and go to its Files tab.
Awi, signing off.