Old 20th December 2008, 23:54   #1
Fragensteller20
Junior Member
 
Join Date: Dec 2008
Posts: 1
How to Copy Complete Folder from Webserver

Hi Guys,

ich wanna Copy with NSIS a complete Folder from my Webserver to a destination folder to the Client of the User.

How does that works? Ich can manage it with a File....but it doenst works with a complete Foler an the File which are in the folder.

Filetest:

InetLoad::load /POPUP "Filename" "http://www.webserver/content/filename" "$EXEDIR\filemane" \

But how does it works with a complete Foler?

Thx an lot for your help.
Fragensteller20 is offline   Reply With Quote
Old 21st December 2008, 10:46   #2
Animaether
Major Dude
 
Join Date: Jun 2001
Posts: 1,173
your web server will have to present an index (either the default web server directory listing index or a custom one you write out using e.g. ASP, PHP, CGI), which you can then read and parse, and get each individual file from. There's no direct method to get a complete folder via web/ftp requests that I know of.
Animaether is offline   Reply With Quote
Old 21st December 2008, 23:01   #3
Yathosho
Forum King
 
Yathosho's Avatar
 
Join Date: Jan 2002
Location: AT-DE
Posts: 3,366
in some cases, you might have luck using wget or curl
Yathosho is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump