| Dart Home | PowerTCP FTP for ActiveX | Custom Development | Reply | PowerTCP FTP for ActiveX Topics | Forums |
| Author | Forum: PowerTCP FTP for ActiveX Topic: LIST Bug = "WORD - WORD" - Tony check it out! |
| N/A | posted April 29, 2001 3:35 AM First of all thanks for the prompt response! I really appreciate that. Now, my "List Bug thread up, is exactly as the guy with "Word - Word" thread says. I'm happy to hear that you're gonna get fixed your parsing/Listing object. As for the Mget Bug thread , please give me your best shot to use it to retrieve the entire tree under the "My Documents" directory, say the path is: "/d:/My Documents/". Maybe I am too tired, because i have tried everything you guys say, I know the help file by heart and still cannot get the hang of it. Oh, does it matter that i connect to my own ftp server? Thanks. (although i made my own mget function, others may not be able to, so...) |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted April 29, 2001 11:26 AM I'm reasonably sure that it's not going to support the drive change. If I were you I would only use what comes after ":" as the path, then use an API function ( like CurDir in VB) to change to the drive before calling MPUT. Hope this helps! Tony |
| N/A | posted April 29, 2001 2:41 PM :) Dear Tony, thx again, but it's not about MPUT, it's about MGET. This is the curent remote path the server gives me: "d:/NewFolder/". Please tell me how to use the Mget function to get the entire tree under the "NewFolder" folder, using MGET. Everytime I use it, MGET sets one more diretory called "d" , which does not exit on the server, so it cannot go further than that. Please try it for yourself, by logging to ip: ftp.neatsolutions.ca Port: 33 User: test Pass: test Please try it for yourself. Thank you. |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted April 29, 2001 3:09 PM It's because the server reports the root as "d:/" instead of "/" like most servers. Looks like MGET is not going to work unless you can get the sysadmin to stop doing that. Sorry, Tony |
| N/A | posted April 29, 2001 3:30 PM This is my own server Tony, and for the port 21 I use indeed Microsoft FTP Service 5.0, which it does respond with "/" as the root. But the application I develop now I need to distribute it to over 50 clients. If they will try to access ftp servers like ServU - the one you connected to, and the server responds with the full path as the root directory, they will be able to retrieve nothing. Please report the bug to your development area, because really now, this is not really compliant to RFC 949. The server can give you what ever root directory it feels like as long as it exists. More than that, I do consider that this is a major bug in the MGET method, if you guys want to be compliant to RFC 949 as you claim. You're welcome to use my testing and ideas. Cheers, Buggy. (P.S.)- tell your development area to start with the folder name(that will be retrieved), as the root of the local tree directoy that will be created, not start with the entire path the server gives you. That'll do it. Works in my mget function. :) |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted April 29, 2001 3:44 PM I have already reported this as a feature request that may or may not get implemented in the future, but I am not sure how we could change it. Your suggestion most likely would not work in all cases. We can only ask for what we are given. We are given a root and a file name. When we assemble the list of files to retrieve we append the root to the file name and begin retrieving the files. The problem is your server is incorrectly reporting the root as the local directory instead of "/" like it should be. By the way, there is no mention of the word "MGET" in RFC959. We decided to add it as a convenience to be used on servers that correctly report the root. Tony |
| N/A | posted April 29, 2001 4:17 PM Correct, I am aware that there is no mention of the word "MGET" in RFC959, I was reffering to the fact that a server can send you the root directory whatever it likes as long as it exists. Say if you do not want to limit the user to a specified directory "/", but to let him know exactly where he could go, there is no specification in RFC959 that says that the root directory should always be "/". Correct? You know what I am trying to communicate here ... Anyway, would be nice for PowerFTP to be able to retrieve files from any given root path, not to be limited to "/". Please understand that I am only trying to help here, not to criticize anyone. Also, if it is possible for you to pay more attention to my suggestion, you'll realize that'lll work in any case, because in the end, when you actually retrieve a file, it is obvious that you will use the entire remote path. My suggestion was only for the point when you create the local directories tree, which should be identical to the one on the server. Provide me with an email and i'll send you the entire recursive function for the MGET + the LIST Bug fixed. Cheers, Buggy. (Again, please don't take it as I am trying to criticize your work, which I so much respect, but only as a bit a help - I am actually looking for a job right now :)...http://webmaster.neatsolutions.ca/resumeweb.htm |
| Reply | PowerTCP FTP for ActiveX Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|