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: decompress with power-ftp
katusa91

From: seoul, South Korea
Posts: 5
Member Since: 06/27/02
posted April 10, 2003 1:22 AM

can i decompress .zip file with power-ftp?
please, show me example vb code.
thanks.
Jeff Cranford



From: Rome, NY USA
Posts: 586
Member Since: 05/30/01
posted April 10, 2003 8:33 AM

This is a snippet from our recently updated FTP Tool docs:

Private Sub GetAndUnzip()
  ' Login to the server
  Ftp1.Login "myserver", "user", "pass"

  ' Specify the file type as ftpZip, this will cause it to be decompressed
  ' after transfer
  Ftp1.Type = ftpZip

  ' Retrieve the zip file, decompress all files into c:\test
  Ftp1.Retrieve "zipped.zip", "C:\test"

  ' Logout
  Ftp1.Logout
End Sub

If you don't have this version of the docs you may want to download it ( http://www.dart.com/downloads/getfile.asp?thefile=FtpTool.exe ) to get other helpful quick start information like this.
Reply | PowerTCP FTP for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX