Skip to main content

I see that this question is raised before, for some years ago.

We use C$SOCKET to upload and download files from at FTP server. 

One of the partners will now transfer to SFTP.

Short question:

Is this possible with C$SOCKET in newer versions?

And if so - does anyone have tips for doing it?

I see that this question is raised before, for some years ago.

We use C$SOCKET to upload and download files from at FTP server. 

One of the partners will now transfer to SFTP.

Short question:

Is this possible with C$SOCKET in newer versions?

And if so - does anyone have tips for doing it?

This should be possible. SFTP is just a different protocol than FTP, which needs to be followed. C$SOCKET is just a way to get to the socket, and nothing special.

However, I have not done this, and so have no suggestions.


This should be possible. SFTP is just a different protocol than FTP, which needs to be followed. C$SOCKET is just a way to get to the socket, and nothing special.

However, I have not done this, and so have no suggestions.

Hi!

Long time, no comment.

Is because I have not had the time to explore this.

I now have tested, but it does not seem to work right out of the box.

What I have done, is to change the code so it communicates with port 22, and I have changed the URL to match the SFTP server, and of course set the correct credentials for logon.

The answer after connect is "SSH-2.0-OpenSSH_76pl Ubuntu-4ubuntu0.3"

When I expected the code "220".

Any ideas of what else I should change?

 

Regards

Dagl


Hi!

Long time, no comment.

Is because I have not had the time to explore this.

I now have tested, but it does not seem to work right out of the box.

What I have done, is to change the code so it communicates with port 22, and I have changed the URL to match the SFTP server, and of course set the correct credentials for logon.

The answer after connect is "SSH-2.0-OpenSSH_76pl Ubuntu-4ubuntu0.3"

When I expected the code "220".

Any ideas of what else I should change?

 

Regards

Dagl

I have not studied the SFTP protocol at all, and have no suggestions of how to get this working, sorry.