Solved

FTP problems from a vb application

Posted on 2002-05-17
7
150 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 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
Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

778 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