Quantcast
Channel: InstantForum » » Latest Topics
Viewing all 110 articles
Browse latest View live

IS THIS A ********** BUG ********* IN SDK ?

$
0
0
Sporadic error .. Log is attached.

Host type (2): Microsoft NT
PWD
257 "/ftp.rxcz.p" is current directory.
Connection succeeedCWD test
250 CWD command successful.
PWD
257 "/ftp.rxcz.p/test" is current directory.
TYPE A
200 Type set to A.
PORT 10,1,105,100,4,217
200 PORT command successful.
LIST LargeFile*
150 Opening ASCII mode data connection for /bin/ls.
# transferred 150 bytes in < 0.001 seconds, 1171.875 Kbps ( 146.484 Kbps), transfer succeeded.
226 Transfer complete.
PWD
Error result 80042003 reading response line
MLST
257 "/ftp.rxcz.p/test" is current directory.
NOOP
200 NOOP command successful.
NOOP
200 NOOP command successful.
NOOP
200 NOOP command successful.
NOOP
200 NOOP command successful.

What does error 80042001 mean?

$
0
0
RETRieving a large file using SSL. It takes 45 minutes for the transfer on a UNIX system. Although the file is received intact, I don't receive a 226 response as I would expect. Can you tell me what this error code indicates about the connection or file transfer.

Transfer finished, 286198101 bytes transferred

[2007.12.09 23:18:20.757] Error result 80042001 reading response line

[2007.12.09 23:18:20.757] # transferred 286198101 bytes in 2641.028 seconds, 846.611 Kbps ( 105.826 Kbps), transfer failed.

[2007.12.09 23:19:58.888] QUIT

[2007.12.09 23:19:58.888] Error 825e0000 Sending Command. The connection is probably dead.

SSH Connection object failing - FTP object works

$
0
0
I have a test program that is trying to make an SSH connection:

bool pbVal = false;

WsftpApiClass api = newWsftpApiClass();

// WsftpConnection conn = api.CreateConnection(tbURL.Text, tbUID.Text, tbPWD.Text, 2, 21); --- FTP works

WsftpConnection conn = api.CreateConnection(tbURL.Text, tbUID.Text, tbPWD.Text, 4, 22); --- SFTP doesnt

pbVal = conn.PutFile(

"",tbFileName.Text,".","tada.wav",0,0);

MessageBox.Show(pbVal.ToString());

Using the WSFTP client with SSH from the same workstation I am able to connect successfully.

Second question:

I found this "WsftpApiClass" class in the forums but nothing in the doc, object model, etc. it was "WsftpApi". Both seem to work. Any details?

Thanks. Larry.

what't the matter of the problem

$
0
0
I purchased the SDK last week, and tested the sample. it work very well at my computer. but when I publish it to the server(two CPU,OS is windows2003), it is very unstabled. It terminal without throwing any exception,the logfile I got was always changing.

the following is some logfile

file1:

Connecting to ftpserver:21

Connected to ftpserver:21 in 0.015625 seconds, Waiting for Server Response

Initializing SSL Session ...

220 GIS FTP Server (java -1.1.00) ready.

AUTH SSL

234 Security data exchange complete.

SSL Session Started.

Host type (1): Automatic detect

file 2:

Connecting to ftpserver:21

Connected to ftpserver:21 in 0.015625 seconds, Waiting for Server Response

Initializing SSL Session ...

220 GIS FTP Server (java -1.1.00) ready.

AUTH SSL

234 Security data exchange complete.

SSL Session Started.

Host type (1): Automatic detect

USER GPAYDUTT1

331 Password required for GPAYDUTT1.

PASS (hidden)

230 User GPAYDUTT1 logged in.

SYST

215 UNIX Type: A

Host type (2): UNIX (standard)

PBSZ 0

///////////////////////////

what's the problem ?

does someone give me an answer.

thank you in advance.

Whats'UP Gold v 11a, SMS Action and modem Siemens TC35i

$
0
0
Hello to all,
I need to configure the SMS Action for alarm notification using a modem Siemens TC35i.
I've tried it without any luck! it give me the following error:


Loading action parameters for 'Test'.
Executing action 'Test'.
Initializing Action...
Maximum connection time to process script set to: 150 seconds
Sending SMS Message via Modem...
sending "ATQ0E1V1
"
waiting for completion
returned "ATQ0E1V1

OK
"
sending "ATDT+393492000200
"
waiting for completion
returned "ATDT+393492000200
"
Unknown response!
sending "+++"
sending "ATH0
"
sending "+++"
comm write error 6
sending "ATH0
"
comm write error 6
Connection time: 9 seconds
Send Complete.
SMS Action was NOT successful (31).
SMS Action was NOT successful (31).


I have another software that works perfectly with this modem on the same PC.
The modem is connected to the COM1 port of the PC.

Is there the possibility that this model of modem can work with this version of Whats'UP Gold v.11a?
Thans in advance to all that can help me to solve this issue.

Best regards,
Giuseppe

