Problem with command GdViewer.SaveDocumentToPDF_3

Some other discussions. Feel free to post anything here !
Post Reply
ajimenez1
Posts: 2
Joined: Mon Mar 31, 2014 5:30 pm

Problem with command GdViewer.SaveDocumentToPDF_3

Post by ajimenez1 » Mon Mar 31, 2014 5:49 pm

Hello everyone

I'm new in this forum, but can anyone help me with the following issue.

I'm trying to save documents in a FTP folder in a server, and I'm using the following commands

var oGdViewer = document.getElementById("GdViewer1");
alert("3");
unlockGdPicture();
alert("3.1");
var uri_ = "ftp://(rute)/" + path
alert(uri_);
var user_ = "(user)";
alert(user_);
var pass_ = "(password)";
alert(pass_);
var status = oGdViewer.SaveDocumentToPDF_3(uri_, user_, pass_);
alert("4");

If you can see I'm using alerts to see what lines are working, but the last one is not doing anything. The thing is that I installed my application in my server and it works fine, but the problem is when I try to run the program in my clients server. I don't know if I'm doing something wrong or is something with permissions.

I hope I explained myself clear. Thank you so much

Regards

SamiKharma
Posts: 352
Joined: Tue Sep 27, 2011 11:47 am

Re: Problem with command GdViewer.SaveDocumentToPDF_3

Post by SamiKharma » Wed Apr 23, 2014 3:06 pm

Hi,

You cannot really debug an application following the bellow method. You need to check the return statuses of the functions and see which functions returns a failure and why.

Best,
Sami

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests