Archiv verlassen und diese Seite im Standarddesign anzeigen : FTP get Dateiveränderung
Hallo zusammen,
ich lade eine Datei von einem ftp-Server mit folgenden Befehlen:
(nachdem ich auf dem Server eingeloggt bin)
>ascii
>cd public/english_us_canada/antivirus_definitions/norton_antivirus/static
>get symcdefsx86.exe symcdefsx86.exe
>quit
Lade ich die gleiche Datei mit meinem Windows-Explorer, unterscheiden
sich die beiden Dateien in ihrer Größe und im Datum.
Die Datei, die ich unter Linux runterlade funktioniert nicht mehr -
die Datei, die ich mit dem Windows-Explorer runterlade funktioniert.
Statt "ascii" habe ich auch schon "binary" versucht - aber das Ergebnis
ist das gleiche.
Kennt jemand ähnliche Probleme - bzw. einen Lösungsansatz für mein Problem?
Danke im Vorraus
Thomas
Statt "ascii" habe ich auch schon "binary" versucht - aber das Ergebnis ist das gleiche.Fuer den Transfer von EXEs musst Du unbedingt BIN waehlen. Aber damit muss es gehen, sonst ist grundsaetzlich was faul.
Wenn Du noch den Server (Login anonymous moeglich?) angibst, probiere ich es gerne mal von hier aus.
Gruss Pit.
Hallo Pit,
danke für die schnelle Antwort.
Der FTP-Server ist:
ftp.symantec.com
Pfad und Datei wie schon beschrieben:
/public/english_us_canada/antivirus_definitions/norton_antivirus/static/
symcdefsx86.exe
Gruß
Thomas
Der FTP-Server ist: ftp.symantec.com
Gerade ausprobiert, klappt einwandfrei:
pit@tgz1:/tmp> ftp ftp.symantec.com
Connected to ftp.symantec.com.
220-
220- This system is for the use of authorized users only. Individuals using
220- this computer system without authority, or in excess of authority, are
220- subject to having all of their activities on this system monitored and
220- recorded by system personnel. In the course of monitoring individuals
220- improperly using this system, or in the course of system maintenance,
220- the activities of authorized users may also be monitored. Anyone using
220- this system expressly consents to such monitoring and is advised that
220- if such monitoring reveals possible evidence of criminal activity, system
220- personnel may provide the evidence of such monitoring to law enforcement
220 officials.
Name (ftp.symantec.com:pit): anonymous
331 Password required for USER.
Password:
230 User anonymous logged in.
Remote system type is UNIX.
ftp> bin
200 TYPE set to I.
ftp> get
(remote-file) /public/english_us_canada/antivirus_definitions/norton_antivirus/static/symcdefsx86.exe
(local-file) symcdefsx86.exe
local: symcdefsx86.exe remote: /public/english_us_canada/antivirus_definitions/norton_antivirus/static/symcdefsx86.exe
500 Command not supported.
227 Entering Passive Mode. (64,15,229,73,205,177)
150 Opening BINARY mode data connection for /public/english_us_canada/antivirus_definitions/norton_antivirus/static/symcdefsx86.exe (8346478 bytes).
100% |************************************************* ****************************| 8150 KB 219.48 KB/s 00:00 ETA
226 Transfer Complete
8346478 bytes received in 00:37 (219.48 KB/s)
ftp> quit
221 Goodbye.
pit@tgz1:/tmp> dir sym*
-rw-r--r-- 1 pit 100 8346478 2004-08-10 23:44 symcdefsx86.exe
pit@tgz1:/tmp>
Groesse sieht OK aus, das Datum ist von gestern, scheint also auch OK. Allerdings habe ich mir verkniffen, das EXE auch noch zu starten;-)
Gruss Pit.
Hallo Pit!
Vielen Dank für Deine Mühe,
konnte es gestern auch wieder ausprobieren und -
siehe da, die Datei wurde diesmal einwandfrei
überliefert. Ich habe absolut keine Ahnung, was da
schief gelaufen ist.
Die Downloadroutine steckt bei mir in Scripts und die
werden durch cron alle 2 Stunden ausgeführt.
Statt dem <get> benutze ich in den Scripten <newer>
und auch die Scripts laufen jetzt wieder einwandfrei.
Der einzige Unterschied ist, das ich jetzt das <binary>
drin stehen habe. Aber meine Scripts liefen vorher auch tadellos.
Nun denn, ich werde mir die Sache jetzt noch mal ein paar Tage
genauer anschauen.
Vielen Dank nochmal
Gruß
Thomas
Powered by vBulletin® Version 4.2.5 Copyright ©2024 Adduco Digital e.K. und vBulletin Solutions, Inc. Alle Rechte vorbehalten.