Error in putfile - WeOnlyDo Discussion board

Error in putfile (wodSFTP / wodSFTP.NET / wodSFTPdll)

by Prajeesh, Wednesday, April 09, 2008, 12:46 (5870 days ago)

Hello support team,

I am getting a error code 40550 : Access denied while uploading the file using putfile() method.

Requires your assistance.

Regards,
Prajeesh

Re: Error in putfile

by wodDamir, Wednesday, April 09, 2008, 12:51 (5870 days ago) @ Prajeesh

Pajeesh,

Do you have permissions to upload to that folder? What did you specify for paths?

You should try specifying Localpath and remotepath parameters in PutFile call like this:

putfile( C:somefile.txt , /home/user/ )

Also, you didn't specify which component are you using?

Regards,
Damba

Re: Error in putfile

by Prajeesh, Wednesday, April 09, 2008, 13:18 (5870 days ago) @ wodDamir

Dear Damba,

Thanks for the reply.

I am using FtpDLX.

Yes I have permission to upload the file. I manually logon to the FTP site and uploaded the file.

Yes in the putfile I passed localfile path and remote file path. In the remote path if i mention any directory (/tmp) it says the error message 40550 : inbound access is denied . If i doesn't mention any path it gives error message with the file name which i am uploading like 40550 : tmp.txt access is denied

Regards
Prajeesh

Re: Error in putfile

by wodDamir, Wednesday, April 09, 2008, 13:23 (5870 days ago) @ Prajeesh

Prajeesh,

Can you try some other path?

Also, what server is this? Perhaps you can do telnet your_server_ip server_ip and tell us what first line returns?

Also, can you try some other non-command line client (like FileZilla or FTP Voyager)?

Regards,
Damba