Discuss (FTP), (FTP on .NET CF) and (FTPS, SFTP and SCP).
no avatar
User

ahmedm

Posts

2

Joined

Fri Jun 05, 2015 8:22 am

Error Uploading Files with SFTP

by ahmedm » Fri Jun 05, 2015 11:35 pm

Last edited by ahmedm on Wed Jun 10, 2015 6:43 am, edited 1 time in total.
no avatar
User

support2

Posts

3987

Joined

Tue May 18, 2004 8:30 am

Re: Error Uploading Files with SFTP

by support2 » Sat Jun 06, 2015 2:35 am

It looks like you are trying to open a file in the root directory, /test1.zip.txt. Normally you won't have permission to do this - are you sure this is the correct location?
no avatar
User

ahmedm

Posts

2

Joined

Fri Jun 05, 2015 8:22 am

Re: Error Uploading Files with SFTP

by ahmedm » Sat Jun 06, 2015 2:50 am

Thanks for the prompt reply. Yeah you are right the path is actually as in cwd shown in the logs is /ADI/CGG and yes that's not the root directory. But I was thinking it would resolve it because it seems to recognize the cwd. After I pass in the path explicitly it seems to work. See the log below. When I run the edtFTPnetPRO tool, it is able to resolve and upload without specifying the path explicitly. What do you think may be the reason? Again thanks in advance.

DEBUG [FTPTaskProcessor] 5 Jun 2015 11:41:15.243 : Running task on connection 6: [ID=7] DeleteFile(String="/ADI/CGG/test1.zip.txt")
DEBUG [SSHFTPClient] 5 Jun 2015 11:41:15.243 : ResolveRemotePath('/ADI/CGG/test1.zip.txt'); [cwd='/ADI/CGG']
DEBUG [SSHFTPClient] 5 Jun 2015 11:41:15.243 : Resolved to '/ADI/CGG/test1.zip.txt'
DEBUG [SFTPSubsystem] 5 Jun 2015 11:41:15.244 : GetAttributes(/ADI/CGG/test1.zip.txt)

Who is online

Users browsing this forum: No registered users and 29 guests

Powered by phpBB ® | phpBB3 Style by KomiDesign