in reply to
How to find whether a file is present on remote server?
I've never used
Net::SFTP
, but it looks to me as if
$sftp->ls()
is what you want.
Comment on
Re: How to find whether a file is present on remote server?
Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.
In Section
Seekers of Perl Wisdom