I need a script upload all the files in the file path into a ftp.

Welcome Forums General PowerShell Q&A I need a script upload all the files in the file path into a ftp.

This topic contains 1 reply, has 2 voices, and was last updated by

 
Participant
9 months ago.

  • Author
    Posts
  • #91667

    Participant
    Points: 0
    Rank: Member

    I need a script that will upload all the files to an FTP and send out an email notification.

    I have the FTP credential and the ssh key. I have the all the username, password, and SMTP for the email.

    Thank you in advance for your help.

  • #91669

    Participant
    Points: 10
    Rank: Member

    What have you tried already.
    Put your code sample and describe / show the issues you any or may not be having. It is there where we can assist.
    If you had not done that yet, just use your search engine of choice and use the sting 'powershell ftp'
    You'll get several hits leading to examples on how to do what you are asking.

    For example:
    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.
    https://gallery.technet.microsoft.com/scriptcenter/PowerShell-FTP-Client-db6fe0cb

The topic ‘I need a script upload all the files in the file path into a ftp.’ is closed to new replies.