LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Windows can't open files transferred thro' ProFTPd (http://www.linuxquestions.org/questions/linux-networking-3/windows-cant-open-files-transferred-thro-proftpd-287200/)

zatka 02-07-2005 04:37 AM

Windows can't open files transferred thro' ProFTPd
 
Hi there!!!!!!!!!!

I recently installed proftpd and configured it thro webmin. But whenever I copy data from my linux box to my Windows PC the files get corrupted. Windows show errors like it can't read the files. But those same files run well on Linux........

I dunno wheres the problem.
can anyone help me out?

Thanks in advance.

Brian Knoblauch 02-07-2005 07:06 AM

Are you sending in the appropriate mode? Windows defaults to ASCII, which is fine for text, but for anything else, you'll need to force it to binary.

zatka 02-08-2005 12:50 AM

thanks bryan. it did work.

but 1 more small problem.....................
now whenever i want to copy the files i have to change the mode to binary manually.
can't binary be made default?
I made binary default thro webmin but it didn't work. I also checked proftpd.conf file under /usr/local/etc/, but it doesnt have option of the same.

Brian Knoblauch 02-08-2005 07:35 AM

You would need to set it as the default on the client somehow. Perhaps a command line option? I always just do it manually each time. :)


All times are GMT -5. The time now is 03:34 AM.