The Listview should display/sort first base on the newest added/uploaded item. 'start loading files from an FTP server into listį(ftpstreamreader.ReadLine())į(1000, "Test FTP Client", ex.Message, ToolTipIcon.Info) Method = ĭim ftpwebres As FtpWebResponse = CType(ftpwebrequest.GetResponse(), FtpWebResponse)ĭim ftpstreamreader As StreamReader = New StreamReader(ftpwebres.GetResponseStream()) Here is the code for displaying the contents of the directory Private Sub SampleProcedure1()ĭim ftpwebrequest As FtpWebRequest = DirectCast(WebRequest.Create("ftp://" & & "/" & & "/"), FtpWebRequest) I have already tried researching online but to no avail. My concern right now is to Sort/Arranged the items in remote directory showed in listview to display the newly added items first and so on. I have successfully made it work, it's uploading and retrieving all files and displaying it in a Listview. Currently working on a FTP client in vb.net using FTPwebrequest.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |