I am busy writing a FTP app with VB6, how can I retrieve the file size of a file on the FTP site.
I need this to use a Progress bar to show how far the download process is!
Just shout if you need any code!
That is basically what I want but they do not explain anything so its quite difficult for me to implement the code (only for the file size) into my program.
Any suggestions?
I am using "wininet.dll", the same as the program you gave me!
I tried using the dir but it gave me an access denied error or something, it worked for my local files though!
I don't know what I code I should give you couse its quite alot!
However, there is one bug that I uncovered, but all it needs is a small fix. Just change the following line of code in the Sub m_objFtpClient_OnEnumFiles from:
Hi there,
I tried everything, but just can't get it to work.
First off all I am using a treeview instead of a listview and everything is just so confusing when it comes to all the Classes like m_objFtpClient and m_objFtpFile.
I do not have any classes and I can download files already.
Our code is just so different so I do not know how to implement it!
Any suggestions!
Thanks for you're help man,
I really appreciate it!!!
Bookmarks