WsftpSDK.WsftpConnection failing with C#

$
0
0

I am using wsftp SDK 8.1 and using the DLL with C# code

1. WsftpApiClass gobjFTP =

new WsftpSDK.WsftpApiClass();

2. WsftpConnection gobjFTPConn =

new WsftpSDK.WsftpConnection();

Line 2 is failing with message ---- Additional information: COM object with CLSID {1E3F7F5B-3E4C-4D5F-A340-421FD658D3EE} is either not valid or not registered.

Its working fine with vb6 and vb.net

Pls reply.

Connection Error: 131074 - What does it mean?

$
0
0
I am getting this error when I try to connect to a SSL secured site.

However, exact same code to connect to another SSL secured site works without any issue.

So, it does not look like a programming error, but who knows. I would like to know what those 2 errors 131074 and 80110000 means.

[2008.07.15 13:56:12.614] SSL Connect error 131074:
[2008.07.15 13:56:12.614] Connect Failed: Unable to get certificate issuer
[2008.07.15 13:56:12.630] SSL Connect Failed
Failed to create connection, error: 80110000

Thank you very much.

SDK throws following error when trying to run SDK Test example VS 2008/Vista 64 bit

$
0
0
Retrieving the COM class factory for component with CLSID {DEB78591-FA51-45FB-A504-C68555177A5B} failed due to the following error: 80040154

I am using VS 2008 64 bit Vista. I get the error above when trying to run the sample included with the sdk.

This is the line where the error occurs.

m_pApi=newftpLib.WsftpApiClass();


Object creation error - Ipswitch WS_FTP Pro SDK 8.1

$
0
0
Hi to all.

I'm stuck on this part of our code where we use "WsftpApi apiConnection = new WsftpApi();" to create a new object.

We have two major modules, Automation (windows service app) and UI (forms). These modules uses a common DLL (AutomationDLL) where "WSFtpSDK.WsftpApi" interface is included as reference. What's really weird about this is, we've tried running both modules a million times in XP Pro SP2 operating system and haven't encountered any problem at all (sending the files to the target server). But when we tried it on Windows Server 2003 SP2, that's the only time we encountered the problem - "Exception creating WsftpApi" and this only happens in the Automation part. In UI part, everything works fine.

any insights/suggestions/help from you guys are highly appreciated.

Thanks.

CJ

SDK Disconnection problem

$
0
0
There used to be a topic on this subject, but it seems Ipswitch removed it - I wonder why...

Nonetheless, it appears to be a confirmed bug with the SDK version 8.0 or 8.1, and it's been fixed in a later version. When you issue a disconnect() call, the connection doesn't actually disconnect from the host. Connections can then pile up and end up looking like a virtual DOS attack.

We paid our $1000 for the SDK, we had an active Ipswitch service agreement WHEN IPSWITCH KNEW about this bug, but we never got an upgrade as stipulated as part of the service agreement. I've asked on this forums for someone to contact us, but nobody has. There's no way to contact a human at Ipswitch without a SA, and we let that lapse, as the support was useless, and I'm not going to waste my time on the phone waiting to talk to a person. The free SDK download is the same old buggy version from 2005.

I'd like the upgrade we're entitled to, just as a matter of principle. We've already switched to another SFTP product (EnterpriseDT), since WSFTP wasn't reliable. In fact, the SFTP disconnect problem could have gotten us in a lawsuit, as a vendor accused us of perpetrating a D.O.S. attach on their server! Watch out.

Claimshop

Directory listing on SFTP site???

$
0
0
Hi all,

Can any of you elaborate on how to scan through the files on a remote directory using filemask. For example If I only wanted to get all *.csv files from a remote directory on an SFTP site.

The following code always lists all the files from the remote directory, where as I need only *.csv files.

pConn = pApi.CreateConnection(str_FTPlocation, str_FTPUsername, srr_FTPPassword, WsftpConnectionTypes.WSFTP_CT_SFTP, 22)
pFolder = pConn.GetFolder("*.csv", str_FTPDirectory)
filecount = pFolder.Count

Is this a bug or am I doing something wrong? Please share your thoughts.

Thanks
Karthik

Error create COM calss

$
0
0

Hi,

I have developed a windows console application to do some sftp transfers using the secure wsftp pro SDK. I created a msi package which included the Interop.WsftpSDK.dll and WsftpSDK.dll along with my exe's. When I try to execute my console app to do the transfers, it is failing witht he following error msg:

3/12/2007 1:28:31 PM Error:ExitCode(0)MessageRetrieving the COM class factory for component with CLSID {DEB78591-FA51-45FB-A504-C68555177A5B} failed due to the following error: 80040154.

any help in this regard will be appreciated.

Thanks,

Vinod

Error 841b0000 receiving sftp packet

$
0
0
I have been using the Secure SDK for a few months without any trouble until a few days ago when the GetCurrentFolder method stopped working. Whenever I issue the GetCurrentFolder("*") command now I get this:

The operation completed
Getting Dirlisting
*** Zlib Transform(Decompress) reallocating output buffer from 24576 by 4096
*** Zlib Transform(Decompress) reallocating output buffer from 29696 by 4096
Error 841b0000 receiving sftp packet
# transferred 0 bytes in 0.625 seconds, 0.000 Bps ( 0.000 Bps), transfer failed.
Error 841b0000 receiving sftp packet

From reading other posts in this forum it possibly is caused by too many files or too large of files in the directory I'm trying to list. This could be a real possibility for me, since we just started to heavily use the software application I wrote and one of the things it does it upload files automatically, so the number of files on the remote size has grown.

Does anybody have any ideas? Is this a bug? Is there a fix? I'm using WS_FTP-8.01-2005.05.25, which is the most recent version.

Thanks, Paul

Find the path of a file in a folder

$
0
0
Hi All,
Can any of you elaborate on how to find the path of a file in a folder or sub folder.
There am providing a rule or a trigger during file upload. I have a site created using WS_FTP server version 7. And the site can contain any number folders and sub folders in it. When i try to upload a file in any one of the folders, i have trigger exceuted where that particular trigger would transfer the file to another location. The problem here is that i dont have a static path. I may upload the file in folder or sub folder. so i need a command which would find the path where excatly the file was uploaded. so that i can get the file and move it to another loaction. Can any one provide me a code or command to do that.

Thanks in advance

Error While Creating a folder

$
0
0
I get an error while am trying to create a folder onto the Remote FTP site.

Lanaguage : VB Script

Set objFtp = WScript.CreateObject("WsftpSDK.WsftpApi")
Set con = objFtp.CreateUrlConnection(ct & "://" & user & ":" & psw & "@" & host)
con.CreateDirectory()

The UserID i use to connect to the Remote FTP Site is a Admin Where i have all the Access Rights(Create folder,delete folder etc...)

Error: SesLog: 450 Failed to create folder

I trying to figure out why am not able to do that.

Can any one help.....

Thanks










Multiple Downloads

$
0
0
I would like to be able to download multiple Items at the same time. I thought I saw some documentation in the API or on the forums how to do it but now I can't find it. Something about adding a handler in the "nResumeFrom" variable I think.

Or is the only way to do it, is by creating multiple threads with a unique connection on each thread as I am doing it now.

FTP over SSH connection with predefined sites?

$
0
0
Hi,

I'm trying to use predefined sites, which are made in the WSFTP_PRO client program - under the site manager - in my SDK script.

So far I've tried something like 'Sites!PRD!GIESECKE(name of site)' when using an pAPI.Connection object, but so far, no luck.

Is there a way to use an predefined site (in WSFTP_Pro) in a SDK Script. The real question is, how do I make a connection over SSH to a site that uses only a username, but no password? Instead, SSH keys are uses between both sites.

Regards,:ermm:

SSH buffer size not multiple of blocksize

$
0
0
Anyone have experience with large files? I have a job that runs weekdays, pulling data from a bank to our SAP system. The file transfers fine, decrypts OK, but when we send it to our SAP host it fails every Monday. The only significance I can see to the day is the the file is about twice the size on Mondays as it contains Friday and Saturday data.

Our most recent monday file (which failed) was 1.17 GB, and Thursday's was 750MB.

The error message is (SSH buffer size not multiple of blocksize).

The file transfers successfully using the WS FTP Professional GUI, but fails using the SDK DLL.

Create Connection not timing out

$
0
0
We are having some issues connecting to an sftp site. We know that we occasionally have firewall issues on either our end or theirs. We need a way to cleanly handle the inability to create a connection. Below is the relevant section of code.

ErrResult = Nothing
pApi = New WsftpApi
pApi.DiagnosticLog = False
pApi.TimeStampLog = False
pApi.PassiveMode = Passive
pApi.CommandTimeout = 12

Try
pConn = pApi.CreateConnection(FTPSite, UserID, Password, FTPType, FTPPort)
'FTPType = SFTP {4}, FTPPort = 22
Catch ex As Exception
LastMessage = pConn.LastServerResponse
ErrResult = ex
ReturnFalse
EndTry

If (pConn IsNothing) Then
...
End if

When we are able to connect there are no problems. However, if we are not able to connect (forced in this case by changing the userID so it isn't valid) the application hangs on the pApi.CreateConnection. I have placed breakpoints at "LastMessage = ..." and "If (pConn ..." and neither of them are being triggered, while the breakpoint at "pConn = ..." is.

The problem does not occur when repeating the same failure mode using an FTP site. The timeout occurs and we are able to trap and handle the issue. (FTPType = FTP {2}, FTPPort = 21)

For some reason the timeout is not occurring. We are all set to capture the timeout and fail cleanly, but instead the application hangs indefinitely. Any help with this would be greatly appreciated.

Transfer mode for append

$
0
0
I am programming in VB using the SDK to push several files into an appended file on a VAX. How can I control whether the file transfer is binary or Ascii if I am doing an append?
Viewing all 110 articles
Browse latest View live