Click here to Skip to main content
15,911,890 members
Home / Discussions / C#
   

C#

 
GeneralRe: WinControls and System.Management Pin
Dave Kreskowiak16-Jun-04 9:14
mveDave Kreskowiak16-Jun-04 9:14 
GeneralNet.Socket problem Pin
tweakk16-Jun-04 8:29
tweakk16-Jun-04 8:29 
GeneralRe: Net.Socket problem Pin
Heath Stewart16-Jun-04 10:17
protectorHeath Stewart16-Jun-04 10:17 
GeneralRe: Net.Socket problem Pin
tweakk16-Jun-04 10:35
tweakk16-Jun-04 10:35 
Generalservice that collect files.. Pin
japanreddy16-Jun-04 6:48
japanreddy16-Jun-04 6:48 
GeneralRe: service that collect files.. Pin
Colin Angus Mackay16-Jun-04 7:17
Colin Angus Mackay16-Jun-04 7:17 
GeneralRe: service that collect files.. Pin
japanreddy16-Jun-04 7:22
japanreddy16-Jun-04 7:22 
GeneralRe: service that collect files.. Pin
Colin Angus Mackay16-Jun-04 8:48
Colin Angus Mackay16-Jun-04 8:48 
japanreddy wrote:
but fails to transfer saying that "the file can not be found".

Is the file physically there? Or in the first failed attempt did it remove the file? (Do you remove the files once they are transferred? If yes, could this be happening even if the file fails to transfer?)

Another, possible workaround is to build in a wait step before transferring the file. You see the new file for the first time, but you wait until the next cycle of the service before attempting to transfer it. As your FTP component returns the list of files as datasets, you could retain the previous dataset and compare it with the new dataset and transfer files that appear on both. BTW, how often do you check the directory for new files?

However, it would be better to find out why the files are failing to transfer and why on the second attempt the file is not found.

Does this help?


"You can have everything in life you want if you will just help enough other people get what they want." --Zig Ziglar

The Second EuroCPian Event will be in Brussels on the 4th of September

Can't manage to P/Invoke that Win32 API in .NET? Why not do interop the wiki way!

My Blog


GeneralRe: service that collect files.. Pin
japanreddy16-Jun-04 9:13
japanreddy16-Jun-04 9:13 
GeneralChange OLE Link Path in a word document Pin
ASerfes16-Jun-04 6:22
professionalASerfes16-Jun-04 6:22 
Questioncan i capture the double click event of a CELL in a windows datagrd? Pin
robmays16-Jun-04 6:14
robmays16-Jun-04 6:14 
AnswerRe: can i capture the double click event of a CELL in a windows datagrd? Pin
Heath Stewart16-Jun-04 8:59
protectorHeath Stewart16-Jun-04 8:59 
GeneralRe: can i capture the double click event of a CELL in a windows datagrd? Pin
robmays16-Jun-04 9:27
robmays16-Jun-04 9:27 
GeneralRe: can i capture the double click event of a CELL in a windows datagrd? Pin
robmays16-Jun-04 10:59
robmays16-Jun-04 10:59 
GeneralDesign Question Pin
matthias s.16-Jun-04 5:35
matthias s.16-Jun-04 5:35 
GeneralRe: Design Question Pin
Colin Angus Mackay16-Jun-04 5:42
Colin Angus Mackay16-Jun-04 5:42 
GeneralRe: Design Question Pin
matthias s.16-Jun-04 5:49
matthias s.16-Jun-04 5:49 
GeneralRe: Design Question Pin
Colin Angus Mackay16-Jun-04 6:07
Colin Angus Mackay16-Jun-04 6:07 
GeneralRe: Design Question Pin
matthias s.16-Jun-04 6:22
matthias s.16-Jun-04 6:22 
GeneralRe: Design Question Pin
Steven Campbell16-Jun-04 6:18
Steven Campbell16-Jun-04 6:18 
GeneralRe: Design Question Pin
Serge Lobko-Lobanovsky16-Jun-04 6:26
Serge Lobko-Lobanovsky16-Jun-04 6:26 
GeneralRe: Design Question Pin
Colin Angus Mackay16-Jun-04 6:31
Colin Angus Mackay16-Jun-04 6:31 
Generalpreserving same type information Pin
avneeshb16-Jun-04 5:19
avneeshb16-Jun-04 5:19 
GeneralRe: preserving same type information Pin
Serge Lobko-Lobanovsky16-Jun-04 6:54
Serge Lobko-Lobanovsky16-Jun-04 6:54 
GeneralRe: preserving same type information Pin
avneeshb16-Jun-04 8:50
avneeshb16-Jun-04 8:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.