Populate listbox with files in Web Directory

Do you need something made? then ask in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
3 posts Page 1 of 1
Contributors
User avatar
zachman61
VIP - Donator
VIP - Donator
Posts: 1892
Joined: Wed Dec 16, 2009 9:56 pm

Im trying to add items to a listbox via a webdirectory, btw the files do not have an extension. Thanks to whoever can help, I've searched cannot figure it out.
Nailing my feet to the floor is easier than using my own muscles to balance, but you don't see me doing that :)
User avatar
MrAksel
C# Coder
C# Coder
Posts: 1758
Joined: Fri Mar 26, 2010 12:27 pm

http://msdn.microsoft.com/en-us/library/ms229716.aspx
Its in C#, but its not hard to convert to VB, its pretty obvious. If you only want name, you can remove 'Details' at the end of System.Net.WebRequestMethods.Ftp.ListDirectoryDetails
If you need help converting, just ask.
LMAOSHMSFOAIDMT
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;


Over 30 projects with source code!
Please give reputation to helpful members!

Image
Image
User avatar
zachman61
VIP - Donator
VIP - Donator
Posts: 1892
Joined: Wed Dec 16, 2009 9:56 pm

MrAksel wrote:
http://msdn.microsoft.com/en-us/library/ms229716.aspx
Its in C#, but its not hard to convert to VB, its pretty obvious. If you only want name, you can remove 'Details' at the end of System.Net.WebRequestMethods.Ftp.ListDirectoryDetails
If you need help converting, just ask.
I managed to convert it easily, but I have no idea on how to change it from anonymous, unless I just change usernames then instead of the email use my pass. I'll try that.
Nailing my feet to the floor is easier than using my own muscles to balance, but you don't see me doing that :)
3 posts Page 1 of 1
Return to “Tutorial Requests”