473,388 Members | 1,207 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

FTP upload of JPG often results in corrupted remote file

I am uploading a JPG file using FTP to a remote server and often the file is
corrupted at the server end. The file size is the same, but the image often
has a block of garbage embedded, or the image goes funky (please excuse the
technical term) from a point to the end of a line, or to the end of the file.
I assumed that the FTP prococol was responsible for error correction, but
the source file is always correct and many of the files arrive at the server
end fine, but often they are corrupted. The files are digital photos < 30k
in length. I am using a trial version of IP*Works and their site has nothing
on the issue. I see nothing in the component that addresses error correction.

Is there any relatively simple way to implement error detection so the file
can be resent if the remote version difers from the local copy?

Nov 22 '05 #1
2 4169
Make sure that you are setting the transfer mode to binary. The default
tends to be ASCII.

Richard Rosenheim
"Byron" <By***@discussions.microsoft.com> wrote in message
news:54**********************************@microsof t.com...
I am uploading a JPG file using FTP to a remote server and often the file is corrupted at the server end. The file size is the same, but the image often has a block of garbage embedded, or the image goes funky (please excuse the technical term) from a point to the end of a line, or to the end of the file. I assumed that the FTP prococol was responsible for error correction, but
the source file is always correct and many of the files arrive at the server end fine, but often they are corrupted. The files are digital photos < 30k in length. I am using a trial version of IP*Works and their site has nothing on the issue. I see nothing in the component that addresses error correction.
Is there any relatively simple way to implement error detection so the file can be resent if the remote version difers from the local copy?

Nov 22 '05 #2
Thanks for the reply. I had it set as default, assuming that the server
would figure it out. It dawned on me earlier today to set it explicitly to
binary and I haven't seen the issue recurr since and your reply confirms that
was the right answer. Odd the way it worked probably > 90% of the time set
as the default. You'd think it would consistently work or fail given the
same file type every time.

"Richard L Rosenheim" wrote:
Make sure that you are setting the transfer mode to binary. The default
tends to be ASCII.

Richard Rosenheim
"Byron" <By***@discussions.microsoft.com> wrote in message
news:54**********************************@microsof t.com...
I am uploading a JPG file using FTP to a remote server and often the file

is
corrupted at the server end. The file size is the same, but the image

often
has a block of garbage embedded, or the image goes funky (please excuse

the
technical term) from a point to the end of a line, or to the end of the

file.
I assumed that the FTP prococol was responsible for error correction, but
the source file is always correct and many of the files arrive at the

server
end fine, but often they are corrupted. The files are digital photos <

30k
in length. I am using a trial version of IP*Works and their site has

nothing
on the issue. I see nothing in the component that addresses error

correction.

Is there any relatively simple way to implement error detection so the

file
can be resent if the remote version difers from the local copy?


Nov 22 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Amy Kimber | last post by:
Hello all, ok, I have a file upload secton to my site, two pages, one with a form and one that does the uploading.... some files upload fine, other don't an exe of 300k will upload, but a...
3
by: Prakash | last post by:
Hi, We face problems uploading excel (with macros) documents using HTML File Upload. The file contents are corrupted while viewing the same. However, we are able to upload excel (w/o. macros)...
2
by: Byron | last post by:
I am uploading a JPG file using FTP to a remote server and often the file is corrupted at the server end. The file size is the same, but the image often has a block of garbage embedded, or the...
4
by: Mattias | last post by:
Hi I am building a simple database system in MS Access 2002 and would like to create a command button that upon clicking transfers the current mdb-file to an ftp-server. Is there a solution for...
13
by: Neo Geshel | last post by:
I have examined about 80+ different upload scripts on the 'net, both in VB and C#, and none seem to do what I need them to do. Perhaps someone here can point me somewhere that Google hasn't...
18
by: Jen | last post by:
I'm using Microsoft's own VB.NET FTP Example: http://support.microsoft.com/default.aspx?scid=kb;en-us;832679 I can get the program to create directories, change directories, etc., but I can't...
2
by: Mike Kober | last post by:
I am having issues with the File Upload control for sending files to the server via HTTP. The speed of the upload is often between 20kbs and 40kbs. If I use the LAN at work to the server, it...
0
by: Buddy Home | last post by:
Hello, I'm trying to upload a file programatically and occasionally I get the following error message. Unable to write data to the transport connection: An established connection was aborted...
0
by: Luc The Perverse | last post by:
I am designing an application which will upload files to a remote server (incidentally HTTP post if that makes any difference). This is a "client application" which, hopefully, hundreds of people...
21
KevinADC
by: KevinADC | last post by:
Note: You may skip to the end of the article if all you want is the perl code. Introduction Uploading files from a local computer to a remote web server has many useful purposes, the most...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.