MissAcidsugar
9th September 2004 09:42 UTC
ftp
ok .. i hope i can tell you in english witch problem i have :)
with
File "filename.exe"
you compile files into the Setupexe!!
with
File "\\server\listing\filename.exe"
you can get the file from a network!
but i need an instruction for ftp like File !!
i look into the plug-in ftpdl.zip but this is not that´s what i need, becouse the user donwload it from the server!
i need
that i can download it from the server and compile into the setupexe!
can anybody help me ?
greetings missi
Davion
9th September 2004 10:10 UTC
Hmm... if you can do it with a http server too try NSISdl in Contrib\NSISdl
I'm not Sure if there is a way to use NSISdl with an FTP, but you can try to contact the Author of NSISdl...
--------------------------------------------------------
German:
Wenn Du das ganze auch mit einem HTTP Server realisieren kannst wäre NSISdl (Contrib/NSISdl) eine ne möglichkeit
ich weiß leider nicht ob das ganze auch mit einem FTP funktioniert, aber Du könntest versuchen den Autor von NSISdl zu kontaktieren
kichik
9th September 2004 19:20 UTC
If you have a command line tool that can copy files from FTP you can use the !system instruction to copy the file to a temporary directory and then use File to compress it from that temporary directory.
For example:
!system "ftp get ftp://bla:bla@bla.com/bla.exe $%TEMP%\bla.exe"
File $%TEMP%\bla.exe