|
Rank: Newbie
Joined: 11/11/2014 Posts: 3 Location: Germany
|
Hello,
i want to move all my created files to a ftp Server. the Connection seems fine but i have Problems with the source and target file. I tried and started with just move one file to the ftp Server. That worked but i dont know how i can put the whole files of the Directory in the ftp.
Thanks in advance!
|
|
Rank: Newbie
Joined: 3/31/2016 Posts: 3 Location: New York
|
Hello All,
I'm trying to retrieve files from FTP server to local drive using Flow Force Server and FTP Retrieve job. I can able to retrieve one file by defying source file name (Example.csv), but I wanted to retrieve dynamic files as Exampledatetime1, Exampledatetime2 etc. Please let me know what parameters I need to provide in the job. Thanks!
Regards Priya
|
|
Rank: Newbie
Joined: 10/17/2016 Posts: 6
|
This is an old topic, but I'll post some advice anyway. In your FlowForce job, you want a new for-each step. Then use the list-files function to get all the files inside the directory. Inside the loop, use filename-with-extension (or just filename) to get the name of the individual file so you can move/ftp it.
The result looks like this.
|
|
Rank: Advanced Member
Joined: 2/27/2009 Posts: 565
|
Exactly. Or, use another FTP command-line application such as cURL which can handle wildcards.
|
|
Rank: Newbie
Joined: 10/20/2016 Posts: 1 Location: Singapore
|
Hi,
Is it possible to use this in sequence method to retrieve folder from FTP location as well ? I need to retrieve Linux based ftp location which deploy in different server in that case how can I do this?
Please be kind enough to provide feedback about this.
mkirkpatrick wrote:This is an old topic, but I'll post some advice anyway. In your FlowForce job, you want a new for-each step. Then use the list-files function to get all the files inside the directory. Inside the loop, use filename-with-extension (or just filename) to get the name of the individual file so you can move/ftp it. The result looks like this.
|
|
Rank: Newbie
Joined: 10/17/2016 Posts: 6
|
I'm not sure I follow your question. If I understand correctly, you are wanting to get a list of sub-directories on a remote FTP server. This is not possible with FlowForce's built-in ftp functions.
You could set up a command line ftp client on the machine that houses the FlowForce server. You could then use the \system\shell\commandline function to connect to the remote ftp server, then call "dir" to list the directories. This will return a result to FlowForce, which you should be able to convert to a sequence using the other built-in functions.
Not sure if this is what you're after, but hopefully it helps a little.
|
|
guest |