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

Sorry, I remember I have replied to your question, but it's gone :-(

The /privatekey setting is a command-line option.
tko2004

Any clue...
tk2004

I have resolved, thank you again :D

Another question, following file is used as download file.

# 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 wtrends:u2bono@host
option include access*
synchronize local G:\raw\UK_JFP_Light\host /opt/SUNWwbsvr/https-host/logs
# Disconnect
close
# Exit WinSCP
exit



Now i have some servers where i can only connect hostbased with genericuser and hostkey. Where do i have to set the /privatekey= setting?
Can you give me a short example?

Many thanks in advance
martin

Client.
Guest

martin wrote:

tk2006 wrote:

I want all files errors* exluded or access* included.

Your script should do that. If not, please post a log file.



From the server, or client?
martin

tk2006 wrote:

I want all files errors* exluded or access* included.

Your script should do that. If not, please post a log file.
tk2006

I want all files errors* exluded or access* included.
martin

Re: how to set option include & exclude

What does not work? How does it behave and what do you expect instead?
TK2006

how to set option include & exclude

Hello Group,
i want only to synchronize a specific file extension but this does not work. Here is my script:

# 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 wtrends:u2bono@gcfpwbapeu1p-eth0.eurdmz.dmzroot.net
# Change remote directory
# cd /lhome/wtrends/JFPPT/
# option transfer binary
# get access*.gz

# cd /opt/SUNWwbsvr/https-host-eth0.eurdmz.dmzroot.net/logs/
# option transfer binary
# get access*

option include access*
synchronize local e:\Tempa /opt/SUNWwbsvr/https-host-eth0.eurdmz.dmzroot.net/logs

# Disconnect
#close
# Exit WinSCP
#pause
#exit



Any clue?!?

Thanks in advance