View Complete Post
Hi all,I need to create an application which copies files from SFTP and paste them on my computer.Can anyone please tell me how can I do this. I do not want to use any library of other providers like j* or others.Regards,Kunal
I have a WCF webservice. I'm using https for communication between client and server. Everithyng works fine till the file I send through WCF is smaller then ~20MB.
When I want to attach a larger file I get exception. I turned on the diagnostic logging and saw this exception:
<ExceptionString>System.ServiceModel.EndpointNotFoundException: There was no endpoint listening at https://MyServer/MyWebApp/MyService.svc/ws that could accept the message. This is often caused by an incorrect address or SOAP action. See InnerException, if present, for more details. ---> System.Net.WebException: The remote server returned an error: (404) Not Found.
at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
--- End of inner exception stack trace ---</ExceptionString>
I have created a custom SharePoint 2010 WCF service that is deployed to 14\ISAPI\MYService folder. The issue i
am facing is that this service should be accessible from all Web applications, that can be HTTPS (i.e. SSL) enabled or normal HTTP. If i am making in web.config file for web application that has HTTPS enabled, then it fails for Web applications
having normal HTTP configuration. My requirement is that when this WCF service is deployed it should accessible from all web applications that can be HTTPS or HTTP both. I went through number of blogs and tried whatever option they had suggested but none
of them worked for me :(. Here are some of the blog that i tried:-
Using BIDS that came with SQL Server 2008 R2, I created a text file import package. I used files generated from my local machine for local testing. However, I find that these files get their format changed after being SFTP'd to the data warehouse.
Not being able to visually see a problem with the text file to be imported, I copied it down to my local machine and compared to one generated at my machine. Not until I chose "Show All Characters" in Notepad++ did I see the difference: my local file ends its
lines with a carriage return-linefeed character, whereas the file that went through SFTP ends its lines with a linefeed character only.
I suspect there's something very basic going on here that I don't know. I won't ask anybody to explain it, but I'm wondering if there's some way I can import both file formats. The column numbers and lengths are identical, it's the just line
ending character that's different and causing zero rows to get imported. The only other thing I know to do is recreate my flat file connection, and I haven't even tried that yet.