Posted: 2016-09-03 11:19
The script working fine, but from now I need to check the file size before start uploading.
here is my codes.
"C:\Program Files (x86)\WinSCP\winscp.com" ^
"open sftp:// etc....^
"put C:\fileput.xml /home/import/" ^
How I can make this codes to check the size C:\fileput.xml if the file size less than 100 MB so stop uploading.[/code]
Location: Prague, Czechia
Though you can also abuse size-constraint in WinSCP file mask:
You can post new topics in this forum
And it's free!