Solved

FTP problems from a vb application

Posted on 2002-05-17
7
147 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
7 Comments
 
LVL 69

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 69

Expert Comment

by:Éric Moreau
ID: 7015916
try closing the connection between each file.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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 69

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Windows 10 start screen issues 9 51
VB6 Compile Compatibility Issue 4 87
How does CurrentUser work? 10 31
Can we place a tooltip on the actual vb6 form 5 35
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

929 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now