How to disable characters wich are added by the unix system after FTP a file
When I FTP a file to a Linix system, the system adds "garbage" data to the file(at top of the file). I'm not a Linux expert but I do now that Linux adds info to each file for it's own interpertation. Does anyone now how to disable this feature when I FTP the file.
Example File used befor ftp: $SOH$2003101211430620031012114306108980685401O3$EOH$ UNB+GGOL:2+1089378044:55+ABNANL2A:55+031110:1407+PAY1T1C1DB' UNH+1+PAYMUL:D:96A:UN:AAB' BGM+452+33354+9' DTM+137:20050201:102' After FTP: @^&%$SOH$2003101211430620031012114306108980685401O3$EOH$ UNB+GGOL:2+1089378044:55+ABNANL2A:55+031110:1407+PAY1T1C1DB' UNH+1+PAYMUL:D:96A:UN:AAB' BGM+452+33354+9' DTM+137:20050201:102' Could anyone inform me about this? Thanx |
Moved: This thread is more suitable in Linux - Newbie and has been moved accordingly to help your thread/question get the exposure it deserves.
--jeremy |
maybe it's the way you're ftp'ing.
Are you ftp'ing from a windows system? It may be because you're doing something like: start-run-cmd ftp 66.666.66.6 user me passwd me2 cd some/subdirectory/on/a/remote/linus/machine put filename.txt bye And then you find out your file is $h!tE. BIN. ftp defaults to ASCII, so you may be describing the ASCII corruption. Log into the linux machine with ftp but before you put the file type "bin" to set binary as the way you're sending the file. See if that works. ß |
All times are GMT -5. The time now is 01:34 PM. |