Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WwFTP - format for wildcards in ftpgetfileex()
Message
From
11/08/2010 22:11:35
 
General information
Forum:
Visual FoxPro
Category:
Third party products
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01476317
Message ID:
01476319
Views:
41
Thanks Sergey. Not sure where i got the idea it supported wildcards. Looks like I'll used aFTPDir to find out what is there first.

>The wildcard are not supported by this method. You'll have to get the list of all files in a directory and download them one by one.
>
>>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 messageboard 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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform