Class RemoteFileUtils

java.lang.Object
org.springframework.integration.file.remote.RemoteFileUtils

public final class RemoteFileUtils
extends Object
Utility methods for supporting remote file operations.
Since:
3.0
Author:
Gary Russell, Artem Bilan
  • Method Details

    • makeDirectories

      public static <F> void makeDirectories​(String path, Session<F> session, String remoteFileSeparator, Log logger) throws IOException
      Recursively create remote directories.
      Type Parameters:
      F - The session type.
      Parameters:
      path - The directory path.
      session - The session.
      remoteFileSeparator - The remote file separator.
      logger - The logger.
      Throws:
      IOException - Any IOException.