Archive: How do I connect to FTP


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.


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