Yes, I'am a beginner in ASP.NET.
Testing 1st part 'class FileRW' with GetFile() is relatively simple, not big difficulties with tutorial.
Testing 2nd part 'the ASPX page' failed because FileIO is unknowed! What to do? Tutorial is missing instructions.
Discussion on:
View:
Show:
Hi,
The FileIO refers to the 'FileIO' in [WebService(Namespace="http://someplace.com/FileIO/")] in the webservice code.
I couldn't get the code to work either. I did get it to work by just leaving out FileIO, so it's just FileRW frw = new FileRW();
It's also not clear, but you have to include the proxy generated file in the project where you build the consumer and you have to add the System.Web.Services to the consuming project references. If your service and consumer are in the same project you don't have to worry, but that's kind of artificial.
I also thought the WebMatrix tool was cumbersome, so I'd go with WDSL if you have it.
Hope this helps.
The FileIO refers to the 'FileIO' in [WebService(Namespace="http://someplace.com/FileIO/")] in the webservice code.
I couldn't get the code to work either. I did get it to work by just leaving out FileIO, so it's just FileRW frw = new FileRW();
It's also not clear, but you have to include the proxy generated file in the project where you build the consumer and you have to add the System.Web.Services to the consuming project references. If your service and consumer are in the same project you don't have to worry, but that's kind of artificial.
I also thought the WebMatrix tool was cumbersome, so I'd go with WDSL if you have it.
Hope this helps.
Reading the whole file into a byte array seems like it would be a problem. What about passing a stream object, or does that amount to the same thing?
You may not allowed to pass in a stream object.
For a large file, you may break it down to small pieces/blocks, and transfer the data file block by block.
For a large file, you may break it down to small pieces/blocks, and transfer the data file block by block.
this project one problem FileRW() method error the error is (Assembly file missing or namespace declartion missing)
please to tell me the problem how to overcome this problem
Thanking you
please to tell me the problem how to overcome this problem
Thanking you
can the file transfer take in xml file???
How can i call the web service via soap?
hi. i'm relatively new to asp.net and i was wondering if there was a way for me to redirect the copied file to an ftp server? thanks
You can use an ASP.NET control like FileUltimate to implement a file transfer/manager feature in your web site.
- Keyboard Shortcuts:
- Prev
- Next
- Toggle









































