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: Retrieve not able to append?
nick_mages
nmages@doncarsys.com

From: Winnipeg, MB USA
Posts: 14
Member Since: 07/05/02
posted July 17, 2002 11:18 AM

I want to download multiple files from the server into one file on the client, how would I go about doing this? 

I've tried using a string variable to recieve the file instead of a filename, but retrieve comes back with an app error. If this is the correct way to do this, how do I make the files stream into a variable? I'm using Powerbuilder 6.5.
Jon Belanger



From: Rome, NY USA
Posts: 310
Member Since: 06/10/02
posted July 17, 2002 2:32 PM

This should work

string s
s = ""
ftp1.get filename, REF s

pass the string in by reference. Also, you should probably create another string and append the two string together to get the other file info after the first file info. You can't pass the variable 's' back into the next get statement as it will be reset.
Reply | PowerTCP FTP for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX