| Dart Home | PowerTCP FTP for ActiveX | Custom Development | Reply | PowerTCP FTP for ActiveX Topics | Forums |
| Author | Forum: PowerTCP FTP for ActiveX Topic: Zip and Upload with AxDartFTP |
| jprobalo From: Lisbon, Portugal Posts: 1 Member Since: 03/27/07 |
posted March 27, 2007 3:31 PM Hello, I'm using the AxDartFTP.dll to upload a file with the property Type = "ftpZip". So far, so good. My problem is that "he" creates the whole directory structure from the file browse inside the zip file. He's it possible to put only the file inside the zip? Tks, Joćo |
| Amit From: Rome, NY USA Posts: 315 Member Since: 03/15/06 |
posted March 29, 2007 12:42 PM Hello, I would suggest you to try setting the applications directory first and then call the Store, MPut or Put method. Likewise if you use following code snippet and thereafter unzip the file you will find this file inside test folder. ftp1.Type = ftpZip ftp1.StoreType = storeReplace ftp1.Store "\test\test.txt", "D:\test\test.txt" Setting the current directory first will create a zip file with only the uploaded file and no folders. You have to use Visual Basic ChDir command to change the current working directory. CurDir = "d:\test" ftp.Store "\text.txt", "text.txt" I hope this is of help. Regards, Amit |
| Reply | PowerTCP FTP for ActiveX Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|