

I've tried reading the automation guide on WinSCP website but a lot of it means nothing to me. I'm asking this as I'm a novice at scripting and basically have no idea what to do. Each file is site specific followed by a variable. On the SFTP server I have a "to site" and "from site" folder. We simple have a requests folder that needs to import from the SFTP (then delete the original on the SFTP) and a response folder which needs to copy to a 'sent' folder and then export to the SFTP (also, deleteing the original) Initially, I'm looking at automating the internal side of the process.

I'm looking to automate as many sites as possible using batch files on a scheduled task. Use the -filezilla switch of the open command: Open FileZilla site open -filezilla 'My Site' Change the remote directory Upload the file to user's home directory put d. I have an SFTP server here that I can use and is already used manually for a few sites. Alternatively, you can directly refer to the FileZilla site from the WinSCP script, if you want to maintain a possibility to manage the site settings from FileZilla.

So, as part of my daily jobs, I have to transfer a one file from our customers server to our internal server and any responses back.Įach customer effectively has one file up and one file down each day.
