Anyone know off-hand why a unix to nt FTP of a zip file could become corrupt en-route ?
Printable View
Anyone know off-hand why a unix to nt FTP of a zip file could become corrupt en-route ?
are u blaming software here? If not, here is probably what most likely is hapenning. Files getting corrupted while be uploaded is rare but possible. It depends on your network and network route. Factors such as the node they pass thru, the QOS of the node and network provider come into play. I remember I faced your problem when I was in India. I was try to upload files from my WinME laptop to a Linux server somewhere in LA. My Indian ISP took their connection from a Singapore provider that had a very poor network. In the process, data was lost en route. This normally happens over large distances. There is little you can do about it but change your ISP. I don't face any such problems like this in the US though. What is the your IP and the server IP? Lemme try a trace route and see if I could pin point any problems for u.
The ftp client on the unix box was defaulting to ascii files, whereas in fact it was a binary file I was uploaded.
Problem solved :)
From Unix->Unix you can get away with ASCII for binary files I think, it's when you get Windows involved that everything goes pear-shaped.Quote:
Originally posted by plenderj
The ftp client on the unix box was defaulting to ascii files, whereas in fact it was a binary file I was uploaded.
Problem solved :)
It's the conversion of line endings, if you hadn't noticed :)
Yeah sorta knew that, but I had assumed at the time that the ftp client ("ftp") would have defaulted to binary
Hmm. Mine does :confused:
If I just telnet into my shell, and type in ftp, I have to send the "binary" command then to make sure its using binary.
Otherwise it uses ascii
Hmm. Probably configured that way. Or it might depend what server you connect to.
PS: Telnet is psychotically insecure, use SSH in preference :)
Well it is ssh im using. Most people I talk to dont seem to know what ssh is though so I just dont bother mentioning ssh anymore ;)
Mike, on a totally unconnected note, any thoughts on this ?
http://www.vbforums.com/showthread.p...hreadid=209400
I get this problem sometimes.
:(
Um. For linear the average is N/2 I think. I think it's logarithmic for binary search.
I haven't done Java for a while though (I have a course on it here though, ugh) so I can't really help :-/
As for SSH.....well, spot the person who still needs to use his router :p
Yeah I know the running times of the algorithms etc.
I'm just not sure if its actually giving the right results.
Have ported the code over to VB and am getting weirrd results :rolleyes:
That'll be VB. Hang on, will knock up something in C++ for you (language of choice for me :D)
Ah well I mean I do know how it works and the concept and all that perfectly.
I just dunno if its working :)
I was going to check it a little more accurately :)
I'm installing *********++ as we speak :rolleyes: