Server returned an error: General Failure - WeOnlyDo Discussion board

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

by permission, Thursday, November 29, 2007, 06:58 (6205 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

Re: Server returned an error: General Failure

by wodDamir, Thursday, November 29, 2007, 08:48 (6205 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

Re: Server returned an error: General Failure

by permission, Friday, November 30, 2007, 01:02 (6204 days ago) @ wodDamir

Great

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

Thanks