Subj : Re: Automating file transfers using FTP (or similar) To : Oli From : Avon Date : Sun Feb 14 2021 01:12 pm On 13 Feb 2021 at 09:56p, Oli pondered and said... Ol> could you give us more details. error messages or an example where you Ol> are stuck. Thanks, sorry I'm a tad grumpy... and it's in no way directed at you. I'm trying to understand how to call scp or sftp correctly from the command line in a way that I can put it in a .sh script and know each time I run it, it will copy either a hard coded filename from local dir to web server... or if it's written another way, when I call the script I pass a file name and the .sh will send the file to the web server and replace the old one there with the one I send it. So for SCP I see scp [-346BCpqrTv] [-c cipher] [-F ssh_config] [-i identity_file] [-l limit] [-o ssh_option] [-P port] [-S program] source ... target and I try something like scp -i /home/avon/.ssh/id_rsa testing.txt user@domain.com then the command seems to be accepted and I get a new linux command prompt. I have no idea if the file has been sent or where it went. I'm kinda graping at straws as I don't really know how to apply this ssh stuff to what I understand from before which was a ftp style login... but using that was using winscp to do the copying and seemed to be preceded by a series of ftp style commands called as a script by winscp. It was so long ago that I've mostly forgotten all of that setup :( So I've created a rsa style key and uploaded it to cpanel and enabled it but using it from my command line, yet along getting some kind of automated copy process working eludes me.. I'm just feeling frustrated by something that should be easy and yet I can't seem to nail it :( Kinda tired and also been doing a lot of looking after my wife these last few weeks so that's no helping either. I'll figure it out in the end and then think ahhh --- Mystic BBS v1.12 A46 2020/08/26 (Windows/32) * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101) .