| Dart Home | PowerTCP FTP for ActiveX | Custom Development | Reply | PowerTCP FTP for ActiveX Topics | Forums |
| Author | Forum: PowerTCP FTP for ActiveX Topic: Batch Download Help plz |
| Serena From: Paris, France Posts: 3 Member Since: 08/10/02 |
posted August 10, 2002 4:51 PM Im trying to make a remote script (ASP) for batch download but Im having a problem, what the script download is the files on the root and all subfolders but they are empty ( no content) the Ftp1.Trace doesnt show that the control try to get the other files. I will be more than greatfull if you could provide me with a small exemple for batch download with the control or if you can modify mine. my Script: FTP1.directory = "/" FTP1.list FTP1.mget "*" thank you in advance |
Jon Belanger![]() From: Rome, NY USA Posts: 310 Member Since: 06/10/02 |
posted August 12, 2002 6:02 PM I think I'm seeing what you're seeing. I will be doing more testing tomorrow. Sorry for the delay. |
| Serena From: Paris, France Posts: 3 Member Since: 08/10/02 |
posted August 13, 2002 12:46 AM it's ok I can wait.... thanks for taking the time to help me :) |
Jon Belanger![]() From: Rome, NY USA Posts: 310 Member Since: 06/10/02 |
posted August 13, 2002 10:53 AM It looks like you're having a file access problem. This is what I did to make it work: <% dim Ftp1 dim Trans dim Errs set Ftp1 = Server.CreateObject("Dart.Ftp.1") Set Trans = Server.CreateObject("Dart.DartStrings.1") Set Errs = Server.CreateObject("Dart.DartStrings.1") Ftp1.Timeout = 1000 Ftp1.Login server, user, pwd,account,21 Ftp1.Type = 1 Ftp1.Directory = "/home/jon" Ftp1.List "*" Ftp1.mget "*","c:\www\scripts",(Trans),(Errs) %> That c:\www\scripts directory needs to be written to by mget. That means that you need to give IUSER_MACHINENAME write access to whatever directory the Ftp component will write into. Hope that helps. |
| Serena From: Paris, France Posts: 3 Member Since: 08/10/02 |
posted August 14, 2002 11:22 PM it works :) thanks for your help regards, |
| Reply | PowerTCP FTP for ActiveX Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|