it hangs when I call PutFile SOMETIMES.
I don't know why. and if I set the TimeOut to 5 then it throw a following exception.
ERROR [UploaderControls.UploadingStatusForm] 10 9 2005 08:57:10.853 : Transfer Error: Unable to read data from the transport connection.
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
at System.IO.StreamReader.ReadBuffer()
at System.IO.StreamReader.ReadLine()
at EnterpriseDT.Net.Ftp.FTPControlSocket.ReadReply()
at EnterpriseDT.Net.Ftp.FTPClient.ValidateTransfer()
at EnterpriseDT.Net.Ftp.FTPClient.Put(String localPath, String remoteFile, Boolean append)
at EnterpriseDT.Net.Ftp.FTPClient.Put(String localPath, String remoteFile)
at UploaderControls.UploadingStatusForm.startUploading() in f:\works\test\main\uploadercontrols\uploadingstatusform.cs:line 675