Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WwFTP - format for wildcards in ftpgetfileex()
Message
De
11/08/2010 21:36:22
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Titre:
WwFTP - format for wildcards in ftpgetfileex()
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01476317
Message ID:
01476317
Vues:
134
I need to download all of the files in a particular folder on the FTP server and am struggling with the format ( have already checked for example in WW docs and WW messagboard and wiki )

This works :
lnsuccess = o.ftpgetfileex("/Corporate/EDT/0334-MONTH TO DATE-08 2010.ZIP",".\EDTZips\TARGET.PDF")
but this gives me a file not found (12003) error
lnsuccess = o.ftpgetfileex("/Corporate/EDT/*.*",".\EDTZips\*.*")
Do have the right syntax for a wildcard on a Unix server? ( I know the path is case sensitive) and for the target is that the right format for the target?

Advice appreciated.

TIA


Charles Hankey

Though a good deal is too strange to be believed, nothing is too strange to have happened.
- Thomas Hardy

Half the harm that is done in this world is due to people who want to feel important. They don't mean to do harm-- but the harm does not interest them. Or they do not see it, or they justify it because they are absorbed in the endless struggle to think well of themselves.

-- T. S. Eliot
Democracy is two wolves and a sheep voting on what to have for lunch.
Liberty is a well-armed sheep contesting the vote.
- Ben Franklin

Pardon him, Theodotus. He is a barbarian, and thinks that the customs of his tribe and island are the laws of nature.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform