PC Review


Reply
Thread Tools Rate Thread

How Do I Determine if a File has Completely Uploaded

 
 
DWinter
Guest
Posts: n/a
 
      26th Sep 2003
Problem:

Customer X is ftp-ing a file in ASCII mode to his directory
A process is checking to see if a file exists in Customer X's directory
When a file is found, the file is Moved to a working directory for
processing

Issue:
File is being moved before the ftp has completed. There is only a portion of
the file is available for processing.
This does not occur in binary mode, but cannot require customers to send
files in binary mode.

Question:
How do I determine that the file is completely uploaded. What is the
property or method needed on the file handle to determine when a file upload
is completed?

TIA


 
Reply With Quote
 
 
 
 
Gary G. Little
Guest
Posts: n/a
 
      29th Sep 2003
Lock the receiving file for exclusive access, or only look for it in the
"real" target directory.


--
Gary G. Little
Seagate Technologies, LLC

"DWinter" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Problem:
>
> Customer X is ftp-ing a file in ASCII mode to his directory
> A process is checking to see if a file exists in Customer X's directory
> When a file is found, the file is Moved to a working directory for
> processing
>
> Issue:
> File is being moved before the ftp has completed. There is only a portion

of
> the file is available for processing.
> This does not occur in binary mode, but cannot require customers to send
> files in binary mode.
>
> Question:
> How do I determine that the file is completely uploaded. What is the
> property or method needed on the file handle to determine when a file

upload
> is completed?
>
> TIA
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
In a File Upload form, dictate a file to be uploaded... =?Utf-8?B?R2xlbm5USw==?= Microsoft Frontpage 14 3rd Apr 2008 03:04 PM
Determine the File Type of an Uploaded File Spotted Owl Eater Microsoft ASP .NET 1 16th Nov 2005 05:00 PM
Uploaded File Storage - Database vs File System Arsen V. Microsoft ASP .NET 9 11th Feb 2005 04:48 AM
How can i determine how much of a file is uploaded at a given time? Showjumper Microsoft ASP .NET 2 15th Mar 2004 03:39 AM
Virus-Scanning uploaded files uploaded? Matt G Microsoft ASP .NET 1 22nd Aug 2003 06:44 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:59 AM.