PutFile and stream problem (wodSFTP / wodSFTP.NET / wodSFTPdll)
Hi
Im trying to use PutFile, from a FileStream, like so:
FileStream fs = new FileStream(m_PutFiles[0].LocalFile, FileMode.Open, FileAccess.Read, FileShare.ReadWrite);
m_SFTPPutFileInstance.PutFile(fs, m_PutFiles[0].RemoteDirName);
But it doesn't upload anything - and I don't get any Errors from DoneEvent. Im not using blocking.
Also, Ive surfed this forum to see if any other had the same issue - and thought I read something about, that ProgressEvent is not fired when I PutFile with a Stream, is this correct?
Regards
Torben Lajer
Complete thread:
- PutFile and stream problem - subcubes, 2005-12-21, 20:29
- Re: PutFile and stream problem - wodSupport, 2005-12-21, 20:39
- Re: PutFile and stream problem - subcubes, 2005-12-21, 20:45
- Re: PutFile and stream problem - wodSupport, 2005-12-21, 20:46
- Re: PutFile and stream problem - subcubes, 2005-12-21, 20:45
- Re: PutFile and stream problem - wodSupport, 2005-12-21, 20:39