Como puedo saber si existe un archivo en un hosts remoto via ftp ???
Mhalcon wrote:
Como puedo saber si existe un archivo en un hosts remoto via ftp ???
ftp.chdir(folder)
p "file existe" if not ftp.nlst(filename).empty?
-r.
···
--
Posted via http://www.ruby-forum.com/\.
Tank's
Rodrigo Bermejo wrote:
···
Mhalcon wrote:
Como puedo saber si existe un archivo en un hosts remoto via ftp ???
ftp.chdir(folder)
p "file existe" if not ftp.nlst(filename).empty?-r.