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

kretmatt

Thank you Martin,
Now it works.
I sysnconized one time with the GUI and it seems like the settings are still made if I run my script.
:D

Greets,
Matthias
martin

Re: Existing files only off

The option cannot be configured in script. It is off by default, you have probably enabled it in GUI. Either disable it, or refer to this FAQ.
martin

Re: Existing files only off

The option cannot be configured in script. It is off by default, you have probably enabled it in GUI. Either disable it, or refer to this FAQ.
kretmatt

Existing files only off

Hi!
I try to synchronize a unix box with a windows server.
I will do this by a nightly job.
I got all working but I am not able to sync new files and folders.
I red in the manual that I have to set the option Existing files only off, but this option is not knowen by WinSCP.

Here is my input file so far:
# Automatically answer all prompts negatively not to stall

# the script on errors
option batch on
# Disable overwrite confirmations that conflict with the previous
option confirm off
# Connect using a password
# open user:password@example.com
# Connect
open root:ispapse2@157.163.24.205
# Force binary mode transfer
option transfer binary
# Delete obsolete files while synchronization
option synchdelete on
[b]#Here is what I am looking for
option Existing files only off[/b]
# Synchronize /mdf with the local directory D:\ulvdev\mdf
synchronize local D:\ulvdev\mdf /mdf
# Synchronize /install with the local directory D:\ulvdev\intsll
synchronize local D:\ulvdev\install /install
# Disconnect
close
# Exit WinSCP
exit

Hope somebody can help me!

Greetings
Matze[/b]