Page 1 of 1

PureBasic built in FTP doesn't support Microsoft FTP Service

Posted: Wed Feb 16, 2011 12:43 am
by jassing
Everything works as expected (uploads/downloads, change dirs, get dir) -- except
When you ExaminFTPDirector(), there is never anything examined.

Telling me to change some setting in teh server isn't going to fly with a hosted server -- moreover, I've tried a dozen+ ftp clients, all work with it -- including one from 1998... so it doesn't seem to be an issue so much with the server, vs. PureBasic.

I knwo the argument will be made "change a setting" and "we're not broke" -- the fact is if your the only one not playing nice with the server, then it means, you're the one that needs to change. Strict adherence to RFC's won't work either, since many orgs use MSFTP.

Re: PureBasic built in FTP doesn't support Microsoft FTP Ser

Posted: Wed Feb 16, 2011 8:30 am
by Rings
Topic moved, its not a bug, more a feature request
see help file

Re: PureBasic built in FTP doesn't support Microsoft FTP Ser

Posted: Wed Feb 16, 2011 7:20 pm
by jassing
Rings wrote:Topic moved, its not a bug, more a feature request
see help file
what is the "feature request"? to get the raw function to return anything?

Re: PureBasic built in FTP doesn't support Microsoft FTP Ser

Posted: Wed Feb 16, 2011 8:50 pm
by rsts
jassing wrote:
Rings wrote:Topic moved, its not a bug, more a feature request
see help file
what is the "feature request"? to get the raw function to return anything?
Maybe

Help says

Code: Select all

Note: for now, only unix-like servers are supported for directory listing. 

Re: PureBasic built in FTP doesn't support Microsoft FTP Ser

Posted: Wed Feb 16, 2011 9:43 pm
by jassing
rsts wrote:
jassing wrote:
Rings wrote:Topic moved, its not a bug, more a feature request
see help file
what is the "feature request"? to get the raw function to return anything?
Maybe

Help says

Code: Select all

Note: for now, only unix-like servers are supported for directory listing. 
Help also says to use the raw function for other servers...
Image

In code - when you issue While NextFTPDirectoryEntry() -- it never ENTERS THE LOOP.

FTP clients from 1997 (found an older one) work with iis... So it's not that it's tricky; it's that it's not returning any file names. To me, this is a bug.

Perhaps the help file was not written in english and there was an error in translation -- I'm not sure how I could misinterpret the sentence:
If the server isn't supported, please use FTPDirectoryEntryRaw() to get back the raw information about each entry.
So I guess the fix is to update the hep file to say "if the server isn't supported, tough"