Author Topic: Huge FTP Library for Windows (WinAPI)  (Read 8103 times)

0 Members and 1 Guest are viewing this topic.

Offline madscijr

  • Seasoned Forum Regular
  • Posts: 295
    • View Profile
Re: Huge FTP Library for Windows (WinAPI)
« Reply #15 on: September 08, 2021, 09:32:14 am »
Since this library is so huge it kind of deserves its own post (Literally used every FTP function available in Wininet except for FtpCommandA).

Some dumb questions, but for the rest of us:
  • What file name should the above code be saved to? Is it a .BAS file? What name did you use?
  • Can you post a simple example program that loads your library, logs into a sample FTP site, changes to a certain folder, prints a directory listing, uploads a file, and downloads a file?

I think that would serve as a quick start to make this immediately useful for  people...

Thanks

Offline SpriggsySpriggs

  • Forum Resident
  • Posts: 1145
  • Larger than life
    • View Profile
    • GitHub
Re: Huge FTP Library for Windows (WinAPI)
« Reply #16 on: September 08, 2021, 02:10:08 pm »
@madscijr The filename doesn't matter. It's just code. You can simply paste it into QB64. The code that is there is the sample. The screenshots are the result of the code running. Read through the post and you'll see that the code contains some basic usage. I didn't break it up into a BI/BM library because those who seemed interested were not planning on using it and were only interested in some of the functions that make it up. I'm not going to always spend time making something into a library when it's obvious that it won't be used. It was mostly to show API usage and let people know that it is easy to do. IF you have interest in the library AND are wanting to use the code then I will look into it and see about cleaning it up and sharing it with you. If you aren't planning on using this code and are just giving me suggestions then I won't spend more time on the library and it shall remain as is.
Shuwatch!

Offline madscijr

  • Seasoned Forum Regular
  • Posts: 295
    • View Profile
Re: Huge FTP Library for Windows (WinAPI)
« Reply #17 on: September 08, 2021, 09:08:00 pm »
Great, thanks for clarifying!
I just wasn't sure if that was supposed to be a library file (bi/bm) which I haven't done anything with yet.
For now if it's all in one that should be enough to get me started.
Thanks again!