There are several ways to get files into Paperspace, depending on the size of the files and the Paperspace product you're using. This article covers the features we've built for this purpose and also suggests some third-party solutions.
SCP (Secure Copy Protocol) is the best way to transfer files into your Linux machine. This can be done both from Windows or Linux. SCP uses Secure Shell (SSH) for data transfer and uses the same mechanisms for authentication, thereby ensuring the authenticity and confidentiality of the data in transit. You will need a public IP for this. From the command line of the machine, you want to transfer from type:
scp -r /localfolder/ paperspace@[publicIP]:./Desktop/
Drag and Drop
Perfect for small files. Drag a file on top of the Paperspace window and upload it to your virtual machine's desktop. This method is not recommended for large files (> 2Gb) and is only supported on Windows VMs.
If you have files stored on another device, you can connect them via USB. USB redirection is available with the Paperspace app for Windows and macOS (Catalina or lower).
Persistent Storage (Available only on Gradient V1)
Persistent Storage allows you to access and add data for your Gradient Notebooks and Jobs. You can add files from a running Notebook, Job via /Storage, or your Linux VM. Read more about Persistent Storage here.
It's now possible to easily upload files to Gradient Storage using the Gradient IDE. For big files, it's best to use
wget using a Jupyter Terminal. If
wget is not installed, you can install it running
apt install wget.
You can also use most third-party syncing or storage providers to access or move files to and from Paperspace.
- Cloud storage like Dropbox, Google Cloud, or Box.
- BTSync or Resilio have also been used and suggested by Paperspace users.