Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

FTP incomplete transfer, no error message

Posted on 2004-11-11
7
Medium Priority
?
724 Views
Last Modified: 2013-11-29
Hello all,

I have a process running here where we transfer a CVS file from a handheld computer to a desktop PC via FTP.  The process has run fine in the past but for some reason it has been getting about half of the CVS file sometimes and just stopping.  Anyone have any ideas why it might do this?  Thank You

-Navicerts
0
Comment
Question by:Navicerts
  • 5
7 Comments
 

Accepted Solution

by:
jpbowdoin earned 500 total points
ID: 12554597
Is the handheld wireless, or can you wire it, either to the pc or the network?  Is the csv file readable with half the data, or it stops halfway through the upload?  My first knee jerk is that you're losing your connection to the server/network/resource you're trying to pass the file to, or there is a time out for lack of activity due to speed.  

Eliminate the network question by attaching the handheld to a pc via usb, or to a network physically if you have that capability, upload the file, if it doesn't go, there's something else going on.  If it does, it's a wireless connection issue potentially.
JP
0
 
LVL 7

Author Comment

by:Navicerts
ID: 12554653
Hello,

Thank you for the fast response.  Unfortunately, the handheld is not a wireless connection so that cannot be the error.  Well, I guess it could be the error but not as likely when it is hard wired to the LAN.  The way that it connects is a docking station and unfortunately i have not been able to replicate the error consistently yet, (working on that).  

When I open the CSV file and look at it i can see all of the records I am trying to move but i know that not all of them are making it (about half are).  It does not stop half way though the upload the process is a custom RPG program written on our AS/400 and it does not give an error message if not all the records make it unfortunately.  In addition it does not seem to lag or bog down, it all happens very fast but it doesn’t move all the data.

-Navicerts
0
 

Assisted Solution

by:jacc
jacc earned 500 total points
ID: 12554942
would you try to set the data transfer to binary????
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 7

Author Comment

by:Navicerts
ID: 12554996
Trying to find the RPG program source code so i can see if it is set to binary or ascii and other information i am lacking here ill post it when i find it.
0
 
LVL 7

Author Comment

by:Navicerts
ID: 12555094
I found the source code for the 5 RPG programs that handle the simple data tarnsfer (how annoying) :)

It appears that it is transferred in ASCII form but considering i have little to no experience in RPG programming i don't know if i want to try to set it to binary mode, i would have to recompile the program and possibly mess something up :(

I don't think however this is the problem because this error has never come up before in a few years of using this method until about a month ago.

I can't think of too much that has changed in the past month but here are afew things that might effect it somehow.

1) I changed the programs that create the CSV file (i don't think that this is the problem because the CSV file appears to be fine and it all takes place before any FTP'ing is involved.  In addidtion we can look at and open the FTP files befopre they are FTP'ed and the records are all there but they are not all making it for some reason.  Also, if it does not work then we can try to FTP the identical CSV file again and it might work)

2) A new switch was installed on the network.  I don't know much about this i am the programmer not the systems administrator.

Thank You

-Navicerts
0
 
LVL 7

Author Comment

by:Navicerts
ID: 12556071
Ok here is what i have done...

I have replicated a test area in which i can upload the same CSV file that failed as many times as i want.  Unfortunatly i have not been able to replicate the error again yet.  Every time i upload the CSV file via the RPG program that uses FTP it goes just fine.  

Anyone have any ideas on things i can try that might make it fail?  

-Navicerts
0
 
LVL 7

Author Comment

by:Navicerts
ID: 12609166
It has been awhile i don't think there is going to be anymore action on this post so ill split the points between you guys for your help.  Thank You


PS: I was not able to find any culprit yet :(
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This program is used to assist in finding and resolving common problems with wireless connections.
Unable to change the program that handles the scan event from a network attached Canon/Brother printer/scanner. This means you'll always have to choose which program handles this action, e.g. ControlCenter4 (in the case of a Brother).
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question