Topic "Appending files using scripts"

Author Message
RAH

Guest


Hi,

i found in the Topic "Appending files" that it is not possible to append files,
if i am using scripts. The topic is now 2 years old, it seems that there is
still no solution.

Perhaps there is a solution, but i am not able to see it.

Thanks for help.

Kind Regards
Rah
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
You may try to use appropriate server-side command using "call" command.
_________________
Martin Prikryl
aamalama

Guest


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 (
A)ll:


How do I get the script to enter a "p" at the prompt so that the file is appended to?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Automatic appending from script is not supported.
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License