Post a reply

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

Re: same archive but with diferent size

Please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate the session log file, use /log=path_to_log_file command-line argument. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.
leonardo07746

same archive but with diferent size

Hi, my script works just fine and it has no problem when mirrowing two files, but when some content has been added to the source file and therefore its size increased, the destiny file keeps its former size and it won't increase like the source, this is my script

.....
 
@echo off
 
winSCP.com /command ^
   "option batch abort" ^
   "open ftp://ftpmetgooptildno:ftpfgop@192.168.xxx.21/" ^
   "synchronize local C:\Sabic\JOURNAL /Journals/TRASVAL -filemask=*>"2016-09-20 "
   "close" ^
   "quit" ^   
   /log="C:\LOGS_JOURNALS\logsdelScript_!Y_!M_!D_!T.log" /loglevel=1
 
 "quit"




Many thanks