Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: How to fulfil the function of ftpls on windows

by atopolc (Pilgrim)
on May 30, 2002 at 14:00 UTC ( #170384=note: print w/replies, xml ) Need Help??

in reply to How to fulfil the function of ftpls on windows

Being that you are on NT. You might want to look into Win32::Internet.
This module contains a nice ftp function. For your project you will want to look specifically at the list method. It would allow you to do something like this.
@files = $FTP->List(); @textfiles = $FTP->List("*.txt"); foreach $file (@textfiles) { print "Name: ", $file, "\n"; }

The list method also takes an optional list mode parameter in this case 2, which would give information like size, attributes,creation time and so forth.
@files = $FTP->List("*.*", 2);

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://170384]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2021-12-09 06:26 GMT
Find Nodes?
    Voting Booth?
    R or B?

    Results (36 votes). Check out past polls.