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

cootcraig

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?
martin

Re: Frustrated. Script to sync ftp site

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

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