|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
About download filesHello,
I want to download all the files from my server using the code below, but the *.ini and *.dat type files can not be dowloaded, other type files can be downloaded, why? Private myWebClient As New System.Net.WebClient myWebClient.DownloadFile(RemoteUri & FileName, tempPath & FileName) Thank you Steven Probably your server doesn`t serve them ,,, IIS has an extension filter so
you probably have to add the requested extensions i may be false if you can see them in your browser , but i bet the above is your problem :-) Regards Michel Posseth [MCP] Show quoteHide quote "yxq" <ga***@163.net> schreef in bericht news:%23fSSYKooGHA.4988@TK2MSFTNGP05.phx.gbl... > Hello, > I want to download all the files from my server using the code below, but > the *.ini and *.dat type files can not be dowloaded, other type files can > be downloaded, why? > > Private myWebClient As New System.Net.WebClient > myWebClient.DownloadFile(RemoteUri & FileName, tempPath & FileName) > > Thank you > Steven > Thank you, but why cuteftp can download all the files?
Show quoteHide quote "Michel Posseth [MCP]" <M***@posseth.com> дÈëÏûÏ¢ÐÂÎÅ:uD%23SlK4oGHA.4***@TK2MSFTNGP04.phx.gbl... > > Probably your server doesn`t serve them ,,, IIS has an extension filter > so you probably have to add the requested extensions > > i may be false if you can see them in your browser , but i bet the above > is your problem :-) > > > Regards > > Michel Posseth [MCP] > > > > "yxq" <ga***@163.net> schreef in bericht > news:%23fSSYKooGHA.4988@TK2MSFTNGP05.phx.gbl... >> Hello, >> I want to download all the files from my server using the code below, but >> the *.ini and *.dat type files can not be dowloaded, other type files can >> be downloaded, why? >> >> Private myWebClient As New System.Net.WebClient >> myWebClient.DownloadFile(RemoteUri & FileName, tempPath & FileName) >> >> Thank you >> Steven >> > >
Window Form refresh
Date Sort Windows Image Acquisition (WIA) Taking black photos Scrolling DataGrid's selected row out of view selects next control Sharing Class Data With Multiple Forms Limit bandwith of my application VB Net 2005 and Email! How to Get DataSet ot DataTable from DataGrid Empty Recycle bin - VB.NET code combobox view display width question |
|||||||||||||||||||||||