Einzelnen Beitrag anzeigen

marabu

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

Re: ftp download cannot find file ???

  Alt 2. Okt 2005, 15:06
Dann hat sich ja alles aufgeklärt - Leerstellen im Namen gestattet die von dir verwendete Funktion nicht:

Zitat von PSDK:
lpszSearchFile
[in] Pointer to a null-terminated string that specifies a valid directory path or file name for the FTP server's file system. The string can contain wildcards, but no blank spaces are allowed. If the value of lpszSearchFile is NULL or if it is an empty string, the function finds the first file in the current directory on the server.
Für solche Namen wirst du einen wildcard character einsetzen und dann über die gefundenen Dateien iterieren müssen, um im direkten Vergleich dann die richtige Datei zu identifizieren.

marabu
  Mit Zitat antworten Zitat