Re: File doesn't get transmitted using upload a (General questions)
I believe it is to do with the RemotePath property. Kamal is the folder name in the ftp server, i even tried the following
(
- ftp://FTP Server IP Address in numbers/Kamal ;
- @ FTP Server IP Address in numbersKamalkt.txt ;
- sftp://FTP Server IP Address in numbers/Kamal ;
etc...
)
but nothing worked. all return the same error.
This is the code used:
------------------------------------------------
SFTP sftp;
private void TestwodSFTPComponent()
{
sftp = new SFTP();
sftp.Blocking = true;
sftp.Hostname = FTP Server IP Address in numbers ;
sftp.Port = 22;
sftp.Login = username ;
sftp.Password = password ;
sftp.LocalPath = @ C: Test_FTP_File kt.txt ;
sftp.RemotePath = /Kamal ;
try
{
sftp.Connect();
sftp.PutFile(sftp.LocalPath, sftp.RemotePath);
}
catch{MessageBox.Show(sftp.LastError.ToString());}
finally{sftp.Disconnect();}
---------------------------------------------------
Thank you.
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