PDA

View Full Version : Command line and the FTP upload prompt



MarkRiffey
03-13-2013, 02:46 PM
Id like to setup SB in my automated build system so that when the installer completes successfully, it automatically does the upload.

I can add a step to the build system in order to make this happen, but Im curious if there is a command line parameter that allows me to tell SB7 to reply Yes to the "do you want to upload" prompt.

Mark

linder
03-14-2013, 02:05 AM
Hi Mark,

I checked the source code and it should never display the 'Do you want to upload the release to your FTP site?' dialog if you are doing a command line compile.

Do you see that prompt if you do a command line compile?

Thanks,
Friedrich

linder
03-14-2013, 02:42 AM
Mark,

To be on the safe side, I have tested the following command line compile on XP, Windows 7 and Windows 8:

sb8.exe /C "H:\testscripts\cmdtest.sb8"

It uploaded the generated setup without any prompt to the web server.

Friedrich

MarkRiffey
03-14-2013, 07:19 AM
Thanks Friedrich. I was asking in advance of making these lights out changes and asked mostly because I didnt see a reference to that prompt in the docs.

Mark

linder
03-14-2013, 07:29 AM
Hi Mark,

Aha, okay :) It "should" work fine without an upload prompt from the command line. But if there is a problem, just let me know and I'll fix it.

Thanks,
Friedrich