Using sftp to Upload Files From Your PC This hello.py is just a sample file, to upload to the Pi using SFTP and then run using python. Use Filezilla, or a preferred SFTP client to link to the Pi and send this file to it to get comfortable with SFTP file transfers.