Directory List

Post any question you may have in regards to GoAnywhere Director and let our talented support staff and other users assist you.

Directory List

Postby MDeVore » Tue Sep 17, 2013 7:05 pm

I'm familiar with the fileList task, but is there anyway to do something similar that could instead print the existing folders within a path?
MDeVore
 
Posts: 8
Joined: Tue Aug 07, 2012 3:22 pm

Re: Directory List

Postby Support_Rick » Wed Sep 18, 2013 8:23 am

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".....
Rick Elliott
Sr. Product Specialist
(402) 944.4242
(800) 949-4696
Support_Rick
Support Specialist
 
Posts: 225
Joined: Tue Jul 17, 2012 2:12 pm

Re: Directory List

Postby MDeVore » Wed Sep 18, 2013 1:43 pm

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?
MDeVore
 
Posts: 8
Joined: Tue Aug 07, 2012 3:22 pm

Re: Directory List

Postby MDeVore » Wed Sep 18, 2013 4:26 pm

Say, if I had a path like C:\Program Files\Common Files\Adobe\Acrobat\
I'm looking for a way to list Acrobat and any other folders within the Adobe directory.
MDeVore
 
Posts: 8
Joined: Tue Aug 07, 2012 3:22 pm

Re: Directory List

Postby Support_Rick » Wed Sep 18, 2013 5:56 pm

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.
Rick Elliott
Sr. Product Specialist
(402) 944.4242
(800) 949-4696
Support_Rick
Support Specialist
 
Posts: 225
Joined: Tue Jul 17, 2012 2:12 pm

Re: Directory List

Postby MDeVore » Wed Sep 18, 2013 8:50 pm

Sorry about the double post. Hadn't been around in a while and forgot posts needed approval, thought I had previewed the original post and forgot to actually submit it.

And thanks for the information.
MDeVore
 
Posts: 8
Joined: Tue Aug 07, 2012 3:22 pm

Re: Directory List

Postby MDeVore » Wed Sep 18, 2013 9:23 pm

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.
MDeVore
 
Posts: 8
Joined: Tue Aug 07, 2012 3:22 pm


Return to Community Forum

Who is online

Users browsing this forum: No registered users and 2 guests

cron