Just in case, my previous reply seemed confusing.
I am trying to append a local file to a remote file . I was able to do this using normal ftp using the append command . I think there is no such command so far in winscp.
The workaround solution would be to name the local file the same as the remote file and use a normal put command as shown below.
winscp> append com.txt com.txt
Unknown command 'append'.
winscp> put com.txt
com.txt | 0 kB | 0.0 kB/s | binary | 0%
Remote file 'com.txt' already exists. Overwrite?
New: 130 bytes, 22/03/2005 11:47:14
Existing: 124 bytes, 22/03/2005 11:47:14
(Y)es, (N)o, (A)bort, A(p)pend, Ne(w)er only, N(o) to All, Y(e)s to All: Append
com.txt | 0 kB | 2.6 kB/s | ascii | 100%
winscp> bye
As you can see , I get a prompt, asking me to replace , append. If I do this using a script file , is there someway by which I can append the file , without getting the prompt.
I hope I am clear this time ..
Cheers!!
Reply with quote