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.
Tank’s
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.
Tank’s
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs