trace log? (General questions)
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?
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?
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?
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?
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?
Hi Dustin,
What happened when you set Blocking Property to True before Connect Method?
Drazen
Re: trace log?
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?
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?
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?
Dustin,
Which protocol are you using in FIleZilla?
Does ListDir and download works with 4. Upload and download sample?
Drazen
Re: trace log?
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?
Dustin,
Does everything worked now or you still have some issues with wodSFTP?
Drazen
Re: trace log?
the upload is still not working with this bank.
Re: trace log?
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?
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?
Dustin,
That will be great.
You can send your private information to:
techsupport@weonlydo.com
Drazen
Re: trace log?
I sent you an email with what you need. :)
Thanx,
Dustin