Re: File doesn't get transmitted using upload a (General questions)
The question was, do you normally need to set the server or install the SFTP component in the server to allow it to receive Files using SFTP?!
Does it make any difference if the wodSFTP component installed in both machines are different?!
at the start, the Sample application provided with the component didn't work. so I created a new application, very simple one using a single method as follows:
-----------------------------------------------------------
private void TestwodSFTPComponent()
{
SFTP sftp = new SFTP();
sftp.TempAuthorization = --------- ;
sftp.Blocking = true;
sftp.Hostname = Server.IP.Address ;
sftp.Login = user ;
sftp.Password= pass ;
sftp.LocalPath = @ C:Testkt.txt ;
sftp.RemotePath = /Test_SFTP ;
try
{
sftp.Connect();
sftp.PutFile(
sftp.LocalPath,
sftp.RemotePath);
}
catch(Exception e)
{
MessageBox.Show(e.ToString());
}
finally
{
sftp.Disconnect();
}
}
------------------------------------------------------------
Can you spot any problem with the above set of code, Anything to do with the Order, Any initialisation needed?! :o(
Complete thread:
- File doesn't get transmitted using upload and dow - Kamal, 2005-01-04, 13:15
- Re: File doesn't get transmitted using upload a - Kamal, 2005-01-04, 13:41
- Re: File doesn't get transmitted using upload a - wodSupport, 2005-01-04, 14:55
- Re: File doesn't get transmitted using upload a - Kamal, 2005-01-04, 15:12
- Re: File doesn't get transmitted using upload a - wodSupport, 2005-01-04, 15:39
- Re: File doesn't get transmitted using upload a - Kamal, 2005-01-04, 16:03
- Re: File doesn't get transmitted using upload a - wodSupport, 2005-01-04, 16:16
- Re: File doesn't get transmitted using upload a - Kamal, 2005-01-04, 16:43
- Re: File doesn't get transmitted using upload a - wodSupport, 2005-01-04, 18:37
- Re: File doesn't get transmitted using upload a - Kamal, 2005-01-05, 10:08
- Re: File doesn't get transmitted using upload a - wodSupport, 2005-01-05, 11:05
- Re: File doesn't get transmitted using upload a - Kamal, 2005-01-05, 12:18
- Re: File doesn't get transmitted using upload a - Kamal, 2005-01-05, 14:57
- Re: File doesn't get transmitted using upload a - wodSupport, 2005-01-05, 15:11
- Re: File doesn't get transmitted using upload a - Kamal, 2005-01-05, 15:20
- Re: File doesn't get transmitted using upload a - wodSupport, 2005-01-05, 15:23
- Re: File doesn't get transmitted using upload a - Kamal, 2005-01-05, 18:19
- Re: File doesn't get transmitted using upload a - wodSupport, 2005-01-05, 19:41
- Re: File doesn't get transmitted using upload a - Kamal, 2005-01-05, 18:19
- Re: File doesn't get transmitted using upload a - wodSupport, 2005-01-05, 15:23
- Re: File doesn't get transmitted using upload a - Kamal, 2005-01-05, 15:20
- Re: File doesn't get transmitted using upload a - wodSupport, 2005-01-05, 15:11
- Re: File doesn't get transmitted using upload a - Kamal, 2005-01-05, 14:57
- Re: File doesn't get transmitted using upload a - Kamal, 2005-01-05, 12:18
- Re: File doesn't get transmitted using upload a - wodSupport, 2005-01-05, 11:05
- Re: File doesn't get transmitted using upload a - Kamal, 2005-01-05, 10:08
- Re: File doesn't get transmitted using upload a - wodSupport, 2005-01-04, 18:37
- Re: File doesn't get transmitted using upload a - Kamal, 2005-01-04, 16:43
- Re: File doesn't get transmitted using upload a - wodSupport, 2005-01-04, 16:16
- Re: File doesn't get transmitted using upload a - Kamal, 2005-01-04, 16:03
- Re: File doesn't get transmitted using upload a - wodSupport, 2005-01-04, 15:39
- Re: File doesn't get transmitted using upload a - Kamal, 2005-01-04, 15:12
- Re: File doesn't get transmitted using upload a - wodSupport, 2005-01-04, 14:55
- Re: File doesn't get transmitted using upload a - Kamal, 2005-01-04, 13:41