Avatar billede olstro Nybegynder
08. oktober 2003 - 11:27 Der er 1 kommentar

DOS FTP Batch-files and error messages

I build dynamic ftp-srcipts and run them in a DOS-batch file. How can i locate error messages automatic i the batch if the ftp-command fails(connect,logon,transfer....) and test on the message code? If i can that i will automaticly build("echo") a script that will be sent to a folder and then will send mail(this script is ready).
Avatar billede erikjacobsen Ekspert
08. oktober 2003 - 11:47 #1
It may not answer your question, but I suggest you look at the ftp-client
programs from www.ncftp.com - it has a ncftpput (and ncftpget) program,
which I believe is easier to use in a batch file.
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
IT-kurser om Microsoft 365, sikkerhed, personlig vækst, udvikling, digital markedsføring, grafisk design, SAP og forretningsanalyse.

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester