| |
|
|
Sato Pinto | Hello
want txt Files via FTP to that a Server Send. into Server sorgt a application for the The Files opened and the Items The any by a ; separated are, into data base into desired Feldern written go. The Files can daily, or, two To three time in the week gesendet go. my trouble is, how can I with my XProfan Program the The Files by FTP sends, check whether these too with the gesammten and korrekten Content arrived are? my first überlegung was, each File intern with a fortlaufende number To mark, The application save these number into data base fals The File as correctly classed becomes. If I to whom FTP sendung into data base to the last eingetragene number nachschauen can, knows I The latest File The into data base stored watts and can accordingly possible fehlende, means not arrived or as corrupt classed Files again forward. The data base isn't local, must I over internet achieve.
be I on whom right Away with my überlegung?
Bedanke me for Your helpful ideas and Solutions
Regards Pedro |
|
|
| |
|
|
|
| Z.B. by MD5-Hash, your must with the the then Serverside of Content created watts coincide.
i'd however Perhaps (if mgl.) not ftp separate http or https use what in this drop many advantages had - i.e. the Rückgabeergebnis could immediate generiert and back supplied go.
alike How, whether well arrived can itself simply with Hashvergleich release - is imho too far common so. |
|
|
| |
|
|
|
Sato Pinto | Hello iF
thanks for your Help. the MD5-Hash and HTTP or HTTPS with XProfan is for me new area. gives it example code and eventuel Toturial or Beschreibungen in XProfan wovon I learn can?
Regards Pedro |
|
|
| |
|
|
|
| Have moreover nothing fertiges to hand, sorry.
first of all try Perhaps with XProfan of a beliebigen String whom MD5-worth To detect: [...]
thereafter with PHP, what plainer is: [...]
now should You z.B. of Hello with XProfan and with PHP by MD5 one and the same worth receive and of course [...] .
this worth is then simply your Kontrollwert whom You at Übertragen to that Server (alike whether ftp or http) simply with the data mitliefern could. The Server created then simply from whom data too a MD5 and vergleicht this with the Mitgelieferten.
voices The values not überein, then was The Übertragung even not ok. |
|
|
| |
|
|
|
Sato Pinto | Hello iF
will be your MDx5 PCU using. functions lovely.
thanks
Regards Pedro |
|
|
| |
|
|