Downloadfile-Wildcard help
Hi, all
When I download a a file I can't use wildcards, is there a way to overcome this? The generated file that I download change name on the server. If I write out the whole name I can download the file. (problem is "*.tar")My code:
Code:
My.Computer.Network.DownloadFile("ftp://19.168.0.1//*.tar", "c:\temp\Testfile.tar", "user", "passwd")
Re: Downloadfile-Wildcard help
Do you wish to download all the files residing at that directory? If so then you need to get list of files and then download each file.
Re: Downloadfile-Wildcard help
Hi
No just the file with the .tar
Re: Downloadfile-Wildcard help
Quote:
Originally Posted by BULK
Hi
No just the file with the .tar
To do this you still need to get the list of files, find the desired file in the list and download it.
Re: Downloadfile-Wildcard help
Ok, I see
My problem is that I use the sendkey function, so I don't see the file, I just get it.