Now that you have your batch file or C# executable ready, you can schedule it to be run using Windows Scheduler. When you run myftp.bat all it does is executes the command with options youve included. winscp.exe /console /script myscript.txt. if this works okay then all your bat file needs to have in it is the above command. So they show SFTP upload, not FTP download) In Windows 11 File Explorer, right-click on 'This PC' and choose 'Add a Network Location,' then follow the steps to add an FTP server. promp> winscp.exe /console /scriptmyscript.txt. (These are official screenshots from WinSCP documentation. There, you can choose if you want WinSCP to generate a WinSCP script or even complete Windows batch file: You will get the Generate transfer code dialog. On the Download dialog, click the drop down arrow on the Transfer Settings button and select the Generate Code command.Use the Files > Download command in the main menu (or the Download command in the files' context menu).Select the remote files to download (all files?). ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |