Professional Documents
Culture Documents
How To Automate File Transfer - Windows (With WinSCP Via FTPS) - BibliU
How To Automate File Transfer - Windows (With WinSCP Via FTPS) - BibliU
How To Automate File Transfer - Windows (With WinSCP Via FTPS) - BibliU
🔍 Search
Follow
Prepare Environment
Folder containing binary files of WinSCP. To download portable version of WinSCP:
http://winscp.net/eng/download.php
e.g. C:\Apps\WinSCP
Create connection in WinSCP
1. An FTP client - this is a piece of software that allows your system to connect to the FTP
server.
2. FTP Login Details - BibliU will send you through a unique username and password:
1. BibliU’s FTP details - these are our specifications for how we set up an FTP integration.
Protocol: ftp-ssl (ftps) (preferred, secure) or ftp (fallback, not secure)
Server Address: ftp.bibliu.com
Port: 21
1. Open WinSCP and click on the "Open Connection" button in the top left corner
2. Use the drop down to set the connection protocol to "FTP" and make it secure activating
TLS/SSL Encryption.
6. Click connect
7. You will be presented with a file browser of your folder on the BibliU FTP server to upload your
data.
Prepare script to run FTPS transfer
2 scripts will need to be created that will help to automate file transfer with WinSCP:
C:\\Apps\\WinSCP\\winscp.com /script=C:\\Data\\Scripts\\ftpscript.txt
option batch continue
option confirm off
open ftpes://user:pass@ftp.bibliu.com/
lcd C:\local\ftp\folder
cd /enrollment/
put localfile.csv
exit
In ftpscript.txt , line open name-of-the-connection-on-winscp indicates the
connection name that was created on the first step.
Now that you have your batch script setup, we can automate with the windows task scheduler…
1. Open Start.
2. Search for Task Scheduler and click the top result to open the app.
3. Right-click the "Task Scheduler Library" branch and select the New Folder option.
4. Confirm a name for the folder — for example, BibliUAutomation note: You don't need to create
a folder, but keeping the system and your tasks separate is recommended.
5. Click the OK button.
9. Fill out the name and a schedule which best fits your University’s data schedule!
10. Select “Start a Program”
11. Find the script that we created above.
12. Finish!
✓ Yes ✕ No
Return to top ⬆
Related articles
Comments
0 comments
BibliU
Powered by Zendesk