Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   How do I connect to FTP (http://forums.winamp.com/showthread.php?t=265386)

ddsuresh 8th February 2007 12:57

How do I connect to FTP
 
How do I Connect to FTP through NSIS.

Suppose I want to connect to Any FTP Server and Download Some Code from Server.

Anybody can help me.

nsExec::ExecToStack '"ftp xxxx.com"'
nsExec::ExecToStack 'xxxx'
nsExec::ExecToStack 'xxxx'
nsExec::ExecToStack 'get xxx.txt'
nsExec::ExecToStack 'bye'

I have tried like this above code.
But it was not working.

Takhir 8th February 2007 13:49

Please read ftp man, -s:file option.
Another way - inetc plug-in
Forum search (link above) can help to find samples.


All times are GMT. The time now is 04:45.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.