Mit Access Dateien per ftp übertragen
Ich möchte mit Access (2003) mehrere Dateien (z.B. *.txt) per FTP übertragen.
Die Source will ich einem Button hinterlegen, so das sich per Klick der FTP-Zugang (Server, Benutzername, Passwort) öffnet
und wie z.B. mit "mput" die Dateien übertragen werden. Hilfe!!!
Die Source will ich einem Button hinterlegen, so das sich per Klick der FTP-Zugang (Server, Benutzername, Passwort) öffnet
und wie z.B. mit "mput" die Dateien übertragen werden. Hilfe!!!
Please also mark the comments that contributed to the solution of the article
Content-Key: 47145
Url: https://administrator.de/contentid/47145
Printed on: April 27, 2024 at 01:04 o'clock
2 Comments
Latest comment
Wie wäre es mit etwas in der Art:
befehl = "cmd /q /c ftp -i -s:Commandfile Servername"
Call Shell(befehl)
Man muß halt vorher das Commandfile erzeugen, in dem die auszuführenden FTP Befehle (wie mput *.txt ... usw. drin sind) und z.B. mittels InputBox die Daten zu Server etc. abfragen.
Falls Du nicht das Standard MS FTP nehmen willst, muß man halt ein anderes aufrufen.
befehl = "cmd /q /c ftp -i -s:Commandfile Servername"
Call Shell(befehl)
Man muß halt vorher das Commandfile erzeugen, in dem die auszuführenden FTP Befehle (wie mput *.txt ... usw. drin sind) und z.B. mittels InputBox die Daten zu Server etc. abfragen.
Falls Du nicht das Standard MS FTP nehmen willst, muß man halt ein anderes aufrufen.