Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Could not find library ftplib.dll #36

Closed
ajhd opened this issue Sep 21, 2018 · 8 comments
Closed

Error: Could not find library ftplib.dll #36

ajhd opened this issue Sep 21, 2018 · 8 comments

Comments

@ajhd
Copy link

ajhd commented Sep 21, 2018

I'm trying to deploy a simple text file from "ftprep" type repository, but I got the following:

INFO: Starting deployment #152
INFO: Deploying Application "MyApp" into Environment "MyEnv"
INFO: Deploying Component MyComponent
Runtime error: Could not find library ftplib.dll
INFO: Time taken 0.010000 seconds

Can someone help me to resolve this?

I'm using the Linux DeployHub Open Source (OSS Latest version)

Thanks in advance!

@sbtaylor15
Copy link
Member

What OS is your end-point running?
Thanks, Steve

@ajhd
Copy link
Author

ajhd commented Sep 21, 2018

Linux

@sbtaylor15
Copy link
Member

The best way to go is to use sftp, which supports ssh. You will need to create a credential for that end point. The credential can be userid/password combo or public/private key.

sftp will enable commands to be run pre and post deployment on the end point. Regular ftp does not allow for any command execution.

image

image

@ajhd
Copy link
Author

ajhd commented Sep 21, 2018

I don't have any problem with my End-point my settings are like your images with protocol = sftp and ssh port number = 22, and I also created a credential with my external userid and password.
I think the problem is with the repository, because I already did a test. I transferred a file from my local machine to this same End-Point and it was successful, but when I tried from an external repository using ftprep instead of filesystem, I got that error.

@sbtaylor15
Copy link
Member

Ok, got it. I thought the problem was on the end point side. Let me check on the repository side.

Thanks, Steve

@ajhd
Copy link
Author

ajhd commented Sep 21, 2018

Sure, Thank you! = D

@sbtaylor15
Copy link
Member

I was able to recreate the issue. Let me debug it to figure out what is going on.

sbtaylor15 added a commit that referenced this issue Sep 24, 2018
Signed-off-by: Steve Taylor <steve.taylor@openmakesoftware.com>
@sbtaylor15
Copy link
Member

Removed ftp support. Use sftp instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants