Login  
Search All Forums
Dart Home | PowerTCP Zip Compression for Active | Custom Development Reply | PowerTCP Zip Compression for ActiveX Topics | Forums   
AuthorForum: PowerTCP Zip Compression for ActiveX
Topic: zipping a folder after adding files to it
tabs

From: Toronto, ON Canada
Posts: 16
Member Since: 04/22/05
posted April 26, 2005 12:29 PM

Hi I am having difficulty getting the files to be loaded into a folder,zipping the folder and then putting it on remote host using PowerTCP. I know we have to use the FileStore to add files to the archive but I am not sure how to accomplish that correctly and how to add this filestore thing as an accepted parameter in .Put of the PowerTCp.
help appreciated. thanks

archive.Add(selectedFiles(j))
archive.Zip(hostfilename)
'put on the remote ftp site.
FTPFile = .Put(hostfilename, remotefilename)
Tony Priest



From: Utica, NY USA
Posts: 8466
Member Since: 04/11/00
posted April 26, 2005 5:06 PM

From this post it appears you are using Zip for .NET and not the Zip tool. In the future, please post in the forum that pertains to the tool that you are using.

Please take a look at the FolderArchive sample to see how to zip a folder.

Also, for the FTP part, the Listview sample should help.

If after looking at that, you still can't figure it out, break the issue down and try to isolate the problem to either zipping or FTPing.

Reply | PowerTCP Zip Compression for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX