Frustrated. Script to sync ftp site

Advertisement

cootcraig
Joined:
Posts:
2
Location:
Pueblo, CO USA

Frustrated. Script to sync ftp site

I would like to use WinSCP to sync my local development site to a site hosted
at GoDaddy. I'm struggling to get a WinSCP script to open the ftp site with
user/password. Here is the script and the output.

winscp.com /script=sync.txt
--- sync.txt
option batch on
option confirm off
open user:password@ftp.mydomain.com/
pwd
exit
---

$ winscp.com /script=sync.txt
Searching for host...
Host does not exist
winscp> exit

Reply with quote E-mail

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
28,658
Location:
Prague, Czechia

Re: Frustrated. Script to sync ftp site

Is it FTP or SFTP server? WinSCP defaults to SFTP.
_________________
Martin Prikryl

Reply with quote

cootcraig
Joined:
Posts:
2
Location:
Pueblo, CO USA

Re: Frustrated. Script to sync ftp site

martin wrote:

Is it FTP or SFTP server? WinSCP defaults to SFTP.

It's FTP. So how do I script to an FTP site?

Reply with quote E-mail

Advertisement

You can post new topics in this forum