Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Check ftp dir
lorenzo
7/1/2006 5:59:00 PM
I'd like to know the better way for check if item 'file' is a directory
or file:
@files = Array.new()
for file in ftp.list
@files.push file.split()
end
Must I check the differents between ftp.list and ftp.nlst?
Thank all
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Check ftp dir
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password