Topic "Sync issues"

Author Message
[View user's profile]

Joined: 2016-12-27
Posts: 1
Dear Support,

If i sync remote -criteria=none "C:\mainfolder" "/remote.php/webdav/mainfolder" (new) file01 which is located in
c:\mainfolder\folder01\folder02\file01 is not added to remote.

but if i sync remote -criteria=none "C:\mainfolder\folder01\folder02\" "/remote.php/webdav/mainfolder/folder01/folder02"
the file01 is synchronized.

Am i missing something?


# Automatically abort script on errors
option batch on
# Disable overwrite confirmations that conflict with the previous
option confirm off
# Connect
open https://studiodaniel:xxxxxxxxxx@xxxxxxxxxxx.xxxxxxxxxxxxx/remote.php/webdav/
# Force binary mode transfer
option transfer binary
# Upload the file to current working directory
synchronize remote -criteria=none "C:\mainfolder" "/remote.php/webdav/mainfolder"
# Disconnect
# Exit WinSCP


Kind regards,

[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27106
Location: Prague, Czechia
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.

You can post new topics in this forum


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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License