Topic "VBA(Excel) .bat check back, pause/resume"

Author Message
[View user's profile]

Joined: 2012-03-26
Posts: 1
Dear WinSCP.

I would like to know how to do a .bat check back to see if the file transfer completed correctly and pause vba until the transfer has completed.

The details are:

Windows Vista sp2,Office enterprise 2007

Version: 5.1.4(2020),Protocol: FTP,Encryption: TLS Explicit enc.

The .bat file works correctly:
cd C:\Program Files\WinSCP /script=upload.txt

The script file works correctly:
open upload
synchronize remote

I am aiming for something like this:
checkback = false
Shell "C:\Users\******\******\*****\homepageupload.bat"
(I need a check back and to be able to pause VBA(excel) while the script is running)
Loop until checkback = true

Many thanks

You can post new topics in this forum

Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License