i wanna transfer files from my windows pc to linux server.
suppose i have a file structure like this:
img /
logo.gif
css /
style.css
index.php
i tar.gz the directory, then upload, and then tar-xvzf
the uploaded file. but the result is 3 file in root like this:
img\logo.gif
css\style.css
index.php
when i use zip instead of tar.gz it breaks the structure. i.e. it unzip some directories as empty files. fr examples it makes an empty file named img.
what's the reliable solution to transfer files between windows and linux?
tar
are you using that generates such broken files?