| Dart Home | PowerTCP FTP for ActiveX | Custom Development | Reply | PowerTCP FTP for ActiveX Topics | Forums |
| Author | Forum: PowerTCP FTP for ActiveX Topic: problem with MGet and ASP please help |
| xatef From: Toronto, ON USA Posts: 6 Member Since: 07/12/02 |
posted July 12, 2002 6:48 PM Im trying to copy all folder/subfolder/file from my FTP to the Hard disk but what happen is that just all files on the root and the structure of the subfolder (without files) get copied this is my script : IP = FTP IP port=port Username = username pw = password Set Ftp = CreateObject("Dart.Ftp.1") Ftp.Timeout = 10000 FTP.type = 1 Ftp.Login IP, Username, PW, ,Port Ftp.Mget "/*", "d:\TMP" am I doing something wrong ? comment or suggestion always welcome. thanks |
K M Drake![]() From: Utica, NY USA Posts: 3406 Member Since: 07/14/00 |
posted July 15, 2002 10:10 AM Hi, Does the Ftp.Trace show the control is even trying to retrieve the other files? During the MGet, the control sends out a "LIST -R", and then uses the server's response as the list of files to Retrieve. If the downloads are not even being attempted, it would suggest that the list returned by the server is incomplete. -ken |
| xatef From: Toronto, ON USA Posts: 6 Member Since: 07/12/02 |
posted July 15, 2002 11:18 PM the List returned from the server is incomplete. how do I fix that ? |
| xatef From: Toronto, ON USA Posts: 6 Member Since: 07/12/02 |
posted July 16, 2002 4:38 AM The problem happen with my FTP server only ... the script seem to work fine with other FTP server. |
K M Drake![]() From: Utica, NY USA Posts: 3406 Member Since: 07/14/00 |
posted July 16, 2002 8:50 AM Hi, MGet is just a way to do several Retrieves with a single call. You could do this manually by doing Lists on the directories, and then Retrieving each file listed. -ken |
Jon Belanger![]() From: Rome, NY USA Posts: 310 Member Since: 06/10/02 |
posted July 16, 2002 8:56 AM Does any of your directories start with a number on the server that you can't get to work? |
| xatef From: Toronto, ON USA Posts: 6 Member Since: 07/12/02 |
posted July 17, 2002 10:51 AM ken, yes that's what I did, I also modified the script to load from a txt file the list and then loop and download 1 by 1, it works fine now Jon, nope the folder have Short names and just letters, Im able to get my script to download without problem ... thanks for your Help guys |
| Reply | PowerTCP FTP for ActiveX Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|