Skip to main content
July 27, 2021
Question

Move to FileSystem Smart Service - Invalid File Path

  • July 27, 2021
  • 9 replies
  • 0 views

I am trying to user Move to FileSystem smart service to move files from a network drive to an Appian folder. The process keeps on failing at the Move to Collab node. I am seeing the below error in application server log

Caused by: com.appiancorp.suiteapi.process.exceptions.SmartServiceException: java.lang.Exception: Invalid File Path: \\\\RmsStgIntWeb1\\Section15Attachments\\test1.txt

This is a shared folder on a network server. I tried giving my local folder path, another mounted shared srive path, but each time getting the same Invalid Path error. What am I doing wrong here?

Would really appreciate if someone is using this smart service and can help me out. Thanks in advance.

Subhashre

 

    9 replies

    mikes0011
    Brainy
    July 27, 2021

    Please share the exact configuration (or at least a representative example) of the path entry for the smart service node.  Others here might recognize a syntactic error in your configuration for example, but I doubt anyone would be able to identify such based just on the error message you posted already.

    July 27, 2021

    Here are the configuration details

    Copy Only If Updated: True

    Destination: "Subhashree Test Docs"     (It's a folder)

    Path: "\\\\RmsStgIntWeb1\\Section15Attachments\\test1.txt"   (RmsStgIntWeb1 is a windows server)

    Remove After Copy: False

    mikes0011
    Brainy
    July 27, 2021

    Why are your path backslashes all doubled?  Was there some indication in the plug-in setup documentation that says this is required?  What happens if you try removing the duplicated backslashes?  i.e. "\\RmsStgIntWeb1\Section15Attachments\test1.txt", which would be closer to the way a normal valid network path is written.

    July 27, 2021

    Hi Mike,

    I had tried with \\RmsStgIntWeb1\Section15Attachments\test1.txt and got the same invalid path error. Then saw a post in community where the person had given duplicate slashes and so I tried that too. Here is the post

    https://community.appian.com/discussions/f/plug-ins/6030/using-appian-collab-filesystem-utilities-using-the-function-move-to-collab-th/23388#23388

    csteward
    July 27, 2021

    Is this a one-time move or a recurring process?  I've only used this service a few times which have always been for one-time import of legacy data associated with an app we're transitioning to Appian.  In those situations we first imported the files to our server, then utilized a path such as "E:\files\library1\file.txt", bypassing the share mount.  

    July 27, 2021

    Hi Chris,

    we need this feature as a recurring process. I have even tried my source path as a file in my local folder. But still it would give me "Invalid File Path" exception.

    path: "C:\Dev\1.png"

    Would it be possible for you to share your node configuration?

    April 22, 2024

    Hi, I am facing similar issue, How did you resolve this issue?

    vimals
    July 28, 2021

    subhashreel0001

    This might be an access issue. Please ensure you have followed the steps mentioned in community.appian.com/.../15204