Topic "Sync. question with script"

Author Message
Dirk
[View user's profile]

Joined: 2005-10-31
Posts: 1
Hello,

I take the sample script and make changing.
I will sync. a folder at my server. I will only get the files where are not on the destination. At the moment it seams to me that every time, everything is copied.


What can I do?

Code:

# Automatically answer all prompts negativelly not to stall
# the script on errors
option batch on
# Disable overwrite confirmations that conflict with previous
option confirm off
# Connect using a password
# open server:@192.1.1.0
# Connect
open server:xxx@192.1.1.0
# Change remote directory
cd /home/server/test
# Force binary mode transfer
option transfer binary
# Download file to local directory d:\
synchronize local d:\test\
# Disconnect
close
# Exit WinSCP
exit
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Have you read FAQ?
_________________
Martin Prikryl
jiri

Guest


prikryl wrote:
Have you read FAQ?


shame on you martin shame on you what an answer.... crap... i've read the faq like 5 times and still dont getit..!!!!!
paste here exactly the right one i didnt find ANYTHING usefull there... Evil or Very Mad Cool Shocked Crying or Very sad Crying or Very sad Crying or Very sad
jiri

Guest


Dirk wrote:
Hello,

I take the sample script and make changing.
I will sync. a folder at my server. I will only get the files where are not on the destination. At the moment it seams to me that every time, everything is copied.


What can I do?

Code:

# Automatically answer all prompts negativelly not to stall
# the script on errors
option batch on
# Disable overwrite confirmations that conflict with previous
option confirm off
# Connect using a password
# open server:@192.1.1.0
# Connect
open server:xxx@192.1.1.0
# Change remote directory
cd /home/server/test
# Force binary mode transfer
option transfer binary
# Download file to local directory d:\
synchronize local d:\test\
# Disconnect
close
# Exit WinSCP
exit


DIRK ??
if you place the script and the file.cmd to a directory you want to upload it work but i didnt get the thingy how to specified the path to the directory you want to synchro so sorry man i didnt help much ... jirka
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
jiri wrote:
shame on you martin shame on you what an answer.... crap... i've read the faq like 5 times and still dont getit..!!!!!
paste here exactly the right one i didnt find ANYTHING usefull there... Evil or Very Mad Cool Shocked Crying or Very sad Crying or Very sad Crying or Very sad

Unless you pose good question, I cannot give you good answer...
_________________
Martin Prikryl
jiri

Guest


prikryl wrote:

Unless you pose good question, I cannot give you good answer...


pls can you specified meaning of a good question?
look i'm TOTALY new to this (newby, lama, loser whatever) so i dont really new how to place proper question... what about

any proper info how to look for help is there any manual for rookie as i am ? i give efort and spend time with documentation on this webpage http://winscp.net/eng/docs/ but hey i'm serious newby and i dont understat it it writen for people who understand short notes i need more examples like you should do synchro like this and this if you do this it wount work or some stuff like that .... ;-((( PLEASE I MEAN HONESTLY PLEASE IS THERE ANY MANUAL FOR NEWBIE?? if you able to spend time emailing (abc at seznam dot cz) with me i offer to frite some blog or so for people like me who knows nothing ... something like hey look newbies what i learn today....

ok now simple looking for newby manual for people age of 5years old is there any?

i still didnt give up on you ...
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
jiri wrote:
pls can you specified meaning of a good question?

So please give any question. I do not know what problem do you have.
_________________
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