How to copy the contents of an FTP directory to a shared network path?

I need to copy the entire contents of the directory by FTP address to a shared network location. In the FTP task, you specify the exact file name (not the directory), and the file system task does not allow access to the FTP location.

EDIT . I have finished work on a script task.

+3
source share
3 answers

Earlier I had some problems with the FTP task. In my case, the file names changed depending on the date and some other criteria. As a result, I used the Script task to perform the FTP operation.

, , . , - FTP-. ... .

+1

... .

, /[ ]/*

, /[ ]/.

;/[ ]/*. csv

+4

When I need to do such things, I use a batch file to invoke FTP on the command line and use the mget command. Then I call the package from the DTS / DTSX package.

+1
source

Source: https://habr.com/ru/post/1696656/


All Articles