Directory List
Post any question you may have in regards to GoAnywhere Director and let our talented support staff and other users assist you.
7 posts
Page 1 of 1
- Support Specialist
- Posts: 590
- Joined: Tue Jul 17, 2012 2:12 pm
- Location: Phoenix, AZ
-
You're going to need to be a bit more specific on what you're looking for.
You have the option to utilize just the Path attribute of a file (as in FileList:path) which will give you the folder structure up to and including the folder in which the designated file resides.
Not sure what you mean by "print the existing folders within a path".....
You have the option to utilize just the Path attribute of a file (as in FileList:path) which will give you the folder structure up to and including the folder in which the designated file resides.
Not sure what you mean by "print the existing folders within a path".....
Rick Elliott
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696
Sorry. Say I have a folder path of c:/libraries/documents/data/home and I wanted to list all of the folders within that data folder. I understand that I could use file list to see the files within data, but is there a way to have GA list "home" and any other folder that are within data?
- Support Specialist
- Posts: 590
- Joined: Tue Jul 17, 2012 2:12 pm
- Location: Phoenix, AZ
-
At this time... we do not have a "CreateFolders" task or attribute.
You can take the "Path" attribute and parse out the Folder Structure, but that would be the best way possible.
You can take the "Path" attribute and parse out the Folder Structure, but that would be the best way possible.
Rick Elliott
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696
Lead Solutions Consultant
(402) 944.4242
(800) 949-4696
So let me give you the details on exactly what I'm trying to do and see if maybe there's a more elegant solution than how I was trying to approach it. I have a large number of files coming into one location. The files are identified by a series of numbers at the start of the file name.
1234_file_name.pgp
Currently I have one job setup that will make a variable from the numbers in that file name and create a new folder path, using those digits, to decrypt the file to.
/1234/folder/folder/folder/1234_file_name.txt
However there's likely going to need to be a second move afterwards, that goes to a path with a different folder structure. Here the folders are setup with the series of numbers, followed by the client name.
/1234_clientNameA/folder/folder/folder/
/5678_clientNameB/folder/folder/folder/
I'm looking for a way to be able to take a file named "5678_file_name.txt" and move it to that /5678_clientNameB/ folder, without prior knowledge of what the text in that client name is. I'm going in only knowing that the folder name begins with 5678.
1234_file_name.pgp
Currently I have one job setup that will make a variable from the numbers in that file name and create a new folder path, using those digits, to decrypt the file to.
/1234/folder/folder/folder/1234_file_name.txt
However there's likely going to need to be a second move afterwards, that goes to a path with a different folder structure. Here the folders are setup with the series of numbers, followed by the client name.
/1234_clientNameA/folder/folder/folder/
/5678_clientNameB/folder/folder/folder/
I'm looking for a way to be able to take a file named "5678_file_name.txt" and move it to that /5678_clientNameB/ folder, without prior knowledge of what the text in that client name is. I'm going in only knowing that the folder name begins with 5678.
7 posts
Page 1 of 1