Check file size before uploading
The script working fine, but from now I need to check the file size before start uploading.
here is my codes.
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]
here is my codes.
@echo off "C:\Program Files (x86)\WinSCP\winscp.com" ^ /command ^ "open sftp:// etc....^ "put C:\fileput.xml /home/import/" ^ "exit"
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]