|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
FTP with SSLHi group,
Has anyone ever used the Indy project to ftp files over SSL? I have a requirement to securely transfer files and it is proving too hard! My inital reaction was to use SSH/SFTP but this is impossible for me and the only other option is to use a 3rd-party component. I am looking at the Indy project and it *looks* like it has the capability. Anyone know if it is possible and could share some code or some hel? TIA, Hugh P.S. I cannot use any components that requiring paying for because I have been told that this is not allowed. "Hugh Janus" <my-junk-acco***@hotmail.com> wrote in message Why?news:1145441437.580136.309700@t31g2000cwb.googlegroups.com... > Hi group, > > Has anyone ever used the Indy project to ftp files over SSL? I have a > requirement to securely transfer files and it is proving too hard! > > My inital reaction was to use SSH/SFTP but this is impossible for me<snip> Mike Lowery wrote:
> "Hugh Janus" <my-junk-acco***@hotmail.com> wrote in message Because it will require a 3rd-parth add-in to upload/download files> news:1145441437.580136.309700@t31g2000cwb.googlegroups.com... > > Hi group, > > > > Has anyone ever used the Indy project to ftp files over SSL? I have a > > requirement to securely transfer files and it is proving too hard! > > > > My inital reaction was to use SSH/SFTP but this is impossible for me<snip> > > Why? which I am not allowed to use. Unless perhaps you know of published source code that does this that I could include? I thought FTP using SSL might be a better option because FTP is something that already has published examples form Microsoft and can be done within .NET code. Hugh I've used this library:
sharpSsh - A Secure Shell (SSH) library for .NET By Tamir Gal http://www.codeproject.com/csharp/sharpssh.asp Successfully for sftp, but it supports SSH as well... Hugh Janus wrote: Show quoteHide quote > Hi group, > > Has anyone ever used the Indy project to ftp files over SSL? I have a > requirement to securely transfer files and it is proving too hard! > > My inital reaction was to use SSH/SFTP but this is impossible for me > and the only other option is to use a 3rd-party component. I am > looking at the Indy project and it *looks* like it has the capability. > > Anyone know if it is possible and could share some code or some hel? > > TIA, > Hugh > > P.S. I cannot use any components that requiring paying for because I > have been told that this is not allowed. > John A. Bailo wrote:
> I've used this library: Hmmm, I had been looking at this this afternoon. Unless I am being a> > sharpSsh - A Secure Shell (SSH) library for .NET > By Tamir Gal > http://www.codeproject.com/csharp/sharpssh.asp > > Successfully for sftp, but it supports SSH as well... > bit dim, I could not seem to work it out. :-( I added the solution to my project, but could not work out how to establish a connection. Would you be willing to publish some code on how to make a connection? The more the better please! I am most interested in knowing how to do SSH & SFTP so if this works out, my problem is solved! TIA
Show quote
Hide quote
"Hugh Janus" <my-junk-acco***@hotmail.com> wrote in message Here's another one (may not support file xfer):news:1145471537.563816.53100@u72g2000cwu.googlegroups.com... > > John A. Bailo wrote: >> I've used this library: >> >> sharpSsh - A Secure Shell (SSH) library for .NET >> By Tamir Gal >> http://www.codeproject.com/csharp/sharpssh.asp >> >> Successfully for sftp, but it supports SSH as well... >> > > Hmmm, I had been looking at this this afternoon. Unless I am being a > bit dim, I could not seem to work it out. :-( > I added the solution to my project, but could not work out how to > establish a connection. Would you be willing to publish some code on > how to make a connection? The more the better please! > > I am most interested in knowing how to do SSH & SFTP so if this works > out, my problem is solved! http://granados.sourceforge.net/
Yes, I tried this also but it totally lacks documentation and looks
like development has died. I think I can work around the SFTP problem but a requirement remains for SSH. If you have any code or examples etc using Granados, that would be excellent. Otherwise, any other ideas? This has me stumped :-( Thanks On 20 Apr 2006 08:31:02 -0700, "Hugh Janus"
<my-junk-acco***@hotmail.com> wrote: > I'm curious to find out why you are not allowed to use a 3rd-party>> Here's another one (may not support file xfer): >> http://granados.sourceforge.net/ > >Yes, I tried this also but it totally lacks documentation and looks >like development has died. I think I can work around the SFTP problem >but a requirement remains for SSH. > >If you have any code or examples etc using Granados, that would be >excellent. Otherwise, any other ideas? This has me stumped :-( > >Thanks component, but you are allowed to use code or components found on free sites? (Is this for a school project? Is this for an open-source project? Is your budget limited, but time to accomplish the project not so limited?) I'm dying to offer you our solution, but you said you can't use 3rd-party add-ins. Am I correct to assume you consider a 3rd-party component as part of your add-in restriction? -- Alex Leblanc Xceed Software Inc. http://www.xceedsoft.com Check out our multi-talented .NET zip compression library Email: xLebla***@xceedsoft.com (remove the first 'x') > I'm curious to find out why you are not allowed to use a 3rd-party It is simply because I want to be able to distribute a single> component, but you are allowed to use code or components found on free > sites? > > (Is this for a school project? Is this for an open-source project? Is > your budget limited, but time to accomplish the project not so > limited?) > > I'm dying to offer you our solution, but you said you can't use > 3rd-party add-ins. Am I correct to assume you consider a 3rd-party > component as part of your add-in restriction? > executable if possible. That is why I was looking at Granados and SharpSSH because I can add those projects into my solution and compile to a single executable. Also, it comes down to the amount of money I have, i.e. very little! That is another reason why I am looking for a 'cheap' alternative. Granados looked perfect but lacks documentation and it seems to have died anyway. SharpSSH looks very promising, I am just hoping that someone can give me some sample code on how to make a connection etc. with it. Failing that, any good solution will do! On 20 Apr 2006 23:46:05 -0700, "Hugh Janus"
<my-junk-acco***@hotmail.com> wrote: Show quoteHide quote > I see... Thanks for clearing that up. These days, a lot of 3rd-party>> I'm curious to find out why you are not allowed to use a 3rd-party >> component, but you are allowed to use code or components found on free >> sites? >> >> (Is this for a school project? Is this for an open-source project? Is >> your budget limited, but time to accomplish the project not so >> limited?) >> >> I'm dying to offer you our solution, but you said you can't use >> 3rd-party add-ins. Am I correct to assume you consider a 3rd-party >> component as part of your add-in restriction? >> > >It is simply because I want to be able to distribute a single >executable if possible. That is why I was looking at Granados and >SharpSSH because I can add those projects into my solution and compile >to a single executable. Also, it comes down to the amount of money I >have, i.e. very little! That is another reason why I am looking for a >'cheap' alternative. >Granados looked perfect but lacks documentation and it seems to have >died anyway. SharpSSH looks very promising, I am just hoping that >someone can give me some sample code on how to make a connection etc. >with it. > >Failing that, any good solution will do! components do offer source code (we do, but its an extra $100). That said, are you sure the Indy project couldn't solve your needs? If not, write to me at the email address below, I may have a solution for you, one that I cannot post publicly, though. -- Alex Leblanc Xceed Software Inc. http://www.xceedsoft.com Check out our multi-talented Windows Forms.NET grid with built-in reporting. Email: xLebla***@xceedsoft.com (remove the first 'x')
Show quote
Hide quote
> I see... Thanks for clearing that up. These days, a lot of 3rd-party Alex,> components do offer source code (we do, but its an extra $100). That > said, are you sure the Indy project couldn't solve your needs? > > If not, write to me at the email address below, I may have a solution > for you, one that I cannot post publicly, though. > > -- > Alex Leblanc > Xceed Software Inc. > http://www.xceedsoft.com > > Check out our multi-talented Windows Forms.NET grid with built-in reporting. > > Email: xLebla***@xceedsoft.com (remove the first 'x') Thanks for your help. I emailed you a few days ago but have not yet received a reply. I hope that you got the email and it did not get filtered as spam or something, after all, it is from a hotmail address! My address is the same as the one used for this newsgroup. If you did not get my email, could you please email me directly or post here again and i'll resend my mail. TIA, Hugh >Alex, Got it, and replied :)> >Thanks for your help. I emailed you a few days ago but have not yet >received a reply. I hope that you got the email and it did not get >filtered as spam or something, after all, it is from a hotmail address! > My address is the same as the one used for this newsgroup. >If you did not get my email, could you please email me directly or post >here again and i'll resend my mail. > >TIA, >Hugh > email is my-junk-acco***@hotmail.com> Got it, and replied :) :-( Something is going astray because I don't have it! To confirm, my Hugh AlexL [Xceed] wrote:
> >Alex, Alex,> > > >Thanks for your help. I emailed you a few days ago but have not yet > >received a reply. I hope that you got the email and it did not get > >filtered as spam or something, after all, it is from a hotmail address! > > My address is the same as the one used for this newsgroup. > >If you did not get my email, could you please email me directly or post > >here again and i'll resend my mail. > > > >TIA, > >Hugh > > Got it, and replied :) A shame that I never received your email. I am still very interested in this. Please try to resend your email. Hugh On 3 May 2006 03:58:42 -0700, "Hugh Janus"
<my-junk-acco***@hotmail.com> wrote: Show quoteHide quote > Hi Hugh,>AlexL [Xceed] wrote: >> >Alex, >> > >> >Thanks for your help. I emailed you a few days ago but have not yet >> >received a reply. I hope that you got the email and it did not get >> >filtered as spam or something, after all, it is from a hotmail address! >> > My address is the same as the one used for this newsgroup. >> >If you did not get my email, could you please email me directly or post >> >here again and i'll resend my mail. >> > >> >TIA, >> >Hugh >> >> Got it, and replied :) > >Alex, > >A shame that I never received your email. I am still very interested >in this. Please try to resend your email. > >Hugh It appears I am not able to communicate with "my-junk-account" at hotmail. If you have another email address, we should use that one. Others: Sorry for the newsgroup polution. -- Alex Leblanc Xceed Software Inc. > Hi Hugh, Bummer, oh well, here goes my internet newsgroup spam anonimity :-(> > It appears I am not able to communicate with "my-junk-account" at > hotmail. If you have another email address, we should use that one. > > Others: Sorry for the newsgroup polution. > > -- > Alex Leblanc > Xceed Software Inc. Send it to hughjannes-at-hotmail-dot-co-dot-uk without any hyphens. Thanks! Alex,
I think my mails to you are going to your junk folder. I am trying to reply to your email. Could you please check your mailbox for my mail(s) and reply to me at my hotmail address? (hughjan***@hotmail.co.uk) Hugh (group, sorry for the use of this group for messages like this but this is the only way of contacting Alex. This will be the last message). Hugh Janus wrote: Show quoteHide quote > > Hi Hugh, > > > > It appears I am not able to communicate with "my-junk-account" at > > hotmail. If you have another email address, we should use that one. > > > > Others: Sorry for the newsgroup polution. > > > > -- > > Alex Leblanc > > Xceed Software Inc. > > Bummer, oh well, here goes my internet newsgroup spam anonimity :-( > > Send it to hughjannes-at-hotmail-dot-co-dot-uk without any hyphens. > > Thanks! What issues did you have with SharpSSH?
The library comes with lots of examples. Please download the latest version and examples at: http://www.tamirgal.com/home/dev.aspx?Item=SharpSsh Also, you can browse the online examples for file transfer at: http://www.tamirgal.com/home/SourceView.aspx?Item=SharpSSH&File=SshFileTransferTest.cs In any case, tranferring a file using FTP with SharpSSH should be as simple as: Sftp sftp = new Sftp("host", "user", "pass"); sftp.Connect(); sftp.Put(localfile, remotefile); sftp.Get(remotefile, localpath); sftp.Close(); Similarly, you can use the SCP trasfer protocol (for OpenSSH like servers). Hope it helps, Tamir tamir***@gmail.com wrote:
Show quoteHide quote > What issues did you have with SharpSSH? Hi Tamir,> The library comes with lots of examples. > > Please download the latest version and examples at: > http://www.tamirgal.com/home/dev.aspx?Item=SharpSsh > > Also, you can browse the online examples for file transfer at: > http://www.tamirgal.com/home/SourceView.aspx?Item=SharpSSH&File=SshFileTransferTest.cs > > In any case, tranferring a file using FTP with SharpSSH should be as > simple as: > > Sftp sftp = new Sftp("host", "user", "pass"); > sftp.Connect(); > sftp.Put(localfile, remotefile); > sftp.Get(remotefile, localpath); > sftp.Close(); > > Similarly, you can use the SCP trasfer protocol (for OpenSSH like > servers). > > Hope it helps, > Tamir SharpSSH looks great. The only problems I had were probably partly my fault. The problem(s) were: - I could not work out how to establish an SSH & and SFTP connection. - I could not work out how to capture the upload progress of a transfer. i.e. the percentage of the file uploaded so far. - I did not want to carry an extra DLL, I wanted to be able to compile code directly into my .EXE Does SharpSSH allow me to do this? Can you help with this? Code would be super!!!! Thanks, Hugh Hi,
If you are concerned with the data transfer for security and wanted to do that without FTP you can always go for WebDav which will give u security over http and folder level NTFS permissions. Jeethu Joseph IIS/Asp.Net Engineer Microsoft http://jeethujoseph.blogspot.com *** Sent via Developersdex http://www.developersdex.com ***
How to call IE to open a new page.
Listview SubItems image index webbrowser System.IO.FileNotFoundException SQL Connection help needed making 600 dpi A3 size images how to move a form that FormBorderStyle is None Listview item key How to prevent "Input string was not in a correct format" in DataGridView button with drop down how to extract icon (or resource) ? |
|||||||||||||||||||||||