PDA

View Full Version : Adding files for automatic FTP Upload



NewsArchive
11-01-2019, 04:53 AM
The distribution folder generates CSV and HTML files as well the Setup
EXE and a version file (for web update).

When prompted to Upload after a compile, the EXE and version file get
uploaded.

Is there any way to add other files to be uploaded?

Paul MacFarlane

NewsArchive
11-01-2019, 01:51 PM
Hi Paul,

> The distribution folder generates CSV and HTML files as well the Setup EXE
> and a version file (for web update).
>
> When prompted to Upload after a compile, the EXE and version file get
> uploaded.
>
> Is there any way to add other files to be uploaded?

You can use "#ftp upload..." and mark the "Process after script compilation"
option.

Does this help?

Friedrich

NewsArchive
11-01-2019, 01:52 PM
Yes, but can that be conditional on whether I answer YES to the Upload
question after compilation? I frequent do not upload so I can test on
other machines before posting to my live site.

Paul MacFarlane

NewsArchive
11-03-2019, 09:28 AM
Check out Arnor's / Icetips's Build Automator.

This has become one of my absolute must have tools.

http://www.buildautomator.com/

Saves a ton of time.

Greg Berthume

NewsArchive
11-06-2019, 11:20 AM
Hi Paul,

> Yes, but can that be conditional on whether I answer YES to the Upload
> question after compilation? I frequent do not upload so I can test on
> other machines before posting to my live site.

This is a good question. As far as I can see, this is not possible at the
moment. We'll add it to the next build.

Thank you!

Friedrich

NewsArchive
01-16-2021, 10:14 AM
Did this ever get added?

Paul MacFarlane

NewsArchive
04-07-2023, 02:28 AM
Hi Paul,

yes, this is part of SetupBuilder 2023 (BETA-1). I am busy preparing the
install image and hope to have it available within the next 24-48 hours.

The preprocessor "#add to ftp upload queue..." lets you add files to be
uploaded after the "Do you want to upload the release to your FTP site?"
upload prompt.

Friedrich

>
> Did this ever get added?
>

NewsArchive
04-07-2023, 02:30 AM
While on the subject, let me see if I can explain what I'd really like
to have. I'd like the installer to remain the same size, but check if a
file on the machine is older that one on say an ftp folder I have, and
it would then download that file. For instance I have a runtime for
Capesofts chrome that is about 150mb, and only want to download it
once.. and not have it included in my install.exe file.

The install I make now doesn't download as it's installing, it
downloads, then installs everything from that one file. I'd like to keep
it that way as it's much faster that before when I downloaded as it
installs.

Hope that makes sense.

Ray Rippey
VMT Software

NewsArchive
04-07-2023, 02:31 AM
Hi Ray,

> While on the subject, let me see if I can explain what I'd really like to
> have. I'd like the installer to remain the same size, but check if a file
> on the machine is older that one on say an ftp folder I have, and it would
> then download that file. For instance I have a runtime for Capesofts
> chrome that is about 150mb, and only want to download it once.. and not
> have it included in my install.exe file.
>
> The install I make now doesn't download as it's installing, it downloads,
> then installs everything from that one file. I'd like to keep it that way
> as it's much faster that before when I downloaded as it installs.
>
> Hope that makes sense.

This is already possible. You can check the version number and or file/date
stamp on the users machine. Then you have your large "runtime" (as an
SetupBuilder installer or packaged in a ZIP archive) located on your HTTP(s)
server. And you have an additional text file on your HTTP(s) server that
holds the version number of the runtime. The installer connects to the
server and checks if the file on your server is a newer one. If this is the
case, you can download and install or unzip it.

If you need help with this, please let me know. We are using this method in
most consulting projects.

BTW, I am busy preparing the SetupBuilder 2023 BETA-1 for upload.

Friedrich