Page 1 of 1

Trying with WINSCP

Posted: Fri 08 Mar 2013 8:32 pm
by xavier
Hi,
I have been trying upload files with Winscp and software works well. The problem appears with scripts. Cumulus can not update files.
I have write script in external programs but it doesn't work. I can upload only in a manual way. Could anyone help me, please?
Thanks
Xavier

PS I am not able to attach bat file, so I type it here:
"winscp.com/script=C:\cumulus\sftp-cmds.txt"

Re: Trying with WINSCP

Posted: Fri 08 Mar 2013 9:28 pm
by steve
Your file had your password in it. I deleted it, here are the contents with the password redacted:

option batch abort
option confirm off
open jfranch:xxxxxxxxx@ftp.xtec.cat
put "C:\Cumulus\web\index.txt"/html
exit

What is the file index.txt? Shouldn't it be index.htm?

Re: Trying with WINSCP

Posted: Fri 08 Mar 2013 9:57 pm
by xavier
steve wrote:Your file had your password in it. I deleted it, here are the contents with the password redacted:

option batch abort
option confirm off
open jfranch:xxxxxxxxx@ftp.xtec.cat
put "C:\Cumulus\web\index.txt"/html
exit

What is the file index.txt? Shouldn't it be index.htm?

OK Steve, thanks to hide my password, and to advice me about index.txt.
I have changed this right now, but it doesn't upload anything. What are I doing wrong?

thanks

Re: Trying with WINSCP

Posted: Sat 09 Mar 2013 10:54 am
by steve
I'm afraid I don't know, I've never used WinSCP. I didn't write the wiki entry explaining how to use it. Presumably Cumulus is creating the index.htm file?

I'll see if I can add FTP over SSL/TLS to Cumulus, it may not be difficult. I can't test it myself, though, as my hosting doesn't do FTPS.

Re: Trying with WINSCP

Posted: Sat 09 Mar 2013 12:22 pm
by xavier
steve wrote:I'm afraid I don't know, I've never used WinSCP. I didn't write the wiki entry explaining how to use it. Presumably Cumulus is creating the index.htm file?

I'll see if I can add FTP over SSL/TLS to Cumulus, it may not be difficult. I can't test it myself, though, as my hosting doesn't do FTPS.
OK Steve! I think things will be easier if you can modify Cumulus in order to add FTP over TLS. I am waiting for this! While it arrive I will trying with WinSCP.

thanks a lot!

Xavier

Re: Trying with WINSCP

Posted: Sun 10 Mar 2013 5:51 pm
by steve
Having looked at the component I use for FTP, it seems I would have to completely rewrite all of the ftp code in Cumulus in order to support FTPS. So I'm afraid that's unlikely to happen in the near future, sorry.

Re: Trying with WINSCP

Posted: Sun 10 Mar 2013 6:13 pm
by xavier
steve wrote:Having looked at the component I use for FTP, it seems I would have to completely rewrite all of the ftp code in Cumulus in order to support FTPS. So I'm afraid that's unlikely to happen in the near future, sorry.
OK! Steve. Don't worry. I understand everybody is very very busy. Me too. Fortunately, I am happy because of all is working fine. Cumulus active each 15 minutes batch files I wrote and update my webpage trough WINSCP. Now I am translating to catalan some pages.
I will be waiting for next updates of Cumulus, whenever you can.

Ciao
Xavier

Re: Trying with WINSCP

Posted: Sun 10 Mar 2013 6:17 pm
by steve
xavier wrote:Cumulus active each 15 minutes batch files I wrote and update my webpage trough WINSCP.
Ah, well done. You're now the official WinSCP expert ;)

Re: Trying with WINSCP

Posted: Mon 13 Aug 2018 1:11 am
by paggaudet

Re: Trying with WINSCP

Posted: Mon 13 Aug 2018 7:04 am
by ConligWX
xavier, I have had problems in the past with CumulusMX and ftp uploads though found the fix was to enable "FTP rename"