Post any question you may have in regards to GoAnywhere MFT and let our talented support staff and other users assist you.
- Posts: 11
- Joined: Fri May 22, 2015 3:21 pm
Anyone have a work around suggestion to recursively (sftp) GET files and retain the folder structure at the local resource?
- Posts: 592
- Joined: Tue Jul 17, 2012 2:12 pm
- Location: Phoenix, AZ
During the looping, while getting the file from the remote server, you can always take advantage of the Remote FileList variable attribute (path) which will contain the full path and name of the file on the REMOTE server. Use that to define the LOCAL path (in the Workspace maybe?) and write the file into the corresponding path locally. Then, you could read the workspace (recursively) and get a local fileList variable containing the same structure as the remote server.
Lead Solutions Consultant
Return to “Community Forum”