AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein Netzwerke Delphi TIDFTP - Erstell Datum einer Datei auslesen (auf FTP)?
Thema durchsuchen
Ansicht
Themen-Optionen

TIDFTP - Erstell Datum einer Datei auslesen (auf FTP)?

Ein Thema von fLeTCHeR · begonnen am 23. Mai 2006 · letzter Beitrag vom 24. Mai 2006
Antwort Antwort
fLeTCHeR

Registriert seit: 8. Mär 2006
32 Beiträge
 
#1

TIDFTP - Erstell Datum einer Datei auslesen (auf FTP)?

  Alt 23. Mai 2006, 19:59
hallo,

gibt es eine Möglichkeit, das Datum, wann eine Datei erstellt oder auf dem FTP abgelegt wurde, die auf einem FTP- Server liegt, auszulesen?
Vergleichbar mit der Dateigroesse

 FTP.Size Vielen Dank für Eure Hilfe

gruesse fLeTCHeR
  Mit Zitat antworten Zitat
Klaus01

Registriert seit: 30. Nov 2005
Ort: München
5.755 Beiträge
 
Delphi 10.4 Sydney
 
#2

Re: TIDFTP - Erstell Datum einer Datei auslesen (auf FTP)?

  Alt 24. Mai 2006, 06:31
nö, nicht direkt, aber Du kannst es Dir aus dem Ergebnis von List herausfieseln.

Ein Auszug aus der Hilfe zu TidFTP.list
Zitat:
Gets a list of files and directories on the FTP server.

procedure List(ADest: TStrings; const ASpecifier: string; const ADetails: boolean);

Parameters

ADest: TStrings

List for files and directories in the current directory.

const ASpecifier: string = ''

File mask for the listing. Default value is ''.

const ADetails: boolean = true

Include file details. Default value is True.

Description

List is a procedure used to request a list of files or directories in the current directory on the FTP server.

ADest is the TStringList used to store the information requested.

ASpecifier is a String that contains a mask indicating the files and/or directories to be included in the listing. ASpecifier can contain common wildcard characters like '*' and '?'. Some useful masks include:

*.* - All files in the current directory.
* - All directory entries in the current directory.
*. - All files regardless of extension in the current directory.
A??.txt - All text files that have a 3-character name starting with 'A'.


ADetails is a Boolean that indicates if the list should contain details about the files and directories that match the mask in ASpecifier.

When ADetails is False, only the file or directory name is returned in the ADest string list.

When ADetails is True, List can return FTP server-dependent details including the file size, date modified, and file permissions for the Owner, Group, and User.

An application must be able to parse the detailed list format based on the FTP server type identified in SystemDesc.
Grüße
Klaus
Klaus
  Mit Zitat antworten Zitat
fLeTCHeR

Registriert seit: 8. Mär 2006
32 Beiträge
 
#3

Re: TIDFTP - Erstell Datum einer Datei auslesen (auf FTP)?

  Alt 24. Mai 2006, 07:14
na dann werd ich mal anfangen zu fieseln... danke für die antwort.

gruß fLeTCHeR
  Mit Zitat antworten Zitat
marabu

Registriert seit: 6. Apr 2005
10.109 Beiträge
 
#4

Re: TIDFTP - Erstell Datum einer Datei auslesen (auf FTP)?

  Alt 24. Mai 2006, 08:09
Es könnte schwierig werden. FTP liefert in der Regel nur das ModifiedDate. Beim Fieseln könnte das hier helfen: klick

Grüße vom marabu
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 22:44 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz