Hi,
I'm building my own simple Messenger via Intranet using WCF...but i've a little problem with sending an attachment.
I attached the project to check it and here's the steps to follow in order to test the project:
1-Run the SimpleSvcHost( to run the service).
2-Run the SimpleClient.
3-choose one user from the lstbox at the right and click File-->Open then choose a file...no error will occur in this part of the code
if (openFileDialog.ShowDialog() == DialogResult.OK)
{
FileStream fs = new FileStream(openFileDialog.FileName, FileMode.Open, FileAccess.Read);
proxy.Upload(openFileDialog.FileName,fs);
this.AutoScroll = true;
this.Invalidate();
}
but the file will not be sent...
Thanks in Advance,
Mostafa Fouly