PureBasic built in FTP doesn't support Microsoft FTP Service

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
jassing
Addict
Addict
Posts: 1885
Joined: Wed Feb 17, 2010 12:00 am

PureBasic built in FTP doesn't support Microsoft FTP Service

Post 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.
User avatar
Rings
Moderator
Moderator
Posts: 1435
Joined: Sat Apr 26, 2003 1:11 am

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

Post by Rings »

Topic moved, its not a bug, more a feature request
see help file
SPAMINATOR NR.1
jassing
Addict
Addict
Posts: 1885
Joined: Wed Feb 17, 2010 12:00 am

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

Post 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?
rsts
Addict
Addict
Posts: 2736
Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA

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

Post 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. 
jassing
Addict
Addict
Posts: 1885
Joined: Wed Feb 17, 2010 12:00 am

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

Post 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"
Post Reply