trace log? - WeOnlyDo Discussion board

trace log? (General questions)

by haagendaz, Monday, March 23, 2009, 22:00 (5723 days ago)

I have an application that uses wodSFTP. One of my customers is unable to upload a file to their banks ftp server. They can however get connected.

How can i get a trace log from wodSFTP component?

Re: trace log?

by wodDamir, Monday, March 23, 2009, 22:09 (5723 days ago) @ haagendaz

Hi,

Unfortunately, this isn't possible, since all the communication in SFTP protocol is encrypted.

However, what error exactly do you receive? Could you be more specific?

Regards,
Damba

Re: trace log?

by haagendaz, Monday, March 23, 2009, 22:33 (5723 days ago) @ wodDamir

The fingerprint is correct and i am able to connect successfully. I try to upload the file and it eventually comes back with the following error:

30027 Component was busy and got disconnected.

I am sure it eventually fails because of timeout, but I dont believe it is their ftp server because i am able to upload the same file with other ftp clients (ie. filezilla, coreftp, ect.)

Re: trace log?

by wodDamir, Monday, March 23, 2009, 22:37 (5723 days ago) @ haagendaz

Hi,

This error means that the component was doing something, but server disconnected it for some reason. This could occur when invalid path was specified. Can you try doing RealPath before your do PutFile, just to make sure?

Also, can you please check what version of the component you use? You can do that by checking Version property.

Regards,
Damba

Re: trace log?

by haagendaz, Tuesday, March 24, 2009, 18:33 (5722 days ago) @ wodDamir

Sorry for the delayed response, it has been busy....

I am using version 3.2.0.58

When i do a RealPath before my putfile i get and error:
Run-time error '30007'
Cannot send/receive/list at the same time, component busy.

Everything works fine with filezilla, is there any reason why the connection would get cut to wodSFTP, but NOT filezilla?

Thank you for your help,
Dustin

Re: trace log?

by woddrazen, Tuesday, March 24, 2009, 18:56 (5722 days ago) @ haagendaz

Hi Dustin,


What happened when you set Blocking Property to True before Connect Method?


Drazen

Re: trace log?

by haagendaz, Tuesday, March 24, 2009, 19:12 (5722 days ago) @ woddrazen

That fixed the RealPath 30007 error, but still does not succeed in uploading the file. Still get the same results as before.
Do you have any updated sample vb projects?

Re: trace log?

by woddrazen, Tuesday, March 24, 2009, 19:28 (5722 days ago) @ haagendaz

Dustin,


Can you please try 4. Upload and download VB sample. You can find it in component Samples folder.

Please check in FileZilla which path you are using when uploading file. In wodSFTP you should always use full local and remote path when uploading or downloading file.


Drazen

Re: trace log?

by haagendaz, Tuesday, March 24, 2009, 21:32 (5722 days ago) @ woddrazen

Well, #4, Upload and download VB sample is actually the sample i have been using.

I am using the exact same settings/path in the sample as i am in filezilla.

Any other things that i can try?

Thank you,
Dustin

Re: trace log?

by woddrazen, Tuesday, March 24, 2009, 22:56 (5722 days ago) @ haagendaz

Dustin,


Which protocol are you using in FIleZilla?

Does ListDir and download works with 4. Upload and download sample?


Drazen

Re: trace log?

by haagendaz, Friday, March 27, 2009, 15:36 (5719 days ago) @ woddrazen

protocol is SFTP using SSH2 .....however i am having issues with filezilla now (not related), so i used WinSCP using protocol SFTP and Allow SCP fallback checked and that also works.

I am able to get a list on the directories and also download from the ftp site using example #4. However, the bank set up a different directory for me to download from. They have given me 2 test directories, 1 to upload (which cannot download) and 1 to download (which cannot upload). I wish they would just give me 1 directory to test everything, but i guess that is not possible (what reason i don know).

Thanx,
Dustin

Re: trace log?

by woddrazen, Friday, March 27, 2009, 16:00 (5719 days ago) @ haagendaz

Dustin,


Does everything worked now or you still have some issues with wodSFTP?


Drazen

Re: trace log?

by haagendaz, Friday, March 27, 2009, 16:15 (5719 days ago) @ woddrazen

the upload is still not working with this bank.

Re: trace log?

by wodDamir, Friday, March 27, 2009, 16:38 (5719 days ago) @ haagendaz

Hi Dustin,

Can you please unckeck Allos SCP fallback in WinSCP and try it out?

Also, you mentioned that RealPath now works, can you tell me what it returns?

Is there any chance we could connect to that server directly?

Regards,
Damba

Re: trace log?

by haagendaz, Monday, March 30, 2009, 17:05 (5716 days ago) @ wodDamir

I am working on getting you an account to test with. Hopefully i will hear back from the customer later today. Thank you.

Re: trace log?

by woddrazen, Monday, March 30, 2009, 17:08 (5716 days ago) @ haagendaz

Dustin,


That will be great.

You can send your private information to:

techsupport@weonlydo.com


Drazen

Re: trace log?

by haagendaz, Friday, April 03, 2009, 23:18 (5712 days ago) @ woddrazen

I sent you an email with what you need. :)

Thanx,
Dustin