Solved

FTP problems from a vb application

Posted on 2002-05-17
7
158 Views
Last Modified: 2010-05-02
I have a vb application that is a content management system for a website. It FTP's any new content or components to the destination of the live website every half hour using the Internet Transfer Control. The problem is if there is more than one component waiting to be FTP'ed it fails on the transfer of the second component and returns the following error "550 Content: The system cannot find the file specified" even though its the same destination as the first transfer. The file definitely exists there. It will continue on and transfer a third component sucessfully. Also a half an hour later the application will successfully transfer the failed component when it is first in the queue.All theories are welcome.
0
Comment
Question by:aellard
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 200 total points
ID: 7015899
I also had this problem last year. I resolved it by having a loop (1 to 10 I think). Inside each loop, I open the connection transfert file and CLOSE the connection. This really helped me.
0
 

Author Comment

by:aellard
ID: 7015911
I have a loop in it at the moment that loops through all the components that are in the queue but it still always seems to fail on the second component. The same code is used for the transfer of content files to the live site and it works fine for all content files that are in the queue.
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 7015916
try closing the connection between each file.
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 7016639
i am with emoreau 100%. i had that problem too (but not with control) and resolved open/close connection for each file. It appears like a time out problem from time to time so connection is lost.
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 7060691
This question appears to be abandoned. A question regarding it will be left in the Community Support
area; if you have any comment about the question, please leave it here.

Unless there is objection or further activity, one of the moderators will be asked to accept the comment
of <emoreau>.

The link to the Community Support area is:
http://www.experts-exchange.com/jsp/qList.jsp?ta=commspt

DO NOT ACCEPT THIS COMMENT AS AN ANSWER.
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 7061040
I agree.
0
 
LVL 1

Expert Comment

by:Moondancer
ID: 7065899
Thanks, emoreau and Richie for your help here.

I have finalized this question, and will monitor it for comments.

Moondancer - EE Moderator
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

691 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