M
Mhalcon
Como puedo saber si existe un archivo en un hosts remoto via ftp ????
Mhalcon said:Como puedo saber si existe un archivo en un hosts remoto via ftp ????
Rodrigo said:ftp.chdir(folder)
p "file existe" if not ftp.nlst(filename).empty?
-r.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.