Dart Home | C++ Professional Toolkit | Custom Development | Reply | C++ Professional Toolkit Topics | Forums |
Author | Forum: C++ Professional Toolkit Topic: A problem about PowerFTP(ver 4.1) :when execute |
cylin cylin@cht.com.tw From: Taipei, USA Posts: 6 Member Since: 07/10/03 |
posted July 10, 2003 12:05 PM I want to write a program which can put a list of files into several different server. My steps are , the tool I use is VC++ 6.0: ________________________________________________ Location 1: if (State()!=PT_CLOSED) Close(); while (not end of final ftp server) { Get Server IP, username, password... LoginHost(.......); break; } _______________________________________________ for example, when I store file ok in the first ftp server, I will check the ftp state if PT_CLOSED, if it is true I will go to connect next ftp server and do transfer list of file in ReplyEvent procedure, after finish transfer file I will close the connection..... When I test the program, sometimes(not everytime) the program hang up after do LoginHost and I can't see any reply in the Exception ,Reply, log Event; if anyone meets the same problem like me? Thanks. |
cylin cylin@cht.com.tw From: Taipei, USA Posts: 6 Member Since: 07/10/03 |
posted July 10, 2003 12:08 PM an additional remark is when I finish transfer the file to ftp server, I had do the action "Close()" |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted July 10, 2003 12:15 PM The best I can do do is point you to one of the examples. As I recall there is one called batch-upload that may help. |
cylin cylin@cht.com.tw From: Taipei, USA Posts: 6 Member Since: 07/10/03 |
posted July 10, 2003 9:45 PM Thank you Tony, I had try to find about the topic aobut "batch-upload", but I don't find any example in this web site, could you tell me how to find it! Best Regards, cylin |
cylin cylin@cht.com.tw From: Taipei, USA Posts: 6 Member Since: 07/10/03 |
posted July 10, 2003 10:03 PM I had seen the example about the batch upload "files"(in the PowerTCP 4.1 for visual C++ sample) , but it was not batch login server. Just I did a experiment, I repeat to connection a group of ftp server and every ftp server I just upload one file; Sometimes it can work from first to last ftp server sucessfully, but sometimes it meet the problem I said before, after doing LoginHost(), no reply event can't be observed. And all process were been hanged up! ><~ |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted July 10, 2003 10:04 PM I was referring to the "background ftp" sample that gets installed when you run the setup. Look under the samples directory for a directory called "bkftp" |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted July 10, 2003 10:09 PM This is not issue that we can get into on the forum. You'll need to get a support package so that we can exchange code examples and narrow this down. Please contact support@dart.com or call 315-790-5456 for more information. |
cylin cylin@cht.com.tw From: Taipei, USA Posts: 6 Member Since: 07/10/03 |
posted July 14, 2003 9:30 AM Hi, Tony: I found my problem like the topic http://support.dart.com/postings?topicid=2483&search=1 But in these discussion, there still have no answer, if the problem had been sloved, could you tell me how to slove it! By the way, I am confused that executable file developed using PowerTCP license problem, I had seen others posts; In my computer , I just can licence PT-119, and others part I didn't have the right to use, does it mean the product I bought is a lower license version? Regards, David |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted July 14, 2003 12:50 PM I'm sorry, but I honestly don't understand what you are asking. At this point I would again recommend that you get support so that you can talk this over with someone. I posted the number to call in my previous post above. |
cylin cylin@cht.com.tw From: Taipei, USA Posts: 6 Member Since: 07/10/03 |
posted July 14, 2003 8:32 PM Thank you, Tony: I had e-mail my question to the support department last week; but they told me I must pay money to get answer ^^" Finally, I just want to know if there is any answer for the question in http://support.dart.com/postings?topicid=2483&search=1 Regards, David |
Tony Priest![]() From: Utica, NY USA Posts: 8466 Member Since: 04/11/00 |
posted July 17, 2003 10:35 AM No. The customer never contacted us so his issue was never resolved. |
Reply | C++ Professional Toolkit Topics | Forums |
This site is powered by
![]() |