Skip to content

pull_dir pulls recursivly parent directories #4

@ghost

Description

pull_dir does not only pull child dirs of the remote dir but the whole ftp - site by walking throug with ../

as a workaround i added something like this:

 def pull_dir(localpath, remotepath, options = {}, &block)

# workaround
   if remotepath.include? '..'
     return
   end

....

this might depend on the ftp server and / or your client os

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions