On Mon, 25 Jan 2021 07:51:56 -0500, David Spector wrote: > I have a question about uploading a file (text.txt) securely in PHP > using the SFTP protocol and a public/private key pair. rsync: an alternate to sftp: # Upload to example.com/dir/ rsync -avzhe ssh \ /local_dir/dir/TheFile.ext \ remote_user@xxxxxxxxxxx:/public_html/dir/ HTH Jonesy -- Marvin L Jones | Marvin | W3DHJ.net | linux 38.238N 104.547W | @ jonz.net | Jonesy | FreeBSD * Killfiling google & XXXXbanter.com: jonz.net/ng.htm