: I have a problem concerning file transfers from Unix to Dos and back to Unix.
: I copied a unix executable file from my account to disk drive, and now I want
: to copy it back on to my account. (xview) But when I copy the file back to my
: account and run it, it gives me a segmentation fault, and a core dump. DOes
: know how to do the file transferring without haveing any core dumps and have
: the file working?
Firstly, are you sure the executable was working before you downloaded it
onto the disk ? you may not have compiled it correctly, even thought it
produced the final executable, and that's when you usually find core dumps
and segmentation faults when you run it.
However, if this was a utility installed on the system, which means it was
working properly to start with, then did you make sure when you downloaded
the file, you used BINARY transfer mode? (i.e type --> bin at the ftp
prompt) . Also, did you also uploaded it back using BINARY transfer
mode? (use ASCII for text files only)
If you did transfer the file using the correct mode, then i don't see
how FTPing the file back and forth could possiblly damage the file, and
causing core dumps.
Hope this helps,
J.L
*****************************************************************************
Jack Liu | It took me fif* years to discover that i had no
La Trobe University | talent for writing, but i couldn't give up, because
*****************************************************************************