Browse files with FTP commands

Bringing the internet highway into your project? Building FTP, HTTP, email, chat or other client solutions?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Seneka77
Posts: 1
Joined: Mon Jan 12, 2009 12:21 pm

Browse files with FTP commands

Post by Seneka77 » Mon Jan 12, 2009 1:57 pm

How to get the list of files, directories? I tried this:

put libURLftpCommand("PWD",field "Entrada IP", field "Entrada usuario", field "Entrada contraseña") & CRLF after field "Directorio"
put libURLftpCommand("CWD /",field "Entrada IP", field "Entrada usuario", field "Entrada contraseña") & CRLF after field "Directorio"
put libURLftpCommand("PASV",field "Entrada IP", field "Entrada usuario", field "Entrada contraseña") & CRLF after field "Directorio"
answer libURLftpCommand("NLST ",field "Entrada IP", field "Entrada usuario", field "Entrada contraseña")

but always fails.
Also I dunno the use of this instruction:

libURLSetFTPListCommand "LIST"
Thanks...

----------------

"Sharing, giving... and you will receive the best feeling"

Post Reply