Skip to content
⌘ NSIS Forum Archive

FTP Wildcard Download

5 posts

JRWR#

FTP Wildcard Download

how would i go about downloading a 7z archive from a ftp server that has a release number in it that changes from time to time, and how do i extract 7z archives in nsis?
im doing the following

get updated 7z archive with the version number, extract files to the drive in the program's folder,

eg the name of the archive is

program-rts-svn-????.7z
Afrow UK#
1. Look on the wiki for inetc to download files.
2. Extract and execute 7za.exe from the 7-Zip package with nsExec::Exec.

Stu
Afrow UK#
Sorry, I didn't read your post in its entirety. Inetc does not allow wild-cards and I have no idea if it is easy to implement.

What you should do is have an INI file on your server which is downloaded first to fetch the release number.

Stu
JRWR#
its not really my server, but ill ask the guy 🙂 i didnt want him have to worry about changing anything...