Skip to content

phphuc0608/Sync_SFPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  • Script file (.txt)
# Connect to SFTP server using a password
open sftp://username:password@IP:port/ -hostkey="ssh-rsa 1024 ...."
# Synchronize
synchronize local|remote|both "local_dir" "remote_dir"
# Exit WinSCP
exit
  • Run file (.bat)
#path of execute_file -> path of script_file -> path of log file
"path_of_execute_file" /console /script="path_of_script" > "path_of_log"

Command

Synchronize command

Switches:

Switch Description
-preview Xem trước các thay đổi, không đồng bộ hóa. Các cài đặt transfer chuyển đổi -permission, -nopermissions, -speed, -transfer-resumesupport sẽ không có tác dụng

About

Synchronization from local to SFTP server

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published