> The get retrieves the whole file
> and then the die occurs. Why?! Is it something really simple
> that I missed because I have been looking at this too long?
You're assuming the get method returns a status boolean. It doesn't. It'll
either return the results, or if you've specified the local f
What does $sftp->get() return?
--- Jeff Williams <[EMAIL PROTECTED]> wrote:
> I have a loop I am running to retrieve some files
> over SFTP. The issue is
> that I have a 'get or die' statement and both parts
> are executing one after
> each other. I know it is getting the file because I
> checked
I have a loop I am running to retrieve some files over SFTP. The issue is
that I have a 'get or die' statement and both parts are executing one after
each other. I know it is getting the file because I checked the download
directory and I know the loop is only executing once because of the
filename