|
-
Oct 29th, 2002, 06:22 AM
#1
Thread Starter
Retired VBF Adm1nistrator
Files become corrupt during upload
Anyone know off-hand why a unix to nt FTP of a zip file could become corrupt en-route ?
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Oct 29th, 2002, 06:45 AM
#2
Hyperactive Member
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.
-
Oct 29th, 2002, 07:09 AM
#3
Thread Starter
Retired VBF Adm1nistrator
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
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Oct 29th, 2002, 09:45 AM
#4
Monday Morning Lunatic
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
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.
It's the conversion of line endings, if you hadn't noticed
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Oct 29th, 2002, 09:50 AM
#5
Thread Starter
Retired VBF Adm1nistrator
Yeah sorta knew that, but I had assumed at the time that the ftp client ("ftp") would have defaulted to binary
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Oct 29th, 2002, 09:59 AM
#6
Monday Morning Lunatic
Hmm. Mine does
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Oct 29th, 2002, 10:02 AM
#7
Thread Starter
Retired VBF Adm1nistrator
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
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Oct 29th, 2002, 10:12 AM
#8
Monday Morning Lunatic
Hmm. Probably configured that way. Or it might depend what server you connect to.
PS: Telnet is psychotically insecure, use SSH in preference
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Oct 29th, 2002, 10:16 AM
#9
Thread Starter
Retired VBF Adm1nistrator
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
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Oct 29th, 2002, 10:18 AM
#10
Thread Starter
Retired VBF Adm1nistrator
Mike, on a totally unconnected note, any thoughts on this ?
http://www.vbforums.com/showthread.p...hreadid=209400
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Oct 29th, 2002, 10:20 AM
#11
So Unbanned
I get this problem sometimes.
-
Oct 29th, 2002, 10:22 AM
#12
Monday Morning Lunatic
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
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Oct 29th, 2002, 10:24 AM
#13
Thread Starter
Retired VBF Adm1nistrator
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
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Oct 29th, 2002, 10:32 AM
#14
Monday Morning Lunatic
That'll be VB. Hang on, will knock up something in C++ for you (language of choice for me )
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Oct 29th, 2002, 10:35 AM
#15
Thread Starter
Retired VBF Adm1nistrator
Ah well I mean I do know how it works and the concept and all that perfectly.
I just dunno if its working
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
Oct 29th, 2002, 10:42 AM
#16
Monday Morning Lunatic
I was going to check it a little more accurately
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Oct 29th, 2002, 10:47 AM
#17
Thread Starter
Retired VBF Adm1nistrator
I'm installing *********++ as we speak
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|