On Tue, 24 Jun 2025 19:15:06 +0200, Massimo Biancucci <[email protected]> wrote:

>I think you can generate the FTP script with a .bat o .ps1 and then execute it.

.bat files do not have an FTP API which means you must visually verify that 
each file transferred successfully. This is fine for a 1 time situation but may 
become annoying if used on a regular basis.

Languages like Python with an FTP library typically throw exceptions for any 
failed command. Since I've never used any FTP libraries, I can't tell you if 
the exceptions are reliable nor if there are alternative methods to determine 
if a command failed.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to