I've only been coding for under 2 months now, and I'm working on a program.
Basically it has a built in FTP uploader, so DotNetZip will put any screenshots taken, into a single .zip folder, then that .zip folder will be uploaded to the ftp server.
However, when the screenshots are taken, they are called "screenshot*randomnumber*.bmp" so obviously, i cannot tell the the uploader to upload specific files as they will have different random names all the time.
So basically I was wondering how I could make it zip the folder itself into a .zip.
This is what I have so far:
And obviously here something needs to be done with the zip.AddFile to convert it to zip.AddFolder or something similar.
Private Sub btnUpload_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnUpload.Click
'Create Zip File
Using zip As ZipFile = New ZipFile()
zip.AddFile("M:\ESP Anti-Cheat BETA v0.1\screenshot30707.bmp")
Thanks in advance!