JRWR
30th July 2007 00:10 UTC
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
30th July 2007 00:24 UTC
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
JRWR
30th July 2007 00:26 UTC
hrm
from what ive been reading i cannot pull a file listing of a FTP dir
Afrow UK
30th July 2007 00:28 UTC
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
30th July 2007 00:29 UTC
its not really my server, but ill ask the guy :) i didnt want him have to worry about changing anything...