I am trying to SFTP a file to my server using the put command. There are instances were the file may already exist on the sever and would need to be appended to however i am unable to get past the following prompt asking.....
Remote file 'text.txt' already exists. Overwrite?
New: 12 bytes, 8/9/2007 8:45:04 AM
Existing: 44 bytes, 8/9/2007 8:45:04 AM
(Y)es, (N)o, (C)ancel, A(p)pend, New na(m)e, Ne(w)er only, N(o) to All, Yes to (
How do I get the script to enter a "p" at the prompt so that the file is appended to?
Reply with quote