Was ist das für ein Script?

FTP script

Windows 95 and 98 contains a built in ftp client, so you need no more software to automate fpt if you are running one of these operating systems.

Comments are in red, use and abuse this script if you want to do something similar! Let me know how you get on.

open ftp.btinternet.com open the ftp server
xxxxxxxx put your userID here
xxxxxxxxx put your password here
binary
hash
cd cam change to the correct directory on the ftp server
send c:\windows\desktop\securi~1\camxxxx1.jpg upload the new photos
send c:\windows\desktop\securi~1\camxxxx2.jpg
send c:\windows\desktop\securi~1\camxxxx3.jpg
send c:\windows\desktop\securi~1\camxxxx4.jpg
close let FTP server know you have finished
quit let the ftp client know you have finished

Mackz hat im Netz diese Script entdeckt, leider hat keiner von uns Ahnung was das für ein Script ist vielleicht weis es jemand von euch.

Hier noch der Link wo es gefunden wurde http://www.itslifejim.btinternet.co.uk/cam/script.htm
 
habs mal wie folgt probiert (als .bat gespeichert), was ist falsch, geht nämlich nicht:


open themen02.mytoday.de
username
passwort
binary
hash
send c:\windows\desktop\versuch.txt
close
quit


kommt immer: "befehl oder dateiname nicht gefunden"
 
wenn mich nicht alles täuscht ist es ne batch. inhalt muss sein:


ftp
open themen02.mytoday.de
username
passwort
binary
hash
send c:\windows\desktop\versuch.txt
close
quit


in Windows integriert is ein FTP für DOS. have phunn
 
hmm habe sowas auch mal probiert mit ne Batch ftp commands auszuführen *wink_an_Nookie* :D
sobald win aber in den FTP "modus wechselt führt es die befehle in der Batch nicht mehr aus. Sprich alles was nach "ftp" kommt führt er nicht mehr aus
 
Zurück
Oben