Simple program to copy a list of files keeping the directory structure. Very useful to make a zip of the files that can not be sent via ftp
, so they can be quickly sent and saved in the right location.
With filezilla, the workflow is as follows:
- Export the
XML
file containing the files that could not be transfered - Convert the
XML
file toJSON
- Use an online tool to create the
JSON
- Copy the
JSON
to a javascript variable nameddata
and rundata.FileZilla3.Queue.Server.File.map(el=>el.LocalFile)
- Use an online tool to create the
- Save the
JSON
in a file and copy its location to thepath
variable inForm1.vb
- Change the
root
variable as desired (it will be the root inside the zip file) - Run the program
Step 2 can be replaced with whatever method to obtain a list of files in the JSON
format is desired.