473,396 Members | 1,853 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,396 software developers and data experts.

Knowing from VB6 when a file is completely trasferred

Hi folks. I'm running into a problem figuring out how to proceed with
the following. I have files being transferred from several machines
through a separate sftp (SSH) connection to a server. I need to have
a program running on my server, developed in VB6, that parses these
files and inserts them into a database. The problem I'm running
across is finding out the best way to see if the files have been
totally transferred, as I don't want to run a program on a file that
is still being transferred, as we all know, that can cause errors. I
took care of this problem before by sending a dummy file after the
real file has been transferred, and if the program detects the dummy
file, then it knows it can start procedures with the real file.
However, there has to be a better way to do this. Has anyone had to
deal with something like this before? If so, what solutions came
about?

Thanks for any help.
- Jason
Jul 17 '05 #1
2 1763
On 30 Sep 2003 05:37:28 -0700, op********@aol.com (Jason) wrote:

Rename the file once it is transferred
Jul 17 '05 #2
er*****@nowhere.com (J French) wrote in message news:<3f***************@news.btclick.com>...
On 30 Sep 2003 05:37:28 -0700, op********@aol.com (Jason) wrote:

Rename the file once it is transferred


And once again, the simplist solution poses to be the best one.
Thanks. I'll have to ask my parents about any brain injuries when I
was a child.

-Jason
Jul 17 '05 #3

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

Similar topics

1
by: Bizt | last post by:
Hi, I would like to create a menu where the menu options were taken from an XML file. The reason is that I would be able to update the xml file (by simply adding new child nodes) after I...
8
by: IGC | last post by:
I have a requirement to record in a database when a file is finished downloading to the end-user. Currently when a user clicks a download icon for a file it directs to an ASP page that records the...
1
by: Greg Lindstrom | last post by:
I have an odd problem that I'm sure someone here can help me solve. I am using Python 2.3 on a Linux box to process text files. At one point in my automated process, I have to zip and ship the...
2
by: Niklas Ringdahl | last post by:
Hello. I am using databindings to bind my dataset to comboboxes, textboxes and labels. Some of my UI depends on knowing when the user changes the values, but I have some problems knowing when my...
9
by: DraguVaso | last post by:
Hi, I'm writing a VB.NET application who has to insert/update and delete a whole bunch of records from a File into a Sql Server Database. But I want to be able to knwo the 'result' of my ctions....
7
by: chad | last post by:
let's say I'm transferring a large file like 100MB over to a folder. The program detects when the file arrives. However, I can't figure out how to know when the file is totally transferred over....
3
by: Thomas S | last post by:
I'm trying to load and parse an xml file with XmlReader and have it completely IGNORE the DTD in the xml file. If I set "ValidationType = ValidationType.None" it STILL downloads the DTD even...
5
by: Moikel | last post by:
Hi, I've decided to write a little archiving program (something similar to a simple winZip) and I need a way to determine the number of bytes in a file. I'm using getc() to read chars from the...
6
by: Homer J. Simpson | last post by:
Hi all, I have enough experience with HTML/classic ASP to get by, and I'm trying to learn ASP.NET. Traditionally, I've taken the habit of breaking out extra-long CSS files into multiple,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.