Here's a nifty little thing you can do that comes in handy here and there, particularly if you want to upload something and maintain the directory/file structure, or other features such as autoloading, self-booting, etc.: make a .ISO file of it, using the native Linux command dd. Once the user downloads the file, they can then just burn the image to a disk and it's back where it started.

All you have to do to turn a CD into an .ISO is enter at a command prompt:

dd if=/dev/cdrom of=cd.iso

Likewise, for a DVD, enter:

dd if=/dev/dvd of=dvd.iso

"if=" sets your input file, usually the name of a device.

"of=" sets your output file, which can be any legal filename. The file will end up in whatever directory you happen to be sitting in.

For more help, ask us at Newbies Linux Forum