Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WwFTP - format for wildcards in ftpgetfileex()
Message
From
11/08/2010 21:36:22
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Third party products
Title:
WwFTP - format for wildcards in ftpgetfileex()
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01476317
Message ID:
01476317
Views:
133
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.
Next
Reply
Map
View

Click here to load this message in the networking platform