Topic "checking script result with vbscript"

Author Message
stelephan

Guest


Hi,

i'm trying to download files from remote sftp server and i need to verify that the download is successfull before deleting remote files. How can i do this in vbscript ? Any idea ?

Help will be appreciated Smile
schmidct63

Guest


Check out the solution in the topic a few lines down about moving files with the archive bit. Basically, winscp has a log function that creates an xml file. Once you're done doing all your winscp stuff, load the xml file, look at the results and delete or don't delete based on those results.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24993
Location: Prague, Czechia
Read documentation:
https://winscp.net/eng/docs/guide_automation#results
_________________
Martin Prikryl
Advertisements

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!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License