Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

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.

It is not possible, yet :-(

BTW, I'm going to remove your duplicate post.
Guest

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!!
prashant

Re:

Hi,

I wanted to append it from the command line or using a script file.

I am using a script to perform automatic appends to a remote file,Is there a command similar to 'append' in FTP ?

Cheers!!
martin

Re: Appending files

Yes, there is a way. It is not documented properly yet, but it is mentioned in "resume" chapter, because it is related.
prashant

Appending files

Hi,

I have a small problem. I need to append a local file to a file on the
ftp server.
Is there any way by which I can append a local file to a remote file.
If not is there a workaround?

Cheers !!