Server returned an error: General Failure (wodSFTP / wodSFTP.NET / wodSFTPdll)

by permission @, (6365 days ago)

Hi

I can connect and upload files ok but when I try to use GetFile I get the error Server returned an error: General Failure Do you know what causes this error, is it on the server end? so perhaps the server not allowing downloads? I thought about this but I was able to download through an ftp client so I figured its not that, I just cant do it using code. I'm just using
Ftp1.GetFile( C:filename.txt , /remotedirectory );

I see the error when the done event is fired

Thanks

locked

Re: Server returned an error: General Failure

by wodDamir @, (6365 days ago) @ permission

Hi,

This is an error returned by server. However, we can't know what exactly happened. What protocol are you using?

Did you specify an absolute path to the server? What exactly are you passing as RemotePath?

You shouldn't specify a directory as RemotePath, please try specifying it as /remote_dir/remote_file .

Can you try that?

Regards,
Damba

locked

Re: Server returned an error: General Failure

by permission @, (6365 days ago) @ wodDamir

Great

works now, yeah the problem was the /remotepath/remotfile, was missing the remote file bit

Thanks

locked