# Connect to the FTP server # Protocol can be ftp, sftp, scp, etc. # Replace , , , and with your actual details open ftp://:@:/ # Optional: Disable confirmation prompts option confirm off # Change local directory (replace with your local folder path) lcd # Change remote directory (if not specified in the 'open' command) # cd / # Synchronize files: # 'both' synchronizes reciprocally (default) # 'local' applies remote changes to local directory # 'remote' applies local changes to remote directory synchronize both # Exit WinSCP exit