Do anyone have a PowerShell script to download files from FTP to your pc

Welcome Forums General PowerShell Q&A Do anyone have a PowerShell script to download files from FTP to your pc

This topic contains 3 replies, has 3 voices, and was last updated by

 
Participant
1 year ago.

  • Author
    Posts
  • #87907

    Participant
    Points: 0
    Rank: Member

    Hi Everyone,

    I have a task to create an automated script to download files from FileZilla in a particular path and transfer them to a path on the network drive. After the files have been transferred, sent out a notification with the files names let the request know that the files are on the network drive.

    I'm open to other script example other than PowerShell.

  • #87910

    Participant
    Points: 22
    Rank: Member

    Give it a shot and post your scripting questions here, we'd be happy to help.

  • #87914

    Participant
    Points: 0
    Rank: Member

    I don't have a script yet, so I was looking for some example.

    I was trying with WinSCP in an RDP environment but an Error listing directory

    Saying it could not retrieve directory listing.

    No ports available.

    When I try it on FileZilla it works fine without no issue.

  • #87980

    Participant
    Points: 320
    Helping Hand
    Rank: Contributor

    The are many resources that already provide modules. samples for this FTP use case. Not specifically FileZilla however, but that should not really be a different thing.

    PowerShell FTP Client Module
    The PSFTP module allow you to connect and manage the contents of ftp account. Module contain set of function to get list of items, download and send files on ftp location.
    'gallery.technet.microsoft.com/scriptcenter/PowerShell-FTP-Client-db6fe0cb'

    Powershell FTP upload and download
    'thomasmaurer.ch/2010/11/powershell-ftp-upload-and-download'

    'powershell.org/forums/topic/download-ftp-files'
    'powershell.org/forums/topic/configuring-ftp-over-ssl-with-powershell'
    'jhonatantirado.wordpress.com/2013/12/18/download-and-delete-files-from-ftp-using-powershell'

    NetCmdlets 30-Day Trial:
    'netcmdlets.com/support/articles/netcmdlets-file-transfer-ftp-and-sftp'

The topic ‘Do anyone have a PowerShell script to download files from FTP to your pc’ is closed to new replies.