Data360 Analyze

 View Only
  • 1.  FTP Get file info?

    Posted 04-30-2021 06:45

    Is there any way to get the file info from the FTP? Would love a Dir list for an FTP folder because often we need to get file information and see if the file is new... Any way to do that without getting the file, loading the data and comparing to a previous file?



  • 2.  RE: FTP Get file info?

    Employee
    Posted 05-01-2021 02:52

    You could try leveraging the Python pysftp package. The cookbook list the supported methods.

    As the package is written in cPython it would need to be used in the Python node - it will not work in a Transfrom or Generate Data node.



  • 3.  RE: FTP Get file info?

    Posted 05-03-2021 06:22

    i assume this means we dont have it installed?

    Execution Error

    No module named pysftp



  • 4.  RE: FTP Get file info?

    Employee
    Posted 05-03-2021 09:19

    Yes, the package is not included in the standard Python library that is deployed by the Analyze software installer



  • 5.  RE: FTP Get file info?

    Posted 11-29-2022 08:07
    Hi, I have problems installing it, it does, but then from the node it tells me no module installed pysftp

    ------------------------------
    Clemente Quintana
    Ntasys
    ------------------------------