Login  
Search All Forums
Dart Home | PowerTCP FTP for ActiveX | Custom Development Reply | PowerTCP FTP for ActiveX Topics | Forums   
AuthorForum: PowerTCP FTP for ActiveX
Topic: MGET fail by mystery putting content from one file to all other files
hiiingpoh
ing-poh.hii@uk.mci.com

From: C Spur Ground Floor, United Kingdom
Posts: 2
Member Since: 11/11/03
posted November 11, 2003 12:13 AM

I am new in using PowerTCP FTP in PB8 and I encounter problem to retrieve several files by using wild character.
For example:
test1.dat size 400k
test2.rdy size 10k
test3.txt size 150k

My PB:
iftp.Mget('test*.*')

the retrieve is succeed however the Mget place the contents of test1.dat to test2.rdy and test3.txt (so all files have identical content).

I have tried to use iftp.Retrieve() to load each file explicitly but it still fail with same error. Is it because I need to reset some flag or what ?

Please help, urgent & many thanks.
hiiingpoh
ing-poh.hii@uk.mci.com

From: C Spur Ground Floor, United Kingdom
Posts: 2
Member Since: 11/11/03
posted November 11, 2003 12:34 AM

Sorry, it was my mistake, I have wrongly passed in each file name to FileCopy() function which duplicate the contents to the rest of files.

Many thanks, :].
Reply | PowerTCP FTP for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX