<http://forum.pspad.com/read.php?f=2&i=12049&t=12041> 
----------------------------------------------------------------

ftpConnect(address: string; username: string; password: string; mode:
long): long(1)
result = ftpConnect("site.com", "user", "abc123", 2); // mode: 2 =
passive


ftpClose(): long(1)

result = ftpClose();


ftpCommand(command: string): long(1)

result = ftpCommand("MKDIR 'new_folder'");


ftpLastError(): string

if (ftpCommand("MKDIR 'new_folder'") != true) {
    echo ftpLastError();
}



For those that need ftp assess via VBscript see
http://gogogadgetscott.info/computers/cc/snippet.php?sid=23

[%sig%]

-- 
PSPad freeware editor http://www.pspad.com

Reply via email to