id
stringlengths 32
32
| text
stringlengths 0
895k
| name
stringlengths 0
33k
| domain
stringlengths 5
44
| bucket
stringclasses 19
values | answers
list |
---|---|---|---|---|---|
af07edf092dec2b169c965292320f69d | Hi, does anyone had a problem like this?
System.UnauthorizedAccessException: Access to the path "d:\ftp" is
denied.
I'm getting anoying with this!
Below there's the code i'm using.
---------
Dim ftp As New FTPClient("ftp.xxx.com")
ftp.Login("user", "passwd")
ftp.ConnectMode = FTPConnectMode.ACTIVE
ftp.TransferType = FTPTransferType.BINARY
ftp.Get("d:\ftp", "gzip.exe")
ftp.Quit() | Access denied | enterprisedt.com | 2021.04 | [
{
"text": "Typically, you can't cd to d:\\ftp when logged in to an FTP server. It puts you in a virtual directory tree. You'll have to find out where the file you want is, within that virtual directory\n \n\n \n\n> Hi, does anyone had a problem like this? \n> \n> System.UnauthorizedAccessException: Access to the path \"d:\\ftp\" is \n> denied. \n> \n> I'm getting anoying with this! \n> Below there's the code i'm using. \n> --------- \n> Dim ftp As New FTPClient(\"ftp.xxx.com\") \n> ftp.Login(\"user\", \"passwd\") \n> ftp.ConnectMode = FTPConnectMode.ACTIVE \n> ftp.TransferType = FTPTransferType.BINARY \n> ftp.Get(\"d:\\ftp\", \"gzip.exe\") \n> ftp.Quit()\n\n",
"name": "",
"is_accepted": false
},
{
"text": "Well, but i do can cd to \"d:\\ftp\", any idea?\n \n\n \n\n \n\n \n\n> Typically, you can't cd to d:\\ftp when logged in to an FTP server. It puts you in a virtual directory tree. You'll have to find out where the file you want is, within that virtual directory \n> \n> \n> > Hi, does anyone had a problem like this? \n> > \n> > System.UnauthorizedAccessException: Access to the path \"d:\\ftp\" is \n> > denied. \n> > \n> > I'm getting anoying with this! \n> > Below there's the code i'm using. \n> > --------- \n> > Dim ftp As New FTPClient(\"ftp.xxx.com\") \n> > ftp.Login(\"user\", \"passwd\") \n> > ftp.ConnectMode = FTPConnectMode.ACTIVE \n> > ftp.TransferType = FTPTransferType.BINARY \n> > ftp.Get(\"d:\\ftp\", \"gzip.exe\") \n> > ftp.Quit()\n> \n> \n\n",
"name": "",
"is_accepted": false
},
{
"text": "??\n \n\n \n\n> Well, but i do can cd to \"d:\\ftp\", any idea?\n\n",
"name": "",
"is_accepted": false
},
{
"text": "What do you mean by, \"you do not have access to d:\\ftp\"\n \n\n \nI do access to that folder",
"name": "",
"is_accepted": false
},
{
"text": "sorry again, when you said:\n \n\n \n'Typically, you can't cd to d:\\ftp when logged in to an FTP server. It puts you in a virtual directory tree. You'll have to find out where the file you want is, within that virtual directory'\n \n\n \nDo you reffer to a local virtual directory ? For example, if i'm in \"d:\\\", i mean, i'm executing my vb.net binary from that directory, and i'm going to access the ftp server from there, what should be the virtual directory??\n \n\n \ni think i didn't understood it...",
"name": "",
"is_accepted": false
},
{
"text": "Typically, an FTP server's virtual directory for you the logged in FTP user has a single root, \"/\", and subdirectories off that root directory.\n \n\n \nFTP servers often don't recognise drive letters. If this is the case for you, you will need to map D: to a subdirectory of \"/\" - this will require configuring the FTP server or finding out what the mappings are.",
"name": "",
"is_accepted": false
},
{
"text": "Sorry, i think you're are not understanding,\n \n\n \nDim ftp As New FTPClient(\"ftp.xxx.com\") \n \nftp.Login(\"user\", \"passwd\") \n \nftp.ConnectMode = FTPConnectMode.ACTIVE \n \nftp.TransferType = FTPTransferType.BINARY \n \nftp.Get(\"d:\\ftp\", \"gzip.exe\") \n \nftp.Quit()\n \n\n \nthe code below indicates that i'm getting the file \"gzip.exe\" from the ftp server and putting it to the local directory \"d:\\ftp\"\n \nlike you're saying some servers don't support drive letters, ok, but i also tried to get the file like \n \nftp.Get(\".\", \"gzip.exe\") \n \n\n \nthat show that im putting the file that im retriving to the current directory, and i also got an \"access denied\"",
"name": "",
"is_accepted": false
},
{
"text": "Oh,sorry, try \n \n\n \nftp.Get(\"d:\\ftp\\gzip.exe\", \"gzip.exe\");\n \n\n \nyou need to supply the filename\n \n\n \n\n> Sorry, i think you're are not understanding, \n> \n> Dim ftp As New FTPClient(\"ftp.xxx.com\") \n> ftp.Login(\"user\", \"passwd\") \n> ftp.ConnectMode = FTPConnectMode.ACTIVE \n> ftp.TransferType = FTPTransferType.BINARY \n> ftp.Get(\"d:\\ftp\", \"gzip.exe\") \n> ftp.Quit() \n> \n> the code below indicates that i'm getting the file \"gzip.exe\" from the ftp server and putting it to the local directory \"d:\\ftp\" \n> like you're saying some servers don't support drive letters, ok, but i also tried to get the file like \n> ftp.Get(\".\", \"gzip.exe\") \n> \n> that show that im putting the file that im retriving to the current directory, and i also got an \"access denied\"\n\n",
"name": "",
"is_accepted": false
},
{
"text": "ah, that better, i didn't try it but'm gonna try and let you know the results",
"name": "",
"is_accepted": false
},
{
"text": "Ok, it works, thanks :)",
"name": "",
"is_accepted": false
}
] |
49c2028ab416de5c8cf32dc458b97421 | SFTP vs FTPS - which is better? | SFTP vs FTPS - which is better? | enterprisedt.com | 2020.34 | [
{
"text": "While FTPS and SFTP are completely different protocols, they offer the same basic feature: secure file transfers. It is therefore common to be faced with the choice of one or the other. This section provides some pros and cons of these two protocols. \n\n \n\nSecurity \n\n \n\nUnder ideal conditions SFTP and FTPS are able to offer comparable levels of security, but many SFTP deployments suffer from a vulnerability that is an artifact of SFTP's close relationship with SSH. The problem arises when you want to allow client SFTP access on a server but not SSH access. This is generally not a problem for pure SFTP servers, but for SSH/SFTP servers such as OpenSSH it can be quite complex and error-prone. So if you are not very careful when you set up your servers, users on machines with the SFTP client installed will be able to use an SSH client to log into the server and execute commands. This is not a problem with FTPS since this is purely a file transfer protocol and not a remote console protocol. \n\n \n\nUpgrading \n\n \n\nFTPS is a straight-forward extension to an existing FTP infrastructure. It is supported by most commercial servers and many open source servers (e.g. wu-ftpd and proftpd), so enabling FTPS on a server is usually just a matter of adding a few configuration options. There is no need to run additional servers since FTPS servers invariably also support FTP. There is also no need to open additional ports in firewalls since FTPS uses the same ports as FTP. It is important to note that data-transfer problems can sometimes arise when changing from FTP to FTPS - see \"Firewalls\" section below. \n\n \n\nCertificates \n\n \n\nSFTP uses keys rather than certificates. This means that it can't take advantage of the \"chains of trust\" paradigm facilitated through Certificate Authorities. This paradigm makes it possible for two entities to establish a trust relationship without directly exchanging security information, which is important for some applications. FTPS uses certificates and therefore can take advantage of this paradigm. SFTP clients must install keys on the server. \n\n \n\nFirewalls \n\n \n\nSFTP often works better through some firewalls since it does not rely on multiple connections like FTP does. FTP and FTPS both use a control channel to send commands, and a new data connection for each file transfer. While the control channel is usually easily connected, it is common to experience firewall-related problems when connecting data-channels. This is particularly so in FTPS where the FTP-specific features of most firewalls are ineffective due to encryption. Since SFTP relies on a single network connection, it does not suffer from these problems.",
"name": "",
"is_accepted": true
}
] |
346f6644fc0ca291eb3a110250ca1f66 | We are running version Complete FTP 8.3.0 ( June 2015 vintage ) on a Windows Server 2012 Platform that is being retired ( hardware EOL ). Is it possible to purchase the current version of Complete FTP for the new Windows Server 2019 and migrate the retiring server's Complete FTP database/configuration to it? Or - will I have to rebuild each existing account 1 at a time on the new platform? | Is it possible to migrate existing configuration to new server? | enterprisedt.com | 2020.05 | [
{
"text": "Yes. You don't need to purchase a new license - you can renew your support agreement (if it is no longer current) to obtain the latest version, and you can migrate your existing settings as described [here](https://enterprisedt.com/questions/index.php/2518/how-do-i-move-completeftp-to-another-machine). \n\n",
"name": "",
"is_accepted": true
}
] |
df89369ff9ef01dc669ee198a5f4ab71 | Hi, I've been having a problem ftping from a pc to a mac server (os x). My ftp code (using edt ftp code) is ok until the server reports an ftp error 7155 code - does anyone know what this means? | FTP unexpected error 7155 | enterprisedt.com | 2021.04 | [
{
"text": "Post \n \n\n \n1. A stack trace\n \n2. A fragment of your code\n \n3. Full text of error message\n \n\n \nand we may be able to help\n \n\n \n\n> Hi, I've been having a problem ftping from a pc to a mac server (os x). My ftp code (using edt ftp code) is ok until the server reports an ftp error 7155 code - does anyone know what this means?\n\n",
"name": "",
"is_accepted": false
},
{
"text": "Thanks for the reply. I've managed to sort the problem now. Seems that it was due to an error on the server. All is now ok\n \n\n \nGreat product BTW! :) \n \n\n \n\n> Post \n> \n> 1. A stack trace \n> 2. A fragment of your code \n> 3. Full text of error message \n> \n> and we may be able to help \n> \n> \n> > Hi, I've been having a problem ftping from a pc to a mac server (os x). My ftp code (using edt ftp code) is ok until the server reports an ftp error 7155 code - does anyone know what this means?\n> \n> \n\n",
"name": "",
"is_accepted": false
}
] |
941eea5c11334c32263a7bf92b678f6f | Dear Team,
Good Day!
Please assist this single developer license can be used in QA and Live environments.
Regards,
Ilan | Limitations for "Individual Developer - for one developer" | enterprisedt.com | 2020.10 | [
{
"text": "Yes, the Single Developers License can be used in both Quality assurance and production environments. \n\n \n\nKind Regards \n\n \n\nStuart",
"name": "",
"is_accepted": false
}
] |
40cc4f702e6438e0c49b4e48289933bf | How can I disable TLS1.0 on SecureFileTransferClient? | enterprisedt.com | 2019.51 | [
{
"text": "Use:\n\n\n```\ngetAdvancedSSLSettings().setMinSSLVersion(SSLFTPClient.SSLVersion.TLS\\_V1\\_1)\n```\n",
"name": "",
"is_accepted": true
}
] |
|
f282b4648e6d6c85c1c336fff658f715 | What is the correct method to upgrade a Standard Edition installation of CompleteFTP to an installation of Professional Edition?
What is the correct method for managing the license activation/deactivation process in this case?
| Install Professional edition over Standard edition? | enterprisedt.com | 2019.47 | [
{
"text": "All that is required is to re-activate the installation as usual with the new details that are sent to you.",
"name": "",
"is_accepted": false
}
] |
ad7b3c6f2ad1aaea23eec5232463d1ca | I tried to create an account to ask question. But after registeration, the account does not work. So I have to send you the mail directly.
We have a very old java FTP upload component which using a very old version of edtFTPj library. Probably v1.3. This version of edtFTPj supports the transfer type EBCDIC. Please refer to the class com.enterprisedt.net.ftp.FTPTransferType.
Decompile the *.class file:
---
package com.enterprisedt.net.ftp;
```
public class FTPTransferType
{
private static String cvsId = "$Id: FTPTransferType.java,v 1.3 2001/10/09 20:54:08 bruceb Exp $";
public static FTPTransferType ASCII = new FTPTransferType();
public static FTPTransferType BINARY = new FTPTransferType();
public static FTPTransferType EBCDIC = new FTPTransferType();
public static FTPTransferType STRUCTRECORD = new FTPTransferType();
public static FTPTransferType NOSTRUC = new FTPTransferType();
static String ASCII\_CHAR = "A";
static String BINARY\_CHAR = "I";
static String EBCDIC\_CHAR = "E";
static String STRUCTRECORD\_CHAR = "R";
}
```
```
---
```
Now we are trying to refacoring our component, but the latest edtFTPj does not support EDBDIC. I find a potential solution in the FAQ: <http://enterprisedt.com/questions/index.php/211/encoding-problem-probably-with-ebcdic?show=211#q211>
Could you please advise:
1. When the EBCDIC was not supported? If possiable, could you advise the reason that it was not supported any more?
2. Does the link I found could be considered as the solution to upload file with EBCDIC? If not, could you advise?
| EBCDIC support in edtFTPj | enterprisedt.com | 2020.10 | [
{
"text": "EBCDIC has never been supported. The author of your upload component has probably modified the source to add support for it.",
"name": "",
"is_accepted": true
}
] |
58c3eb9c7a4d84b05ac9a8d627c1b78a | I am running edtftpj-pro-5.2.6 and fail to run the example Implicit FTPS connection code from EnterpriseDT to connect using FTPS to azure:
```
SSLFTPClient ftp = null;
ftp = new SSLFTPClient();
ftp.setConfigFlags(SSLFTPClient.ConfigFlags.DISABLE\_SSL\_CLOSURE);
ftp.setRemoteHost(server);
ftp.setImplicitFTPS(true);
ftp.setValidateServer(false);
ftp.connect();
```
I don't get past the connect operation so I did not post the login process nor anything else after the connect. I seem to run into this no matter what I try.
When I run this code I get an error: com.enterprisedt.net.puretls.SSLHandshakeFailedException: com.enterprisedt.net.puretls.SSLPrematureCloseException: Short read when trying to connect
I have tried FileZilla and can connect with no issues:
```
Response: 220 Microsoft FTP Service
Command: AUTH TLS
Response: 234 AUTH command ok. Expecting TLS Negotiation.
Status: Initializing TLS...
Status: Verifying certificate...
Status: TLS connection established.
Command: USER XXXXXXXXXXXXXXXXXXX
Response: 331 Password required
Command: PASS **********
Response: 230 User logged in.
Command: OPTS UTF8 ON
Response: 200 OPTS UTF8 command successful - UTF8 encoding now ON.
Command: PBSZ 0
Response: 200 PBSZ command successful.
Command: PROT P
Response: 200 PROT command successful.
Status: Logged in
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/" is current directory.
```
What am I missing? Bear with me if I missed something in the example. I don't often turn to Support forums...
| Fail to make a Azure FTPS Implicit connection | enterprisedt.com | 2019.51 | [
{
"text": "Judging by the FileZilla log, the server is not an implicit FTPS server, so please remove the call to setImplicitFTPS.",
"name": "",
"is_accepted": false
}
] |
75532d10d0e5fb14c83ef37272ee43ea | *Edit: When I added this line it worked. Why?*
*PreferredHostKeyAlgorithms = EnterpriseDT.Net.Ssh.SSHPublicKeyAlgorithm.AllPreferRSA*
I am experiencing an error trying to connect to a client where I am getting the following error. DSA: Sigblob length 56 bytes < required 40 bytes. I am looking for some insight on how to correct this issue. I can connect to the sftp server using Winscp.
ALL [ClientKeyExchanger] 9 Feb 2017 13:35:33.029 : Sig:
00 00 00 07 73 73 68 2D 64 73
73 00 00 00 38 20 F5 1C D5 2E
F5 DE 19 B1 F3 CC 7D BE 1D 41
80 9D B7 89 46 80 18 33 FA B9
21 E3 B8 6B 01 72 68 B9 07 6D
0B 80 0E C9 D4 FC 0A 91 30 87
70 E1 DD 3A CD 95 13 D0 F5 37
AA
ALL [ClientKeyExchanger] 9 Feb 2017 13:35:33.029 : Hash:
F8 C9 10 05 9D C2 E4 AD B4 88
9A 43 71 20 91 AF 87 C7 A5 77
ERROR [SSHFTPClient] 9 Feb 2017 13:35:33.114 : Failed to connect - closing connection
ERROR [SSHFTPClient] 9 Feb 2017 13:35:33.114 : EnterpriseDT.Net.Ssh.Routrek.PKI.VerifyException: DSA: sigblob length of 56 bytes < required 40 bytes
ERROR [SSHFTPClient] 9 Feb 2017 13:35:33.114 : at z5uK9Wepjxwl3H4m8KU.JgvMkReeOvLReSt8Di3.Verify(Byte[] , Byte[] )
ERROR [SSHFTPClient] 9 Feb 2017 13:35:33.114 : at E70qshjs1uma3Kd2SvT.gRSinaju6I3G0pQw0fx.nmsURFt0GoJ(SSH2DataReader , Byte[] , Byte[] )
ERROR [SSHFTPClient] 9 Feb 2017 13:35:33.114 : at E70qshjs1uma3Kd2SvT.gRSinaju6I3G0pQw0fx.JASURdGp2wT(Byte[] , Byte[] , Byte[] )
ERROR [SSHFTPClient] 9 Feb 2017 13:35:33.114 : at E70qshjs1uma3Kd2SvT.gRSinaju6I3G0pQw0fx.JqfURDXNyCZ(q80hh3eSbtVdnTnoZ3Q )
ERROR [SSHFTPClient] 9 Feb 2017 13:35:33.114 : at E70qshjs1uma3Kd2SvT.gRSinaju6I3G0pQw0fx.McNUR0dknFs()
ERROR [SSHFTPClient] 9 Feb 2017 13:35:33.114 : at CR0IccINdM4TIqODQvG.KdAc68Ip2agQw1CVyJx.Connect(Y4QgtiqboYwQmtwJs5 )
ERROR [SSHFTPClient] 9 Feb 2017 13:35:33.114 : at ifmxyGR4QBJsrPp8G5f.YGj1W1RfNawT570jK7q.TYThFuj778(fv6pegjBmkZHB2OX9m4 , l29L3Ggxwflt6lwtg6 , nvgTdZvYldlF5Jh4yI , Y4QgtiqboYwQmtwJs5 )
ERROR [SSHFTPClient] 9 Feb 2017 13:35:33.114 : at ifmxyGR4QBJsrPp8G5f.YGj1W1RfNawT570jK7q.G7EhdKiRwv(fv6pegjBmkZHB2OX9m4 , l29L3Ggxwflt6lwtg6 , Socket , ILogTag )
ERROR [SSHFTPClient] 9 Feb 2017 13:35:33.114 : at EnterpriseDT.Net.Ftp.Ssh.SSHFTPClient.Connect()
| Exception connecting to SFTP | enterprisedt.com | 2021.10 | [
{
"text": "Sorry for the late response. It apparently works for RSA keys but not DSA keys - most servers support both, but RSA should be preferred. WinSCP is probably using RSA.",
"name": "",
"is_accepted": false
}
] |
af6d787e703304ca7da5e4cff7f2b877 | Client hangs after a file transfer completes. How to deal with it? | Client hangs after a file transfer completes | enterprisedt.com | 2020.34 | [
{
"text": "This is generally because the FTP server has not correctly responded to the standard SSL/TLS closure exchange sequence. In this case, the server waits for more data that never arrives, as it does not realize it has entered the closure exchange sequence. The server can be prevented from waiting by setting DISABLE\\_DATA\\_SSL\\_CLOSURE:\n\n\n```\nSSLFTPClient ftp = new SSLFTPClient();\nftp.setConfigFlags(SSLFTPClient.ConfigFlags.DISABLE\\_DATA\\_SSL\\_CLOSURE) :\n\n```\n",
"name": "",
"is_accepted": true
}
] |
5d99fe9b324d269234f68e85e4fc3d24 | We're using a software which supports SFTP, and using EnterpriseDT library with the default configuration. We need to understand which cipher is configured as default. Thanks. | What is the default configuration for SFTP in Java Library? | enterprisedt.com | 2019.43 | [
{
"text": "The easiest way to tell this is to enable debug logging and examine the output. In the earliest message exchanged with the server you'll see the ciphers that are listed, and their preferential order. They will differ depending on the version used.",
"name": "",
"is_accepted": true
}
] |
45f7950f0ba9526ef7f02865c2eee1b7 | Hi guys, I love your FTP client. I'm using the .Net version in a C# application and think I might have found a bug. Every now and then, when I'm in active mode, the FTP client sends "ORT" to the server when it should send "PORT". I think it happens when the port number chosen by the client is too high. Here are a couple examples:
PORT 151,205,169,246,96,63 (works fine)
ORT 141,157,238,53,19,156 (no good)
I think the problem is in here:
private void SetDataPort(IPEndPoint ep)
{
byte[] hostBytes =BitConverter.GetBytes(ep.Address.Address);
byte[] portBytes = ToByteArray((ushort)ep.Port);
// assemble the PORT command
string cmd = new StringBuilder("PORT ").
Append((short)hostBytes[0]).Append(",").
Append((short)hostBytes[1]).Append(",").
Append((short)hostBytes[2]).Append(",").
Append((short)hostBytes[3]).Append(",").
Append((short)portBytes[0]).Append(",").
Append((short)portBytes[1]).ToString();
// send command and check reply
string reply = SendCommand(cmd);
ValidateReply(reply, "200");
/*
//byte[] hostBytes = ep.Address.GetAddressBytes();
string host = ep.Address.ToString();
System.Console.WriteLine("host="+host);
string byte1=host.Substring(0,host.IndexOf("."));
System.Console.WriteLine("byte1="+byte1);
host=host.Substring(host.IndexOf(".")+1);
System.Console.WriteLine("byte1="+byte1);
string byte2=host.Substring(0,host.IndexOf("."));
host=host.Substring(host.IndexOf(".")+1);
System.Console.WriteLine("byte2="+byte2);
string byte3=host.Substring(0,host.IndexOf("."));
host=host.Substring(host.IndexOf(".")+1);
System.Console.WriteLine("byte3="+byte3);
string byte4=host.Substring(0,host.Length);
System.Console.WriteLine("byte4="+byte4);
byte[] portBytes = ToByteArray((ushort)ep.Port);
string cmd = new StringBuilder("PORT ").
Append(byte1).Append(",").
Append(byte2).Append(",").
Append(byte3).Append(",").
Append(byte4).Append(",").
Append((short)portBytes[0]).Append(",").
Append((short)portBytes[1]).ToString();
// send command and check reply
string reply = SendCommand(cmd);
ValidateReply(reply, "200");
*/
} | ORT instead of PORT | enterprisedt.com | 2021.04 | [
{
"text": "Thanks for pointing this out - we'll take a look. We hope to release a new version soon so we'll try to sort this out before that happens.",
"name": "",
"is_accepted": false
},
{
"text": "I'm not sure that this problem is caused by a high port anymore because I've not seen this on my ftp server.\n \n\n \n[2] Tue 16Mar04 00:12:22 - (000717) ORT 141,157,238,53,19,154\n \n[2] Tue 16Mar04 00:12:22 - (000717) PORT 141,157,238,53,19,155\n \n[2] Tue 16Mar04 00:12:22 - (000717) APPE 004003112004131752ApplicationLog.txt\n \n\n \nAnby ideas why this might happen?",
"name": "",
"is_accepted": false
},
{
"text": "I meant to say that I'm not sure that this is related to a high port number anymore because I now see ORT messages on my FTP server for port numbers lower than other messages where the PORT message is properly constructed. For instance:\n \n\n \n[2] Tue 16Mar04 00:12:22 - (000717) ORT 141,157,238,53,19,154 \n \n[2] Tue 16Mar04 00:12:22 - (000717) PORT 141,157,238,53,19,155 \n \n[2] Tue 16Mar04 00:12:22 - (000717) APPE 004003112004131752ApplicationLog.txt \n \n\n \nThanks for any thoughts on this,\n \n\n \nColin",
"name": "",
"is_accepted": false
},
{
"text": "This is a weird problem - has anyone else seen this?\n \n\n \nColin, is your FTP server doing any logging? Can you see what it is receiving?\n \n\n \n\n \n\n> I meant to say that I'm not sure that this is related to a high port number anymore because I now see ORT messages on my FTP server for port numbers lower than other messages where the PORT message is properly constructed. For instance: \n> \n> [2] Tue 16Mar04 00:12:22 - (000717) ORT 141,157,238,53,19,154 \n> [2] Tue 16Mar04 00:12:22 - (000717) PORT 141,157,238,53,19,155 \n> [2] Tue 16Mar04 00:12:22 - (000717) APPE 004003112004131752ApplicationLog.txt \n> \n> Thanks for any thoughts on this, \n> \n> Colin\n\n",
"name": "",
"is_accepted": false
},
{
"text": "This not edtftp's fault. It's always sending the correct PORT command. I'm not completely sure why, but somehow the P is sometimes lost in transit on the way to the FTP server.\n \n\n \nThe solution to this problem is to just retry the login until it works. I've configured my application to try to login to the ftp server 3 times before giving up and now it works every time.\n \n\n \nBTW, I think this is only a problem in active mode since passive mode shouldn't require a port command from the client.\n \n\n \nColin",
"name": "",
"is_accepted": false
},
{
"text": "I saw problems similar to this when I wrote my own FTP client, usually when going through Nokia or Cisco firewalls (though I suspect it could happen to others). In my case, the outgoing call was a byte off, and the packet-reshaping logic of the firewall dropped the first character.\n \n\n \nIs it possible the same is happening to you? I haven't delved into that side of the code much, but it could be related.\n \n\n \n-Matt",
"name": "",
"is_accepted": false
}
] |
c24823ccfbc386ffb2000eaab0bdf36b | I?m currently having a problem compiling your latest version of (edtFTPnetPRO.dll 7.4.0.20) using Microsoft Visual Studio 10 .Net Framework 4.0 x64 because your dll assembly was compiled in older version of .Net Framework 2.0. Could you please tell me where I can obtain the latest version that?s compiled in .Net Framework 4.0 version? | How to compile using Visual Studio 10/.NET 4.0? | enterprisedt.com | 2021.10 | [
{
"text": "Ensure the target framework is not set to \"client profile\" and it should compile fine.",
"name": "",
"is_accepted": true
}
] |
b48c86d18d81aabd956a9b1e1af338db | Hello,
How can I set LogLevel when I use FTPConnection class in console app? From the intellisense, I don't see LogLevel property or any kind of logging/debugging properties available as stated in the documentation.
I'm using edtFTPnetPRO 7.1.
Please help.
TLE | How to set LogLevel in console app? | enterprisedt.com | 2020.10 | [
{
"text": "It's a static property so it doesn't show up in Intellisense for instance variables. It will show up though if you type \"FTPConnection.\".\n \n\n \n- Hans (EnterpriseDT)",
"name": "",
"is_accepted": false
},
{
"text": "Thanks Hans. I am getting exception as I start uploading a file. My server admin also monitors my connection on his server and he says that he sees my connection connected to the server, but it immediately disconnected. This happens intermittenly before, but not often. It is getting quite frequent (everyday) lately. Some other programs I have that use Microsoft Windows FTP commands work fine. Here is my log contents. Please help.\n \n\n \nTim\n \n\n \n[quote]\n \nDEBUG [FTPConnection] 24 Oct 2010 10:08:52.365 : Set LocalDirectory='C:\\MyProjects\\DotNet\\CS\\MemConfigurationFiles\\MemConfigDELL\\bin\\Debug'\n \nDEBUG [FTPClient] 24 Oct 2010 10:08:52.381 : Connecting to ftp.kingston.com:21\n \nDEBUG [HostNameResolver] 24 Oct 2010 10:08:52.678 : Resolving ftp.kingston.com\n \nDEBUG [HostNameResolver] 24 Oct 2010 10:08:52.678 : Obtained 1 addresses\n \nDEBUG [HostNameResolver] 24 Oct 2010 10:08:52.678 : IP address: 12.145.42.8\n \nDEBUG [HostNameResolver] 24 Oct 2010 10:08:52.678 : ftp.kingston.com resolved to 12.145.42.8\n \nDEBUG [FTPControlSocket] 24 Oct 2010 10:08:52.709 : Setting socket timeout=60\n \nDEBUG [FTPControlSocket] 24 Oct 2010 10:08:52.709 : Command encoding=System.Text.ASCIIEncoding\n \nDEBUG [FTPControlSocket] 24 Oct 2010 10:08:52.709 : StrictReturnCodes=False\n \nDEBUG [FTPControlSocket] 24 Oct 2010 10:08:52.756 : 220 Kingston Technology Co. Authorized Access Only!\n \nDEBUG [FTPConnection] 24 Oct 2010 10:08:52.756 : Connected to ftp.kingston.com (instance=0)\n \nDEBUG [FTPControlSocket] 24 Oct 2010 10:08:52.756 : ---> USER 27tle25\n \nDEBUG [FTPControlSocket] 24 Oct 2010 10:08:52.787 : 331 User name okay, need password.\n \nDEBUG [FTPControlSocket] 24 Oct 2010 10:08:52.787 : ---> PASS ********\n \nDEBUG [FTPControlSocket] 24 Oct 2010 10:08:52.803 : 230 User logged in, proceed.\n \nDEBUG [FTPConnection] 24 Oct 2010 10:08:52.803 : Successfully logged in\n \nDEBUG [FTPControlSocket] 24 Oct 2010 10:08:52.803 : ---> TYPE I\n \nDEBUG [FTPControlSocket] 24 Oct 2010 10:08:52.818 : 200 Type set to I.\n \nDEBUG [FTPControlSocket] 24 Oct 2010 10:08:52.818 : ---> PWD\n \nDEBUG [FTPControlSocket] 24 Oct 2010 10:08:52.818 : 257 \"/\" is current directory.\n \nDEBUG [FTPConnection] 24 Oct 2010 10:09:11.225 : UploadFile(MEMORY\\_KINGSTON\\_EN\\_US.txt,Dellware\\MEMORY\\_KINGSTON\\_EN\\_US.txt,False)\n \nDEBUG [FTPConnection] 24 Oct 2010 10:09:11.240 : Combining absolute path 'C:\\MyProjects\\DotNet\\CS\\MemConfigurationFiles\\MemConfigDELL\\bin\\Debug' with relative path 'MEMORY\\_KINGSTON\\_EN\\_US.txt'\n \nDEBUG [FTPControlSocket] 24 Oct 2010 10:09:11.350 : ---> PASV\n \nDEBUG [FTPControlSocket] 24 Oct 2010 10:09:11.646 : 227 Entering Passive Mode (12,145,42,8,17,148)\n \nDEBUG [FTPControlSocket] 24 Oct 2010 10:09:11.646 : Server supplied address=12.145.42.8\n \nDEBUG [FTPControlSocket] 24 Oct 2010 10:09:11.646 : Server supplied port=4500\n \nDEBUG [FTPControlSocket] 24 Oct 2010 10:09:11.646 : Substituting server supplied IP (12.145.42.8) \n \nwith remote host IP (12.145.42.8)\n \nDEBUG [FTPControlSocket] 24 Oct 2010 10:09:11.662 : NewPassiveDataSocket(12.145.42.8,4500)\n \nDEBUG [FTPControlSocket] 24 Oct 2010 10:09:11.709 : ---> STOR Dellware\\MEMORY\\_KINGSTON\\_EN\\_US.txt\n \nERROR [FTPControlSocket] 24 Oct 2010 10:09:12.771 : Read failed ('' read so far)\n \nERROR [FTPControlSocket] 24 Oct 2010 10:09:12.771 : Exception in SendCommand\n \nERROR [FTPControlSocket] 24 Oct 2010 10:09:12.771 : EnterpriseDT.Net.Ftp.ControlChannelIOException: \n \nUnable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.\n \nERROR [FTPControlSocket] 24 Oct 2010 10:09:12.771 : at EnterpriseDT.Net.Ftp.FTPControlSocket.nPqqJvmiv()\n \nERROR [FTPControlSocket] 24 Oct 2010 10:09:12.771 : at EnterpriseDT.Net.Ftp.FTPControlSocket.Ign4Bx5HWG()\n \nERROR [FTPControlSocket] 24 Oct 2010 10:09:12.771 : at EnterpriseDT.Net.Ftp.FTPControlSocket.SendCommand(String command)\n \nDEBUG [FTPClient] 24 Oct 2010 10:09:12.818 : Closing source stream\n \nERROR [FTPClient] 24 Oct 2010 10:09:12.818 : Caught exception\n \nERROR [FTPClient] 24 Oct 2010 10:09:12.818 : EnterpriseDT.Net.Ftp.ControlChannelIOException: Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.\n \nERROR [FTPClient] 24 Oct 2010 10:09:12.818 : at EnterpriseDT.Net.Ftp.FTPControlSocket.nPqqJvmiv()\n \nERROR [FTPClient] 24 Oct 2010 10:09:12.818 : at EnterpriseDT.Net.Ftp.FTPControlSocket.Ign4Bx5HWG()\n \nERROR [FTPClient] 24 Oct 2010 10:09:12.818 : at EnterpriseDT.Net.Ftp.FTPControlSocket.SendCommand(String command)\n \nERROR [FTPClient] 24 Oct 2010 10:09:12.818 : at EnterpriseDT.Net.Ftp.FTPClient.yVRgq92pF(String , Boolean )\n \nERROR [FTPClient] 24 Oct 2010 10:09:12.818 : at EnterpriseDT.Net.Ftp.FTPClient.UCLNysjHe(Stream , String , Boolean , Boolean )\n \nERROR [FTPClient] 24 Oct 2010 10:09:12.818 : SystemException in Put(string,string,bool)\n \nERROR [FTPClient] 24 Oct 2010 10:09:12.818 : EnterpriseDT.Net.Ftp.ControlChannelIOException: Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.\n \nERROR [FTPClient] 24 Oct 2010 10:09:12.818 : at EnterpriseDT.Net.Ftp.FTPClient.UCLNysjHe(Stream , String , Boolean , Boolean )\n \nERROR [FTPClient] 24 Oct 2010 10:09:12.818 : at EnterpriseDT.Net.Ftp.FTPClient.GQphCRkP4(String , String , Boolean )\n \nERROR [FTPClient] 24 Oct 2010 10:09:12.818 : at EnterpriseDT.Net.Ftp.FTPClient.Put(String localPath, String remoteFile, Boolean append)\n \nERROR [FTPClient] 24 Oct 2010 10:09:12.818 : Exception in ValidateTransferOnError())\n \nERROR [FTPClient] 24 Oct 2010 10:09:12.818 : EnterpriseDT.Net.Ftp.FTPException: The FTP client has not yet connected to the server. The requested action cannot be performed until after a connection has been established.\n \nERROR [FTPClient] 24 Oct 2010 10:09:12.818 : at EnterpriseDT.Net.Ftp.FTPClient.Yqfr5SsNt(Boolean )\n \nERROR [FTPClient] 24 Oct 2010 10:09:12.818 : at EnterpriseDT.Net.Ftp.FTPClient.ValidateTransferOnError()\n \nDEBUG [FTPControlSocket] 24 Oct 2010 10:09:12.818 : Setting socket timeout=60\n \n[/quote]",
"name": "",
"is_accepted": false
},
{
"text": "The timeout is in milliseconds, so by setting it to 60 you are setting it to 60ms which is too short to allow the server to respond. Set it to 60,000ms instead.\n \n\n \n- Hans (EnterpriseDT)",
"name": "",
"is_accepted": false
},
{
"text": "Hi Hans,\n \n\n \nThe exception is still there after I increased the timeout = 90000. The error is different this time though.\n \n\n \n[quote]\n \nDEBUG [FTPConnection] 25 Oct 2010 08:33:02.556 : Set LocalDirectory='C:\\MyProjects\\DotNet\\CS\\MemConfigurationFiles\\MemConfigDELL\\bin\\Debug'\n \nDEBUG [FTPClient] 25 Oct 2010 08:33:02.556 : Connecting to ftp.kingston.com:21\n \nDEBUG [HostNameResolver] 25 Oct 2010 08:33:02.556 : Resolving ftp.kingston.com\n \nDEBUG [HostNameResolver] 25 Oct 2010 08:33:02.556 : Obtained 1 addresses\n \nDEBUG [HostNameResolver] 25 Oct 2010 08:33:02.556 : IP address: 12.145.42.8\n \nDEBUG [HostNameResolver] 25 Oct 2010 08:33:02.556 : ftp.kingston.com resolved to 12.145.42.8\n \nDEBUG [FTPControlSocket] 25 Oct 2010 08:33:02.572 : Setting socket timeout=90000\n \nDEBUG [FTPControlSocket] 25 Oct 2010 08:33:02.572 : Command encoding=System.Text.ASCIIEncoding\n \nDEBUG [FTPControlSocket] 25 Oct 2010 08:33:02.572 : StrictReturnCodes=False\n \nDEBUG [FTPControlSocket] 25 Oct 2010 08:33:02.743 : 220 Kingston Technology Co. Authorized Access Only!\n \nDEBUG [FTPConnection] 25 Oct 2010 08:33:02.743 : Connected to ftp.kingston.com (instance=0)\n \nDEBUG [FTPControlSocket] 25 Oct 2010 08:33:02.743 : ---> USER 27tle25\n \nDEBUG [FTPControlSocket] 25 Oct 2010 08:33:04.806 : 331 User name okay, need password.\n \nDEBUG [FTPControlSocket] 25 Oct 2010 08:33:04.806 : ---> PASS ********\n \nDEBUG [FTPControlSocket] 25 Oct 2010 08:33:21.900 : 230 User logged in, proceed.\n \nDEBUG [FTPConnection] 25 Oct 2010 08:33:21.900 : Successfully logged in\n \nDEBUG [FTPControlSocket] 25 Oct 2010 08:33:21.900 : ---> TYPE I\n \nDEBUG [FTPControlSocket] 25 Oct 2010 08:33:26.118 : 200 Type set to I.\n \nDEBUG [FTPControlSocket] 25 Oct 2010 08:33:26.118 : ---> PWD\n \nDEBUG [FTPControlSocket] 25 Oct 2010 08:33:26.134 : 257 \"/\" is current directory.\n \nDEBUG [FTPConnection] 25 Oct 2010 08:33:26.134 : UploadFile(MEMORY\\_KINGSTON\\_EN\\_US.txt,Dellware\\MEMORY\\_KINGSTON\\_EN\\_US.txt,False)\n \nDEBUG [FTPConnection] 25 Oct 2010 08:33:26.134 : Combining absolute path 'C:\\MyProjects\\DotNet\\CS\\MemConfigurationFiles\\MemConfigDELL\\bin\\Debug' with relative path 'MEMORY\\_KINGSTON\\_EN\\_US.txt'\n \nDEBUG [FTPControlSocket] 25 Oct 2010 08:33:26.150 : ---> PASV\n \nDEBUG [FTPControlSocket] 25 Oct 2010 08:33:26.150 : 227 Entering Passive Mode (12,145,42,8,17,148)\n \nDEBUG [FTPControlSocket] 25 Oct 2010 08:33:26.150 : Server supplied address=12.145.42.8\n \nDEBUG [FTPControlSocket] 25 Oct 2010 08:33:26.150 : Server supplied port=4500\n \nDEBUG [FTPControlSocket] 25 Oct 2010 08:33:26.150 : Substituting server supplied IP (12.145.42.8) with remote host IP (12.145.42.8)\n \nDEBUG [FTPControlSocket] 25 Oct 2010 08:33:26.150 : NewPassiveDataSocket(12.145.42.8,4500)\n \nDEBUG [FTPControlSocket] 25 Oct 2010 08:33:26.150 : ---> STOR Dellware\\MEMORY\\_KINGSTON\\_EN\\_US.txt\n \nERROR [FTPControlSocket] 25 Oct 2010 08:34:39.353 : Read failed ('' read so far)\n \nERROR [FTPControlSocket] 25 Oct 2010 08:34:39.353 : Exception in SendCommand\n \nERROR [FTPControlSocket] 25 Oct 2010 08:34:39.353 : EnterpriseDT.Net.Ftp.ControlChannelIOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.\n \nERROR [FTPControlSocket] 25 Oct 2010 08:34:39.353 : at EnterpriseDT.Net.Ftp.FTPControlSocket.nPqqJvmiv()\n \nERROR [FTPControlSocket] 25 Oct 2010 08:34:39.353 : at EnterpriseDT.Net.Ftp.FTPControlSocket.Ign4Bx5HWG()\n \nERROR [FTPControlSocket] 25 Oct 2010 08:34:39.353 : at EnterpriseDT.Net.Ftp.FTPControlSocket.SendCommand(String command)\n \nDEBUG [FTPClient] 25 Oct 2010 08:34:39.368 : Closing source stream\n \nERROR [FTPClient] 25 Oct 2010 08:34:39.368 : Caught exception\n \nERROR [FTPClient] 25 Oct 2010 08:34:39.368 : EnterpriseDT.Net.Ftp.ControlChannelIOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.\n \nERROR [FTPClient] 25 Oct 2010 08:34:39.368 : at EnterpriseDT.Net.Ftp.FTPControlSocket.nPqqJvmiv()\n \nERROR [FTPClient] 25 Oct 2010 08:34:39.368 : at EnterpriseDT.Net.Ftp.FTPControlSocket.Ign4Bx5HWG()\n \nERROR [FTPClient] 25 Oct 2010 08:34:39.368 : at EnterpriseDT.Net.Ftp.FTPControlSocket.SendCommand(String command)\n \nERROR [FTPClient] 25 Oct 2010 08:34:39.368 : at EnterpriseDT.Net.Ftp.FTPClient.yVRgq92pF(String , Boolean )\n \nERROR [FTPClient] 25 Oct 2010 08:34:39.368 : at EnterpriseDT.Net.Ftp.FTPClient.UCLNysjHe(Stream , String , Boolean , Boolean )\n \nERROR [FTPClient] 25 Oct 2010 08:34:39.368 : SystemException in Put(string,string,bool)\n \nERROR [FTPClient] 25 Oct 2010 08:34:39.368 : EnterpriseDT.Net.Ftp.ControlChannelIOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.\n \nERROR [FTPClient] 25 Oct 2010 08:34:39.368 : at EnterpriseDT.Net.Ftp.FTPClient.UCLNysjHe(Stream , String , Boolean , Boolean )\n \nERROR [FTPClient] 25 Oct 2010 08:34:39.368 : at EnterpriseDT.Net.Ftp.FTPClient.GQphCRkP4(String , String , Boolean )\n \nERROR [FTPClient] 25 Oct 2010 08:34:39.368 : at EnterpriseDT.Net.Ftp.FTPClient.Put(String localPath, String remoteFile, Boolean append)\n \nERROR [FTPClient] 25 Oct 2010 08:34:39.368 : Exception in ValidateTransferOnError())\n \nERROR [FTPClient] 25 Oct 2010 08:34:39.368 : EnterpriseDT.Net.Ftp.FTPException: The FTP client has not yet connected to the server. The requested action cannot be performed until after a connection has been established.\n \nERROR [FTPClient] 25 Oct 2010 08:34:39.368 : at EnterpriseDT.Net.Ftp.FTPClient.Yqfr5SsNt(Boolean )\n \nERROR [FTPClient] 25 Oct 2010 08:34:39.368 : at EnterpriseDT.Net.Ftp.FTPClient.ValidateTransferOnError()\n \nDEBUG [FTPControlSocket] 25 Oct 2010 08:34:39.368 : Setting socket timeout=90000\n \n[/quote]",
"name": "",
"is_accepted": false
},
{
"text": "Try changing to active mode - could be a firewall problem. Can you connect with Filezilla or ftp.exe?",
"name": "",
"is_accepted": false
},
{
"text": "Hi Hans,\n \n\n \nI can still connect and upload files successfully with microsoft windows ftp.exe. I have some other programs that use FTPConnection class from edt. Their behavior is also erratic. For example I upload 2 files, sometimes one file is successfully uploaded and it fails on the second. Sometimes both go through with no problem, but other times it fails right on the first file. Anyway, here is a log file I gathered after changing to Active mode:\n \n\n \n[quote]\n \nDEBUG [FTPConnection] 25 Oct 2010 14:21:11.197 : Set LocalDirectory='C:\\MyProjects\\DotNet\\CS\\MemConfigurationFiles\\MemConfigDELL\\bin\\Debug'\n \nDEBUG [FTPClient] 25 Oct 2010 14:21:11.197 : Connecting to ftp.kingston.com:21\n \nDEBUG [HostNameResolver] 25 Oct 2010 14:21:11.400 : Resolving ftp.kingston.com\n \nDEBUG [HostNameResolver] 25 Oct 2010 14:21:11.415 : Obtained 1 addresses\n \nDEBUG [HostNameResolver] 25 Oct 2010 14:21:11.415 : IP address: 12.145.42.8\n \nDEBUG [HostNameResolver] 25 Oct 2010 14:21:11.415 : ftp.kingston.com resolved to 12.145.42.8\n \nDEBUG [FTPControlSocket] 25 Oct 2010 14:21:11.431 : Setting socket timeout=90000\n \nDEBUG [FTPControlSocket] 25 Oct 2010 14:21:11.462 : Command encoding=System.Text.ASCIIEncoding\n \nDEBUG [FTPControlSocket] 25 Oct 2010 14:21:11.462 : StrictReturnCodes=False\n \nDEBUG [FTPControlSocket] 25 Oct 2010 14:21:14.743 : 220 Kingston Technology Co. Authorized Access Only!\n \nDEBUG [FTPConnection] 25 Oct 2010 14:21:14.743 : Connected to ftp.kingston.com (instance=0)\n \nDEBUG [FTPControlSocket] 25 Oct 2010 14:21:14.759 : ---> USER 27tle25\n \nDEBUG [FTPControlSocket] 25 Oct 2010 14:21:14.884 : 331 User name okay, need password.\n \nDEBUG [FTPControlSocket] 25 Oct 2010 14:21:14.884 : ---> PASS ********\n \nDEBUG [FTPControlSocket] 25 Oct 2010 14:21:14.900 : 230 User logged in, proceed.\n \nDEBUG [FTPConnection] 25 Oct 2010 14:21:14.900 : Successfully logged in\n \nDEBUG [FTPControlSocket] 25 Oct 2010 14:21:14.900 : ---> TYPE I\n \nDEBUG [FTPControlSocket] 25 Oct 2010 14:21:14.900 : 200 Type set to I.\n \nDEBUG [FTPControlSocket] 25 Oct 2010 14:21:14.900 : ---> PWD\n \nDEBUG [FTPControlSocket] 25 Oct 2010 14:21:14.915 : 257 \"/\" is current directory.\n \nDEBUG [FTPConnection] 25 Oct 2010 14:21:25.228 : UploadFile(MEMORY\\_KINGSTON\\_EN\\_US.txt,Dellware\\MEMORY\\_KINGSTON\\_EN\\_US.txt,False)\n \nDEBUG [FTPConnection] 25 Oct 2010 14:21:25.228 : Combining absolute path 'C:\\MyProjects\\DotNet\\CS\\MemConfigurationFiles\\MemConfigDELL\\bin\\Debug' with relative path 'MEMORY\\_KINGSTON\\_EN\\_US.txt'\n \nDEBUG [FTPControlSocket] 25 Oct 2010 14:21:25.228 : NewActiveDataSocket(0)\n \nDEBUG [FTPControlSocket] 25 Oct 2010 14:21:25.228 : ---> PORT 172,16,16,188,28,2\n \nDEBUG [FTPControlSocket] 25 Oct 2010 14:21:25.665 : 200 PORT command successful.\n \nDEBUG [FTPControlSocket] 25 Oct 2010 14:21:25.665 : ---> STOR Dellware\\MEMORY\\_KINGSTON\\_EN\\_US.txt\n \nERROR [FTPControlSocket] 25 Oct 2010 14:22:39.306 : Read failed ('' read so far)\n \nERROR [FTPControlSocket] 25 Oct 2010 14:22:39.322 : Exception in SendCommand\n \nERROR [FTPControlSocket] 25 Oct 2010 14:22:39.322 : EnterpriseDT.Net.Ftp.ControlChannelIOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.\n \nERROR [FTPControlSocket] 25 Oct 2010 14:22:39.322 : at EnterpriseDT.Net.Ftp.FTPControlSocket.nPqqJvmiv()\n \nERROR [FTPControlSocket] 25 Oct 2010 14:22:39.322 : at EnterpriseDT.Net.Ftp.FTPControlSocket.Ign4Bx5HWG()\n \nERROR [FTPControlSocket] 25 Oct 2010 14:22:39.322 : at EnterpriseDT.Net.Ftp.FTPControlSocket.SendCommand(String command)\n \nDEBUG [FTPClient] 25 Oct 2010 14:22:39.322 : Closing source stream\n \nERROR [FTPClient] 25 Oct 2010 14:22:39.322 : Caught exception\n \nERROR [FTPClient] 25 Oct 2010 14:22:39.322 : EnterpriseDT.Net.Ftp.ControlChannelIOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.\n \nERROR [FTPClient] 25 Oct 2010 14:22:39.322 : at EnterpriseDT.Net.Ftp.FTPControlSocket.nPqqJvmiv()\n \nERROR [FTPClient] 25 Oct 2010 14:22:39.322 : at EnterpriseDT.Net.Ftp.FTPControlSocket.Ign4Bx5HWG()\n \nERROR [FTPClient] 25 Oct 2010 14:22:39.322 : at EnterpriseDT.Net.Ftp.FTPControlSocket.SendCommand(String command)\n \nERROR [FTPClient] 25 Oct 2010 14:22:39.322 : at EnterpriseDT.Net.Ftp.FTPClient.yVRgq92pF(String , Boolean )\n \nERROR [FTPClient] 25 Oct 2010 14:22:39.322 : at EnterpriseDT.Net.Ftp.FTPClient.UCLNysjHe(Stream , String , Boolean , Boolean )\n \nERROR [FTPClient] 25 Oct 2010 14:22:39.337 : SystemException in Put(string,string,bool)\n \nERROR [FTPClient] 25 Oct 2010 14:22:39.337 : EnterpriseDT.Net.Ftp.ControlChannelIOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.\n \nERROR [FTPClient] 25 Oct 2010 14:22:39.337 : at EnterpriseDT.Net.Ftp.FTPClient.UCLNysjHe(Stream , String , Boolean , Boolean )\n \nERROR [FTPClient] 25 Oct 2010 14:22:39.337 : at EnterpriseDT.Net.Ftp.FTPClient.GQphCRkP4(String , String , Boolean )\n \nERROR [FTPClient] 25 Oct 2010 14:22:39.337 : at EnterpriseDT.Net.Ftp.FTPClient.Put(String localPath, String remoteFile, Boolean append)\n \nERROR [FTPClient] 25 Oct 2010 14:22:39.337 : Exception in ValidateTransferOnError())\n \nERROR [FTPClient] 25 Oct 2010 14:22:39.337 : EnterpriseDT.Net.Ftp.FTPException: The FTP client has not yet connected to the server. The requested action cannot be performed until after a connection has been established.\n \nERROR [FTPClient] 25 Oct 2010 14:22:39.337 : at EnterpriseDT.Net.Ftp.FTPClient.Yqfr5SsNt(Boolean )\n \nERROR [FTPClient] 25 Oct 2010 14:22:39.337 : at EnterpriseDT.Net.Ftp.FTPClient.ValidateTransferOnError()\n \nDEBUG [FTPControlSocket] 25 Oct 2010 14:22:39.337 : Setting socket timeout=90000\n \n[/quote]",
"name": "",
"is_accepted": false
},
{
"text": "There's a backslash in one of your path, Dellware\\MEMORY\\_KINGSTON\\_EN\\_US.txt. FTP uses UNIX-like paths with forward-slashes.\n \n\n \n- Hans (EnterpriseDT)",
"name": "",
"is_accepted": false
},
{
"text": "Hi Hans,\n \n\n \nThanks for your help. That seems to fix the issue. It is still very weird though. \n \n\n \nI have a same program that runs separately from 2 different folders. The only different is the variables to get different data to create the output files to upload. This program was having connection problem as described above. After I follow your suggestion to use the forward slash instead of backward slash, I rebuilt the program and coppied it to one of the two folders to test. While the other folder still had the old executable.\n \n\n \nNow both new and old executables work without any issue. You have idea what would be the issue that caused them to fail?\n \n\n \n/Tim",
"name": "",
"is_accepted": false
},
{
"text": "No, not really. Maybe I could see if I had the logs.\n \n\n \n- Hans (EnterpriseDT)",
"name": "",
"is_accepted": false
},
{
"text": "Hi Hans,\n \n\n \nIt doesn't seem to be working consistently. The same program now throwing out the same error, even I have use forward slash (unix style)\n \n\n \n[quote]\n \nDEBUG [FTPConnection] 1 Nov 2010 10:05:47.059 : Set LocalDirectory='C:\\MyProjects\\DotNet\\CS\\MemConfigurationFiles\\MemConfigDELL\\bin\\Debug'\n \nDEBUG [FTPClient] 1 Nov 2010 10:05:47.059 : Connecting to ftp.kingston.com:21\n \nDEBUG [HostNameResolver] 1 Nov 2010 10:05:47.075 : Resolving ftp.kingston.com\n \nDEBUG [HostNameResolver] 1 Nov 2010 10:05:47.075 : Obtained 1 addresses\n \nDEBUG [HostNameResolver] 1 Nov 2010 10:05:47.075 : IP address: 12.145.42.8\n \nDEBUG [HostNameResolver] 1 Nov 2010 10:05:47.075 : ftp.kingston.com resolved to 12.145.42.8\n \nDEBUG [FTPControlSocket] 1 Nov 2010 10:05:47.075 : Setting socket timeout=90000\n \nDEBUG [FTPControlSocket] 1 Nov 2010 10:05:47.075 : Command encoding=System.Text.ASCIIEncoding\n \nDEBUG [FTPControlSocket] 1 Nov 2010 10:05:47.075 : StrictReturnCodes=False\n \nDEBUG [FTPControlSocket] 1 Nov 2010 10:05:51.153 : 220 Kingston Technology Co. Authorized Access Only!\n \nDEBUG [FTPConnection] 1 Nov 2010 10:05:51.153 : Connected to ftp.kingston.com (instance=0)\n \nDEBUG [FTPControlSocket] 1 Nov 2010 10:05:51.153 : ---> USER 27tle25\n \nDEBUG [FTPControlSocket] 1 Nov 2010 10:05:51.497 : 331 User name okay, need password.\n \nDEBUG [FTPControlSocket] 1 Nov 2010 10:05:51.497 : ---> PASS ********\n \nDEBUG [FTPControlSocket] 1 Nov 2010 10:05:51.512 : 230 User logged in, proceed.\n \nDEBUG [FTPConnection] 1 Nov 2010 10:05:51.512 : Successfully logged in\n \nDEBUG [FTPControlSocket] 1 Nov 2010 10:05:51.512 : ---> TYPE I\n \nDEBUG [FTPControlSocket] 1 Nov 2010 10:05:51.512 : 200 Type set to I.\n \nDEBUG [FTPControlSocket] 1 Nov 2010 10:05:51.512 : ---> PWD\n \nDEBUG [FTPControlSocket] 1 Nov 2010 10:05:51.528 : 257 \"/\" is current directory.\n \nDEBUG [FTPControlSocket] 1 Nov 2010 10:05:59.215 : ---> SIZE tle\n \nDEBUG [FTPControlSocket] 1 Nov 2010 10:06:00.590 : 550 /tle: Is a directory.\n \nDEBUG [FTPClient] 1 Nov 2010 10:06:00.590 : SIZE not supported\n \nDEBUG [FTPControlSocket] 1 Nov 2010 10:06:00.590 : ---> MDTM tle\n \nDEBUG [FTPControlSocket] 1 Nov 2010 10:06:03.325 : 213 20101025212556.265\n \nDEBUG [FTPControlSocket] 1 Nov 2010 10:06:24.137 : ---> CWD tle\n \nDEBUG [FTPControlSocket] 1 Nov 2010 10:06:24.747 : 250 Directory changed to /Tle\n \nDEBUG [FTPControlSocket] 1 Nov 2010 10:06:24.747 : ---> PWD\n \nDEBUG [FTPControlSocket] 1 Nov 2010 10:06:24.762 : 257 \"/Tle\" is current directory.\n \nDEBUG [FTPConnection] 1 Nov 2010 10:06:37.997 : UploadFile(MEMORY\\_KINGSTON\\_EN\\_US.txt,Dellware/MEMORY\\_KINGSTON\\_EN\\_US.txt,False)\n \nDEBUG [FTPConnection] 1 Nov 2010 10:06:37.997 : Combining absolute path 'C:\\MyProjects\\DotNet\\CS\\MemConfigurationFiles\\MemConfigDELL\\bin\\Debug' with relative path 'MEMORY\\_KINGSTON\\_EN\\_US.txt'\n \nDEBUG [FTPControlSocket] 1 Nov 2010 10:06:37.997 : NewActiveDataSocket(0)\n \nDEBUG [FTPControlSocket] 1 Nov 2010 10:06:37.997 : ---> PORT 172,16,16,188,110,38\n \nDEBUG [FTPControlSocket] 1 Nov 2010 10:06:41.700 : 200 PORT command successful.\n \nDEBUG [FTPControlSocket] 1 Nov 2010 10:06:41.700 : ---> STOR Dellware/MEMORY\\_KINGSTON\\_EN\\_US.txt\n \nERROR [FTPControlSocket] 1 Nov 2010 10:07:32.106 : Read failed ('' read so far)\n \nERROR [FTPControlSocket] 1 Nov 2010 10:07:32.106 : Exception in SendCommand\n \nERROR [FTPControlSocket] 1 Nov 2010 10:07:32.106 : EnterpriseDT.Net.Ftp.ControlChannelIOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.\n \nERROR [FTPControlSocket] 1 Nov 2010 10:07:32.106 : at EnterpriseDT.Net.Ftp.FTPControlSocket.nPqqJvmiv()\n \nERROR [FTPControlSocket] 1 Nov 2010 10:07:32.106 : at EnterpriseDT.Net.Ftp.FTPControlSocket.Ign4Bx5HWG()\n \nERROR [FTPControlSocket] 1 Nov 2010 10:07:32.106 : at EnterpriseDT.Net.Ftp.FTPControlSocket.SendCommand(String command)\n \nDEBUG [FTPClient] 1 Nov 2010 10:07:32.122 : Closing source stream\n \nERROR [FTPClient] 1 Nov 2010 10:07:32.122 : Caught exception\n \nERROR [FTPClient] 1 Nov 2010 10:07:32.122 : EnterpriseDT.Net.Ftp.ControlChannelIOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.\n \nERROR [FTPClient] 1 Nov 2010 10:07:32.122 : at EnterpriseDT.Net.Ftp.FTPControlSocket.nPqqJvmiv()\n \nERROR [FTPClient] 1 Nov 2010 10:07:32.122 : at EnterpriseDT.Net.Ftp.FTPControlSocket.Ign4Bx5HWG()\n \nERROR [FTPClient] 1 Nov 2010 10:07:32.122 : at EnterpriseDT.Net.Ftp.FTPControlSocket.SendCommand(String command)\n \nERROR [FTPClient] 1 Nov 2010 10:07:32.122 : at EnterpriseDT.Net.Ftp.FTPClient.yVRgq92pF(String , Boolean )\n \nERROR [FTPClient] 1 Nov 2010 10:07:32.122 : at EnterpriseDT.Net.Ftp.FTPClient.UCLNysjHe(Stream , String , Boolean , Boolean )\n \nERROR [FTPClient] 1 Nov 2010 10:07:32.122 : SystemException in Put(string,string,bool)\n \nERROR [FTPClient] 1 Nov 2010 10:07:32.122 : EnterpriseDT.Net.Ftp.ControlChannelIOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.\n \nERROR [FTPClient] 1 Nov 2010 10:07:32.122 : at EnterpriseDT.Net.Ftp.FTPClient.UCLNysjHe(Stream , String , Boolean , Boolean )\n \nERROR [FTPClient] 1 Nov 2010 10:07:32.122 : at EnterpriseDT.Net.Ftp.FTPClient.GQphCRkP4(String , String , Boolean )\n \nERROR [FTPClient] 1 Nov 2010 10:07:32.122 : at EnterpriseDT.Net.Ftp.FTPClient.Put(String localPath, String remoteFile, Boolean append)\n \nERROR [FTPClient] 1 Nov 2010 10:07:32.122 : Exception in ValidateTransferOnError())\n \nERROR [FTPClient] 1 Nov 2010 10:07:32.122 : EnterpriseDT.Net.Ftp.FTPException: The FTP client has not yet connected to the server. The requested action cannot be performed until after a connection has been established.\n \nERROR [FTPClient] 1 Nov 2010 10:07:32.122 : at EnterpriseDT.Net.Ftp.FTPClient.Yqfr5SsNt(Boolean )\n \nERROR [FTPClient] 1 Nov 2010 10:07:32.122 : at EnterpriseDT.Net.Ftp.FTPClient.ValidateTransferOnError()\n \nDEBUG [FTPControlSocket] 1 Nov 2010 10:07:32.122 : Setting socket timeout=90000\n \n[/quote]",
"name": "",
"is_accepted": false
}
] |
305ad85fa72819243641328ae9871e75 | What CompleteFTP edition should I choose? | What CompleteFTP edition should I choose? | enterprisedt.com | 2020.05 | [
{
"text": "For most purchasers, the Professional Edition is the appropriate choice. \n\n \n\nThe Professional Edition supports all standard protocols such as FTP, FTPS, SFTP, SCP, HTTP & HTTPS. It supports Windows domain users, event notifications and process triggers, quotas, SSH terminal access and advanced file permissions. \n\n \n\nThe Standard Edition is for those who want the minimum features of FTP, FTPS and SFTP for the lowest possible price. \n\n \n\nThe Enterprise Edition should be considered by those who want to add custom functionality of their own to CompleteFTP, or who need multiple sites supported on the one server. The Enterprise Edition also now has the multi-protocol gateway for adding secure access to other servers, or for protocol translation. \n\n \n\nA feature comparison can be found [here](http://enterprisedt.com/products/completeftp/editions/).\n\n",
"name": "",
"is_accepted": true
}
] |
e06483c2e1b3b830a32f59d08d2bc491 | When will IPv6 support be available? | enterprisedt.com | 2019.51 | [
{
"text": "As of October 2016, we don't have a firm date for IPv6. People rarely mention IPv6 so it hasn't been a high priority so far.",
"name": "",
"is_accepted": false
}
] |
|
f17e86ed5b7159c6edca42a57ae4482e | We are currently using edtFTPnet/PRO 8.6.4, and we are encountering an issue where if an FTP server has a folder with another folder within it that has the same name (ex. //Test/Test), when we try to execute BeginGetFileInfos on the first folder (ex. //Test), the FTPFile objects that are directories with have the wrong Path values because it is doubling up on the folder name for each folder object. Ex. //Test/Fubar has a Path value of //Test/Test/Fubar.
Is this a potential bug, or maybe some issue in our implementation? Is there a work around?
EDIT: I think I am seeing this happening everywhere now! When I go into a folder from the top level, it doubles up on that folder in the Path of the children directories.
I will investigate our implementation as well.
EDIT2: We are also changing the working directory before doing the get on file infos. They are both on background threads though, so I wonder if the later is finishing before the former and could be causing the issue. | Potential Bug in BeginGetFileInfos on SecureFTPConnection | enterprisedt.com | 2020.05 | [
{
"text": "Then I have a workaround. Marking this as answered.",
"name": "",
"is_accepted": false
}
] |
9580244b35642092e50d637ca6606030 | FtpClient v1.2.2 had SourceEncoding and DestinationEncoding. There are no these properties anymore, only ControlEncoding and DataEncoding instead. How can I migrate from 1.2.2 to 2.3.0 and still leverage functionality of Source/DestinationEncoding? | Source/Destination Encoding? | enterprisedt.com | 2020.16 | [
{
"text": "None of our products have had properties called SourceEncoding and DestinationEncoding, so you must be referring to another product. I tried Googling the terms, but didn't find any products with those properties, so I can't advise you on where they come from.",
"name": "",
"is_accepted": false
}
] |
01dded52ccbf71ef953e2f393c983ed2 | A customer asks:
We have a Chinese customer who has difficulties when sending files with Chinese characters in the filename- they are replaced with question marks.
| Why do Chinese characters not appear correctly in filenames? | enterprisedt.com | 2019.47 | [
{
"text": "The best thing to try is forcing the server to use UTF8 and setting the client to use UTF8. \n\n \n\nSecureFTPConnection will try to force the server to use UTF8 (1) the CommandEncoding property is set to UTF8 before connecting and (2) the AutoFeatures property is set to true. If these conditions are met then you should see the client sending the command \"FEAT\" and, if the OPTS feature is supported, \"OPTS UTF8 ON\". If the server responds with a 200 then it should work.",
"name": "",
"is_accepted": true
}
] |
748765f28d4445c3faeaaefc24aa5a6e | Hi, we're seeing intermittent connection issues where it appears to be failing on the TLS handshake. Though a user is able to connect multiple times, then this issue will show up, and the next connection may work without any issues.
I've seen the issue when connection with an OTS FTP product (FileZilla) as well as with the primay means of middleware infrastructure.
We're using v8.0.0 of CompleteFTP, logs at the time the issue occurs are as follows:
Thanks for any input in advance!
```
2016-05-17 14:28:02,409 DEBUG SocketListener [Site.1:Default Site] BeginAccept (port 21)
2016-05-17 14:28:02,409 DEBUG SocketListener [Site.1:Default Site] Allowed connection on port 21 from xxx.xxx.xxx.xxx due to rule Allow all
2016-05-17 14:28:02,409 DEBUG FTPConfiguration [Site.1:Default Site] Using UTF8 encoding
2016-05-17 14:28:02,409 DEBUG FTPSession [Site.1:Default Site] Launching login timeout (60000 ms): Session.17:Default Site:user?
2016-05-17 14:28:02,409 DEBUG FTPConnection [Site.1:Default Site] CMD< 220 xxxxx FTP Server
2016-05-17 14:28:02,409 DEBUG FTPSession [Site.1:Default Site] setting state to AwaitAuth
2016-05-17 14:28:02,409 DEBUG FTPConnection [Site.1:Default Site] BeginSend:40 bytes
2016-05-17 14:28:02,409 DEBUG FTPConnection [Session.17:Default Site:user?] CMD> AUTH TLS
2016-05-17 14:28:02,409 DEBUG FTPConnection [Session.17:Default Site:user?] Processed command AUTH TLS
2016-05-17 14:28:02,409 DEBUG FTPConnection [Session.17:Default Site:user?] CMD< 234 AUTH TLS successful.
2016-05-17 14:28:02,409 DEBUG FTPSession [Session.17:Default Site:user?] setting state to AwaitUser
2016-05-17 14:28:02,409 DEBUG FTPConnection [Session.17:Default Site:user?] BeginSend:26 bytes
2016-05-17 14:28:02,409 DEBUG FTPConnection [Session.17:Default Site:user?] securing connection
2016-05-17 14:28:02,409 ERROR FTPConnection [Session.17:Default Site:user?] send failed
System.ArgumentException: SecureSocket.EndSend: null ti
at kEvHWYY0mkEU98llip7.Jx3FoOY4b9u58G4h4cA.UfS3pFiyZRv(IAsyncResult )
at H0IUrEMKcOPyruXnaNd.ED3kKLMTm8wckg6wYJ2.IGWSUYE4CP(IAsyncResult )
2016-05-17 14:28:02,409 DEBUG FTPConnection [Session.17:Default Site:user?] Closing connection
2016-05-17 14:28:02,409 DEBUG UserSession [Session.17:Default Site:user?] ReleaseResources()
2016-05-17 14:28:02,409 DEBUG FTPSession [Session.17:Default Site:user?] Released transfer resources
2016-05-17 14:28:02,409 WARN FTPConnection [Session.17:Default Site:user?] Error calling Socket.BeginClose()
System.NullReferenceException: Object reference not set to an instance of an object.
at shoHk3t9IrjE0VqpKoM.Jf7TMdtbH6YTBCsqDsv.HGkAWiwIGXU(AsyncCallback , Object )
at kEvHWYY0mkEU98llip7.Jx3FoOY4b9u58G4h4cA.S4oAnt9Nscf(AsyncCallback , Object )
at kEvHWYY0mkEU98llip7.Jx3FoOY4b9u58G4h4cA.nOCAnlfmlPA(Int32 , AsyncCallback , Object )
at H0IUrEMKcOPyruXnaNd.ED3kKLMTm8wckg6wYJ2.Close()
2016-05-17 14:28:02,409 DEBUG SocketController [Session.17:Default Site:user?] Dispose()
2016-05-17 14:28:02,409 DEBUG SocketController [Session.17:Default Site:user?] CloseConnection(e=null)
2016-05-17 14:28:02,409 DEBUG SocketController [Session.17:Default Site:user?] Closed socket
2016-05-17 14:28:02,409 DEBUG TransferBuffer [Session.17:Default Site:user?] Close() called when open
2016-05-17 14:28:02,409 DEBUG SocketController [Session.17:Default Site:user?] OnReceive closing (socket not connected)
2016-05-17 14:28:02,409 DEBUG SocketController [Session.17:Default Site:user?] CloseConnection(e=null)
2016-05-17 14:28:02,409 ERROR SocketController [Session.17:Default Site:user?] OnReceive - caught exception - closing: Socket closed before handshake is complete (1)
2016-05-17 14:28:02,409 DEBUG SocketController [Session.17:Default Site:user?] CloseConnection(e=Socket closed before handshake is complete (1))
2016-05-17 14:28:02,409 DEBUG SecureSocket [Session.17:Default Site:user?] OnHandshakeComplete(False,Socket closed before handshake is complete (1))
2016-05-17 14:28:02,409 ERROR SecureSocket [Session.17:Default Site:user?] Exception during handshake: Socket closed before handshake is complete (1)
2016-05-17 14:28:02,409 ERROR FTPConnection [Session.17:Default Site:user?] send failed
System.IO.IOException: Socket closed before handshake is complete (1)
at kEvHWYY0mkEU98llip7.Jx3FoOY4b9u58G4h4cA.EwgAnpE0xAK(gTjCmaYespHHAD0rYOg )
at H0IUrEMKcOPyruXnaNd.ED3kKLMTm8wckg6wYJ2.IGWSUYE4CP(IAsyncResult )
2016-05-17 14:28:02,409 DEBUG FTPConnection [Session.17:Default Site:user?] Closing connection
```
| Intermittent TLS Handshake failure | enterprisedt.com | 2020.45 | [
{
"text": "When you say some log-files are missing. Are you referring to the listing you see in CompleteFTP Manager or to the listing you see in Windows Explorer? If it's the former then please have a look directly in the log files directory, which you can find at C:\\ProgramData\\Enterprise Distributed Technologies\\Complete FTP\\Logs. We have an outstanding bug where the listing in CompleteFTP Manager is incorrect if large amounts of logging are produced, in which case the listing goes out of date.",
"name": "",
"is_accepted": false
}
] |
4e7a83cb560a3ed984da43a635263055 | I have been using edtFTPj/PRO since 2008. Our license file indicates:
# production licence
# expires 31 Dec 9999
I typically upgrade when I see a new release is out. I had been using 5.2.4 with no problem. When I upgrade to 5.2.5 I get:
Exception in thread "main" java.lang.RuntimeException: The licence has expired. Expiry date: 20 Jul 2018
at com.enterprisedt.util.license.LicensePropertiesBase.checkLicence(LicensePropertiesBase.java:222)
at com.enterprisedt.net.ftp.ssh.SCPClient.<init>(SCPClient.java:268)
at com.enterprisedt.net.ftp.ssh.SSHFTPClient.<init>(SSHFTPClient.java:525)
at com.enterprisedt.net.ftp.ssh.SSHFTPClient.getHostPublicKey(SSHFTPClient.java:710)
When I roll back to the 5.2.4 jar the exception goes away. A similar exception is thrown when I instantiate SecureFileTransferClient in a different program:
```
Caused by: java.lang.RuntimeException: The licence has expired. Expiry date: 20 Jul 2018
at com.enterprisedt.util.license.LicensePropertiesBase.checkLicence(LicensePropertiesBase.java:222)
at com.enterprisedt.net.ftp.ssh.SCPClient.<init>(SCPClient.java:268)
at com.enterprisedt.net.ftp.ssh.SSHFTPClient.<init>(SSHFTPClient.java:525)
at com.enterprisedt.net.ftp.async.internal.SecureConnectionContext.<init>(SecureConnectionContext.java:126)
at com.enterprisedt.net.ftp.SecureFileTransferClient.<init>(SecureFileTransferClient.java:179)
```
I am reverting to the 5.2.4 jar for now. I was curious if anyone else was encountering this. I am happy to provide source for the program throwing the first exception.
| edtFTPj/PRO 5.2.5 is throwing "RuntimeException: The licence has expired." | enterprisedt.com | 2020.05 | [
{
"text": "This is because you are downloading the trial and using it with a production license. The trial jar is only for trialing the software. Previously, it would still work with a production license, but now we enforce it. \n\n \n\nThe solution is to download the production jar file, which is available to anyone with a current maintenance agreement. If you don't have a current maintenance agreement, you have never been permitted to download updates and use them.",
"name": "",
"is_accepted": true
}
] |
9420550a65d73f5fdb1c0ef08ad340b7 | Following on from here: [Can I host or wrap the HTTP application for CompleteFTP elsewhere?](https://enterprisedt.com/questions/index.php/12302/can-host-wrap-the-http-application-for-completeftp-elsewhere)
I have 2 issues:
1) To access the index.jss page at the CompleteFTP HTTP server, a redirect is invoked back to /Login
This means my application is making the requests but as there is currently no logged in user the 'original' login page is being used.
I have noted that when using the CompleteFTP HTTP server directly, both the 'original' login and the one from the angular filemanager have to be completed.
2) By establishing a session directly and logging in, I can bypass the problem above for (1) and the index.jss calls begin to work:
for example the first response looks like:
```
{
"id": 0,
"result": {
"serverName": "Server 1",
"siteName": "Default Site",
"welcomeMessage": "Complete FTP server",
"userName": "Test",
"homeFolder": "/Home/Test",
"sharingEnabled": true
}
}
```
...making a new folder results in an index.jss call that responds with:
```
{
"id": 0,
"result": {
"canWrite": true,
"canRemove": true,
"canRename": true,
"files": [
{
"name": "NewFolder",
"rights": "drwxr-xr-x",
"size": 0,
"date": "Tue, 04 Dec 2018 09:58:32 UTC",
"type": "dir"
},
{
"name": "NewTest",
"rights": "drwxr-xr-x",
"size": 0,
"date": "Tue, 04 Dec 2018 11:19:41 UTC",
"type": "dir"
}
]
}
}
```
...all this looks great!
The 'rest' of the app that I am trying to host 'locally' (at the moment, just the clone of the completeftp-filemanager repo with url rewrite/reverse proxy to send index.jss to the CompleteFTP server) throws javascript errors and displays nothing:
```
TypeError: Object doesn't support property or method 'map'
at Anonymous function (http://localhost:8080/dist/angular-filemanager.min.js:3:12523)
at Anonymous function (http://localhost:8080/bower\_components/angular/angular.min.js:136:450)
at m.prototype.$digest (http://localhost:8080/bower\_components/angular/angular.min.js:147:403)
at m.prototype.$apply (http://localhost:8080/bower\_components/angular/angular.min.js:151:111)
at l (http://localhost:8080/bower\_components/angular/angular.min.js:103:84)
at s (http://localhost:8080/bower\_components/angular/angular.min.js:108:107)
at y.onload (http://localhost:8080/bower\_components/angular/angular.min.js:109:23) Possibly unhandled rejection: {}
```
| completeftp-filemanager with V12, javascript error: Object doesn't support property or method 'map' | enterprisedt.com | 2020.29 | [
{
"text": "We'd forgotten to push the final changes for CompleteFTP 12.0.0 to Github, but have done so just now. Can you please pull them and then try again?",
"name": "",
"is_accepted": false
}
] |
d8189d6e99cfc588eb100f630f1db850 | Hi,
I have a problem with the dir() method of the FTPClient class.
I have made some tests on further FTP server, and with one of them the dir method only return the files names, and not the directories name.
Is it normalous ? how i can have the directories name, with a another method ?
thanks and this class is very useful ! | Question about dir() | enterprisedt.com | 2021.04 | [
{
"text": "could try dir(\".\", true)\n \n\n \nsome FTP servers don't implement RFC959 correctly unfortunately\n \n\n \n\n \n\n> Hi, \n> \n> I have a problem with the dir() method of the FTPClient class. \n> I have made some tests on further FTP server, and with one of them the dir method only return the files names, and not the directories name. \n> Is it normalous ? how i can have the directories name, with a another method ? \n> \n> thanks and this class is very useful !\n\n",
"name": "",
"is_accepted": false
},
{
"text": "with dir(\".\", true) it works, but it gives me that : \n \n\n \n\n```\ntotal 0\ndrw-rw-rw- 1 user group 0 Mar 21 21:30 .\ndrw-rw-rw- 1 user group 0 Mar 21 21:30 ..\ndrw-rw-rw- 1 user group 0 Mar 21 21:35 parutions\n```\n\n \n\n \nbut when i put the parameter detailed listing at false, to get only the directories name, it returns nothing ! \n \nWhen i execute dir(\".\", true) on another server it returns all the files and the directories, i was thinking that il will return only the directory name",
"name": "",
"is_accepted": false
},
{
"text": "Unfortunately there isn't a standard of how the listing is returned, it will depend on the FTP server.\n \n\n \n\n> with dir(\".\", true) it works, but it gives me that : \n> \n> \n> ```\n> total 0\n> drw-rw-rw- 1 user group 0 Mar 21 21:30 .\n> drw-rw-rw- 1 user group 0 Mar 21 21:30 ..\n> drw-rw-rw- 1 user group 0 Mar 21 21:35 parutions\n> ```\n> \n> \n> but when i put the parameter detailed listing at false, to get only the directories name, it returns nothing ! \n> When i execute dir(\".\", true) on another server it returns all the files and the directories, i was thinking that il will return only the directory name\n\n",
"name": "",
"is_accepted": false
},
{
"text": "Ok, thanks you for your help !",
"name": "",
"is_accepted": false
}
] |
c9b57bdec0023d36e019d9ba58fdaf64 | I need to preserve modified timestamp of my file while uploading it to SFTP site. I am using com.enterprisedt.net.ftp.ssh.SSHFTPclient for the transfer. Please let me know if there is any way. | need to preserve modified timestamp | enterprisedt.com | 2020.16 | [
{
"text": "Yes, you can use the following method:\n\n\n\n| | `[SSHFTPClient.setModTime](https://enterprisedt.com/products/edtftpjssl/doc/api/com/enterprisedt/net/ftp/ssh/SSHFTPClient.html#setModTime-java.lang.String-java.util.Date-)(String, Date)` |\n\n",
"name": "",
"is_accepted": false
}
] |
454afb88f8e3efe71b1b364a1375e272 | Hello!
I just wondering, if there's any option to set the maximum upload limit in kb/s maybe. I want to upload a single file.
Thanks,
Simulator | Upload speed limit | enterprisedt.com | 2021.10 | [
{
"text": "The commercial edition of edtFTPnet, edtFTPnet/PRO, has a property, [SecureFTPConnection.MaxTransferRate](http://enterprisedt.com/products/edtftpnetpro/doc/manual/api/html/P_EnterpriseDT_Net_Ftp_SecureFTPConnection_MaxTransferRate.htm), that does this. If you're using the free version then you can implement it by placing a Thread.Sleep call in a ByteTransferred event-handler.\n\n",
"name": "",
"is_accepted": false
}
] |
9d3cc34579266ac03a1c3c966598987c | Hi I recently downloaded the trial version of edtFTPnetPro with the objetive test the open concurrent conection to the same ftp server, but i use de command ftpConnection.ConcurrentTransferSettings.MaxConnections = 5 connection but only open 4 o 3 connection in the server when i transfer files simultaneously using thread en .NET
This is part of my code when i setting the connection.
// set the license
ftpConnection.LicenseOwner = "TrialUser";
ftpConnection.LicenseKey = "898-6810-4211-2748";
ftpConnection.ServerAddress = Properties.Settings.Default.ServerFtp;
ftpConnection.UserName = Properties.Settings.Default.ServerUser;
ftpConnection.Password = Properties.Settings.Default.ServerPassword;
ftpConnection.ServerPort = Properties.Settings.Default.ServerPort;
ftpConnection.ConcurrentTransferSettings.Enabled = true;
ftpConnection.ConcurrentTransferSettings.MaxConnections = 5;
ftpConnection.Connect();
thanks for you support
Regards
Rodrigo Munoz. | Problem with ConcurrentTransferSettings.MaxConnections | enterprisedt.com | 2019.51 | [
{
"text": "I think one connection is always kept as the \"master\" connection and so if you want 5 connections for transferring, set it to 6.",
"name": "",
"is_accepted": false
}
] |
077745d230ed03842f58083e7a0d38b8 | Can CompleteFTP be installed on a Windows 2012 server DOMAIN CONTROLLER? | Does CompleteFTP work on a 2012 domain controller. | enterprisedt.com | 2021.04 | [
{
"text": "I don't see any reason why not. I imagine there are plenty of users who've done this.",
"name": "",
"is_accepted": false
}
] |
8c380403b2dc5a33f26341b3044ac5df | Our software uses the EnterpriseDT API to transmit files via SFTP. One third party that we connect to is sunsetting the diffie-hellman-group14-sha1 key exchange algorithm. They say our software must be able to support one or more of the following algorithms:
* diffie-hellman-group16-sha512
* diffie-hellman-group14-sha256
* diffie-hellman-group-exchange-sha256
* ecdh-sha2-nistp384
* ecdh-sha2-nistp256
Our software does not explicitly set the PreferredKeyExchangeMethods property, but I see that EDTFTPNetPro supports the d-h sha256 properties. Should we need to do anything special to enable one of these, or is PreferredKeyExchangeMethods set to "All" by default?
When I attempt to connect to their new server, I get the error: "The negotiation of key exchange method has failed"
NOTE: We are using edtFTPnetPRO version 9.0.0.20
| Default value for PreferredKeyExchangeMethods property in EDTFTPNet/Pro | enterprisedt.com | 2021.04 | [
{
"text": "Hi,\n\nIn this case you should upgrade to the latest version. You are still using a very old version from 2015 and since then there have been a number of additional algorithms added including diffie-hellman-group-exchange-sha1 and diffie-hellman-group-exchange-sha256. \n\nPlease log into your account [here](https://connect.enterprisedt.com/#/downloads/versions/edtftpnet.pro) and download and install the latest version.\n\n",
"name": "",
"is_accepted": false
}
] |
39647c4c2a827bc5afd67a5800687592 | We're often asked questions like the following:
>
> When a user uploads a file, it maintains a .filepart extension, even though the transfer has successfully completed. It appears to occur when a WinSCP client is used to upload a file. WinSCP tacks on the .filepart extension until the upload is complete and then it renames the file. The problem with this is, we have an event handler that moves newly uploaded files to a separate server for processing once the upload is complete.
>
>
>
| Uploaded files have a .filepart extension | enterprisedt.com | 2020.50 | [
{
"text": "WinSCP, and other clients, do this because they want to ensure that it's possible to distinguish between truncated uploads and completed uploads. In your case, it fails because the file is moved immediately after it's been uploaded and before the command to rename it is executed. The file, with the .filepart, extension will be moved by the process trigger event-handler and the rename command will therefore fail.\n\n\nOne way to avoid this is to use a regular expression file filter to ensure that the event-handler does not get triggered for files whose names have the .filepart extension. You can do this using the following filter:\n\n\n\n```\nregex:^/Home/.*((?!filepart).)*$\n```\n\nThis causes the event to trigger for any file underneath /Home whose name doesn't end with 'filepart'. You may of course need to change the path from /Home to something else. The 'regex:' at the front simply lets CompleteFTP know that the rest of the text is a [.NET regex](https://msdn.microsoft.com/en-us/library/az24scfc(v=vs.110).aspx). You also need to enable the event for the 'Move file' event since the final operation isn't an upload but a rename.\n\n",
"name": "",
"is_accepted": true
}
] |
7ea2928037faf31c7b67a3610f085a99 | Hello,
is CompleteFTP, latest Version supported for Windows 2016?
If not, when will Windows 2016 be supported?
Regards | Support for Windows 2016 | enterprisedt.com | 2019.51 | [
{
"text": "Yes, many customers are using CompleteFTP on Windows 2016.",
"name": "",
"is_accepted": true
}
] |
9629cc7983b8b75e4e444e5406b43774 | [http://www.enterprisedt.com/products/ed ... nnels.html](http://www.enterprisedt.com/products/edtftpjssl/doc/manual/html/securingcontrolanddatachannels.html)
The reader may be aware that FTP operates with two types of channels: control and data. Only one control-channel is used in each session, but several data-channels may be used | java SFTP client cannot secure data channel? | enterprisedt.com | 2021.17 | [
{
"text": "Firstly, you will need [edtFTPj/PRO](http://www.enterprisedt.com/products/edtftpjssl/overview.html) as [edtFTPj/Free](http://www.enterprisedt.com/products/edtftpj/overview.html) doesn't support FTPS. \n \n\n \nOnce you've [downloaded the trial](http://www.enterprisedt.com/products/edtftpjssl/trial_licence.html), please refer to [this how-to](http://www.enterprisedt.com/products/edtftpjssl/doc/manual/html/howtouseftpswithsftc.html) for instructions on establishing an FTPS connection (with AUTH/PBSZ/PROT).\n \n\n \n- Hans (EntepriseDT)",
"name": "",
"is_accepted": false
},
{
"text": "Thanks for the replay.\n \nWe're reviewing edtFTPj/PRO.\n \nPlease provide any documentation on AUTH/PBSZ/PROT - how to use SSLFTPClient object with AUTH/PBSZ/PROT features?",
"name": "",
"is_accepted": false
},
{
"text": "You generally don't need to do anything with AUTH/PBSZ/PROT - these commands will be sent automatically by edtFTPj/PRO.",
"name": "",
"is_accepted": false
},
{
"text": "Hi support,\n \n\n \nYour last statement confuses me a little. Does it mean that by using edtFTPj/PRO we start a secure FTP by default? Do we not have to use the below commands in our code at all?\n \n\n \nftp.auth(SSLFTPClient.AUTH\\_TLS);\n \nftp.pbsz(0);\n \nftp.prot(SSLFTPClient.PROT\\_PRIVATE);\n \n\n \nWhat if we do not want a secure data transfer in some senarios?",
"name": "",
"is_accepted": false
},
{
"text": "If you are using SSLFTPClient (rather than SecureFileTransferClient):\n \n\n \n\n```\nftp.connect();\nftp.auth(SSLFTPClient.AUTH\\_TLS);\nftp.login(username, password);\n\n```\n\n \n\n \nSkip the auth() line for non-secure FTP.",
"name": "",
"is_accepted": false
}
] |
c37f872aa9f4d77bfe8fdea5ac333c6f | Why does my extension throw BadImageFormatException? | Why does my extension throw BadImageFormatException? | enterprisedt.com | 2020.05 | [
{
"text": "When you build your own extension DLL, it is possible to get the error \n\n \n\nSystem.BadImageFormatException: This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. \n\n \n\nThis means that CompleteFTP is running under an older .NET runtime than what your extension is compiled with. By default, CompleteFTP is configured to run under .NET 2.0, but it can run under higher versions including 4.x. \n\n \n\nThere are two solutions: \n\n \n\n1) Change the configuration file to enable CompleteFTP to run under .NET 4.x instead of 2.x \n\n \n\nEdit the CompleteFTPService.exe.config and remove the following line: \n\n \n\n<supportedRuntime version=\"v2.0.50727\" /> \n\n \n\nleaving only the other supportedRuntime element as follows: \n\n \n\n<startup> \n\n<supportedRuntime version=\"v4.0\" /> \n\n</startup> \n\n \n\n(Add the v4.0 line above if that isn't in your release). \n\n \n\n2) Compile your DLL for .NET 2.0.",
"name": "",
"is_accepted": true
}
] |
91243c37ad1563b112ec96498fa1ac33 | I'm using VS2008. I'm trying to work through the FTPSampleApp video posted on EDT's site. When I get to adding ftpController my properties page does not show a "Click-Event Sources" How do I add the ftpControlls to my buttons? | Cllick-Event Sources | enterprisedt.com | 2021.04 | [
{
"text": "There is no click-event Sources category, but there is xEventSource spread out on the ftpController. You select each xEventSource and set the proper button. x stands for Close, Connect, etc.",
"name": "",
"is_accepted": false
},
{
"text": "I have a similar problem with Event Sources showing. Sometimes I think that it's easier to set up a ready Events template with auto-update... It's very hard for me to deal with ftpController...",
"name": "",
"is_accepted": false
}
] |
d76f95ae6255fb660dd973eafd587fd4 | I have tried DownloadByteArray() and DownloadStream() for downloading binary files of ~450 MByte. This generates an OutOfMemory exception. I am positive the exception is thrown from the Download... method.
My wish is to establish a download stream to pour data into a zip output stream without needing to worry about file size.
My assembly is 32 bit.
As I understand the API, asynchronous use does not necessarily solve my problem. | Is it possible to download large files in chunks? | enterprisedt.com | 2020.05 | [
{
"text": "DownloadByteArray reads all data into a byte[] before returning, so it doesn't work well for very large downloads. DownloadStream simply sends all data to the stream object that's passed to it. I understand you're passing in a stream that is capable of writing to ZIP files. If you're getting an out-of-memory error then it's probably because that stream doesn't flush the data to the disk as it's being received and is therefore buffering the whole lot. If this is the case then you either need to make changes so that the stream automatically flushes the data or else write your own stream class that takes control of this. You may find the System.ServiceModel.Channels.DelegatingStream class useful as it essentially allows you to add functionality to an existing stream class by selectively overriding particular methods. For example you could override the Write methods to periodically flush the stream.",
"name": "",
"is_accepted": false
}
] |
410d0382f7c81c99a51715318133bc56 | I received a production license.jar file for use with edtFTPj/PRO, but I receive the error message "This trial jar file cannot be used with a production license" when I try to use it. What's the problem? | This trial jar file cannot be used with a production license | enterprisedt.com | 2020.34 | [
{
"text": "The trial distribution is different to the production distribution. The trial edtftpj-pro.jar will only work with a trial license. Production licenses need the production jar file to work, and so you need to download the production distribution from our [customer website](https://connect.enterprisedt.com). \n\n",
"name": "",
"is_accepted": true
}
] |
749ce7396f274c04c5322a8e6efacce7 | How can I migrate CompleteFTP to another machine? | How can I migrate CompleteFTP to another machine? | enterprisedt.com | 2020.05 | [
{
"text": "Duplicate, see [this FAQ](http://enterprisedt.com/questions/index.php/2518/how-do-i-move-completeftp-to-another-machine)\n\n",
"name": "",
"is_accepted": true
}
] |
c23f348e156de5ad178f3888ed25d654 | What SFTP/FTPS clients does CompleteFTP support? | What SFTP/FTPS clients does CompleteFTP support? | enterprisedt.com | 2020.05 | [
{
"text": "We don't have an official list of supported clients - but we are currently unaware of any client that is *not* supported.So Filezilla, WinSCP, CuteFTP, CoreFTP, Fetch, Cyberduck, OpenSSH and other popular clients are all supported.As soon as we get a report of an incompatible client, we investigate and issue a patched version.",
"name": "",
"is_accepted": true
}
] |
999d781e3ff4688631a845c2736083d9 | I am trying to script via powershell a push from an amazon S3 bucket to an SFTP server.
I have the script ready and it's failing in my logs as WinSCP can see the folder, is there a known fix for this? I can provide the log file if required, here's an extract:
2021-07-20 06:16:04.208 The system cannot find the file specified
. 2021-07-20 06:16:04.208 Asking user:
. 2021-07-20 06:16:04.208 File or folder 'Testing.txt' does not exist. ("System Error. Code: 2. | Scripting push from S3 to SFTP | enterprisedt.com | 2021.43 | [
{
"text": "Hi,\n\nPlease open up a support issue [here](https://enterprisedt.atlassian.net/servicedesk/customer/portal/1/group/1/create/1) for this issue at our customer portal.\n\n",
"name": "",
"is_accepted": false
}
] |
2ffcb24d8149c16f420131ad2e2dfc23 | If the FTP server's locale is not set to en\_us then client.Exists(...) function throws exception :
>
> Unable to determine if file '...' exists
>
>
>
The problem is that when it checks if the file exists it waits something like this as response from the server
>
> 550 .../.../.../file.ext: No such file or directory
>
>
>
but the "No such file or directory" part is translated to server's locale so it throws exception.
That would be nice if edtftp could work with any lang or if there would be any information in wikis about this bug.
Here is the response from debug log with locale hu\_HU.utf8
>
> DEBUG [FTPControlSocket] 5 okt. 2016 15:36:25.071 : 550 .../.../.../....pdf: Nincs ilyen f????jl vagy k??¶nyvt????r
>
> WARN [FTPClient] 5 okt. 2016 15:36:25.071 : Unable to determine if file .../.../.../....pdf exists.
>
>
>
Workaround on linux (proftpd):
1. edit the /etc/proftpd/proftpd.conf file
2. set/add LangDefault en\_US
| client.Exists() depends on FTP server's locale | enterprisedt.com | 2019.51 | [
{
"text": "There is a property for adding your own messages to check for existence - see FileNotFoundMessages. \n\n \n\nUnfortunately the FTP protocol didn't define a specific error code for file not found, so there is no consistent way to detect if a file wasn't found.",
"name": "",
"is_accepted": false
}
] |
4024a231289826f3a37b5d741ca7e1ac | Hi,
Our customer has experienced the following exception when they try to upload a file into their AWS FTP Server.
```
DEBUG 25.06.18 10:40:15,547 [IS-inubitDemo--MThread-13] FTPClient Transferred 0 bytes to remote host
DEBUG 25.06.18 10:40:15,547 [IS-inubitDemo--MThread-13] FTPConnector Message from server. Code:550 Message:I/O Error: java.net.SocketTimeoutException: Accept timed out
DEBUG 25.06.18 10:40:15,547 [IS-inubitDemo--MThread-13] FTPConnector DEBUG
com.enterprisedt.net.ftp.FTPException: 550 I/O Error: java.net.SocketTimeoutException: Accept timed out
at com.enterprisedt.net.ftp.FTPControlSocket.validateReply(FTPControlSocket.java:1289)
at com.enterprisedt.net.ftp.FTPClient.initPut(FTPClient.java:2851)
at com.enterprisedt.net.ftp.FTPClient.b(FTPClient.java:2916)
at com.enterprisedt.net.ftp.FTPClient.a(FTPClient.java:2623)
at com.enterprisedt.net.ftp.FTPClient.put(FTPClient.java:2497)
at com.inubit.ibis.plugins.ftp.FTPConnector.execute(FTPConnector.java:677)
at com.inubit.ibis.server.IBISPluginExecutorThread.execute(IBISPluginExecutorThread.java:221)
at com.inubit.ibis.server.IBISPluginExecutorThread.run(IBISPluginExecutorThread.java:150)
FTP Connector configuration :
* Passive ftp on port 21
* **FTP server:** Cleo VLProxy/3.6.1.7
Following logs are from wireshark:
1094 28.042079 192.168.97.49 52.31.115.72 TCP 66 49814 ? 21 [SYN] Seq=0 Win=64240 Len=0 MSS=1460 WS=256 SACK\_PERM=1
1095 28.068501 52.31.115.72 192.168.97.49 TCP 66 21 ? 49814 [SYN, ACK] Seq=0 Ack=1 Win=8192 Len=0 MSS=1460 WS=256 SACK\_PERM=1
1096 28.068683 192.168.97.49 52.31.115.72 TCP 54 49814 ? 21 [ACK] Seq=1 Ack=1 Win=65536 Len=0
1097 28.094978 52.31.115.72 192.168.97.49 FTP 98 Response: 220 Cleo VLProxy/3.6.1.7 FTP server ready.
...
1390 36.776274 192.168.97.49 52.31.115.72 FTP 65 Request: STOR TEST
1391 36.776992 192.168.97.49 52.31.115.72 TCP 66 49815 ? 20459 [SYN] Seq=0 Win=64240 Len=0 MSS=1460 WS=256 SACK\_PERM=1
1392 36.853434 52.31.115.72 192.168.97.49 TCP 60 21 ? 49814 [ACK] Seq=355 Ack=82 Win=262656 Len=0
1524 39.782392 192.168.97.49 52.31.115.72 TCP 66 [TCP Retransmission] 49815 ? 20459 [SYN] Seq=0 Win=64240 Len=0 MSS=1460 WS=256 SACK\_PERM=1
1780 45.793380 192.168.97.49 52.31.115.72 TCP 66 [TCP Retransmission] 49815 ? 20459 [SYN] Seq=0 Win=64240 Len=0 MSS=1460 WS=256 SACK\_PERM=1
6761 185.268617 52.31.115.72 192.168.97.49 FTP 120 Response: 550 I/O Error: java.net.SocketTimeoutException: Accept timed out
6762 185.268771 52.31.115.72 192.168.97.49 TCP 60 21 ? 49814 [FIN, ACK] Seq=421 Ack=82 Win=262656 Len=0
6763 185.268865 192.168.97.49 52.31.115.72 TCP 54 49814 ? 21 [ACK] Seq=82 Ack=422 Win=65280 Len=0
6764 185.269689 192.168.97.49 52.31.115.72 FTP 60 Request: QUIT
6765 185.270678 192.168.97.49 52.31.115.72 TCP 54 49814 ? 21 [FIN, ACK] Seq=88 Ack=422 Win=65280 Len=0
6769 185.295723 52.31.115.72 192.168.97.49 TCP 60 21 ? 49814 [RST, ACK] Seq=422 Ack=88 Win=0 Len=0
6770 185.296667 52.31.115.72 192.168.97.49 TCP 60 21 ? 49814 [RST] Seq=422 Win=0 Len=0
```
| Getting Accept timed out when using AWS FTP | enterprisedt.com | 2020.05 | [
{
"text": "Timeouts on data transfers or directory listings are usually a firewall problem.",
"name": "",
"is_accepted": false
}
] |
355f46060c9e4642f3f3022125d2fa33 | A user asked us:
>
> How do I have CompleteFTP delete files that are older than 14 days?
>
>
>
| How do I have CompleteFTP delete files that are older than 14 days? | enterprisedt.com | 2020.05 | [
{
"text": "You could use a scheduled process trigger to periodically call a JSS script that iterates through a folder-tree deleting any files that are older than 14 days. \n\n \n\nSomething like the following should do the trick:\n\n\n \n\n \n\nHere's the script so that you can copy-and paste:\n\n\n \n\n\n\n```\nvar maxAgeInDays = 14;\nvar baseFolder = \"/Home\";\n\n// Deletes all files in the given folder (and all its sub-folders)\n// that are older than maxAgeDays\nfunction deleteOldFiles(folder) {\n folder.getFiles().forEach(function(f) {\n if (f.isFolder())\n deleteOldFiles(f);\n else {\n var now = new Date();\n var msPerDay = 1000*60*60*24;\n var ageInDays = (now.getTime() - f.modifiedTime.getTime()) / msPerDay;\n if (ageInDays > maxAgeInDays)\n f.removeFile();\n }\n }\n}\n\n// Call removeOldFiles on the base folder\ndeleteOldFiles(system.getFile(baseFolder));\n```\n",
"name": "",
"is_accepted": true
}
] |
0436cf57cd6d148735a28e5535114bf0 | Hello,
How can I set LogLevel when I use FTPConnection class in console app? From the intellisense, I don't see LogLevel property or any kind of logging/debugging properties available as stated in the documentation.
I'm using edtFTPnetPRO 7.1.
Please help.
TLE | How to set LogLevel in console app? | enterprisedt.com | 2020.05 | [
{
"text": "Try changing into Dellware directory and then uploading MEMORY\\_KINGSTON\\_EN\\_US.txt",
"name": "",
"is_accepted": false
},
{
"text": "Logging provides a set of convenience functions for simple logging usage. These are [`debug()`](https://docs.python.org/3/library/logging.html#logging.debug \"logging.debug\"), [`info()`](https://docs.python.org/3/library/logging.html#logging.info \"logging.info\"), [`warning()`](https://docs.python.org/3/library/logging.html#logging.warning \"logging.warning\"), [`error()`](https://docs.python.org/3/library/logging.html#logging.error \"logging.error\") and [`critical()`](https://docs.python.org/3/library/logging.html#logging.critical \"logging.critical\"). \nOnce I've made a research on the development app topic... If any of you need help with the researches, you can [try this](https://domeanessay.com/edubirdie-com-personal-help-for-every-student-demand/).\n\n\n```\n*# assuming loglevel is bound to the string value obtained from the*\n*# command line argument. Convert to upper case to allow the user to*\n*# specify --log=DEBUG or --log=debug*\nnumeric\\_level = getattr(logging, loglevel.upper(), **None**)\n**if** **not** isinstance(numeric\\_level, int):\n **raise** ValueError('Invalid log level: *%s*' % loglevel)\nlogging.basicConfig(level=numeric\\_level, ...)\n```\n",
"name": "",
"is_accepted": false
}
] |
49d8e544f840dca4e791d0a0bb4b4c28 | Hello,
We are using .NET FTP Pro to connect to an SFTP server. The server's administrator just changed the password requirements and now when we need to update the password, we are unable to automatically. When logging in with an "invalid" login, we immediately lock it at the SFTP server. We are seeing multiple SSH\_MSG\_USERAUTH\_FAILURE in the log with a new prompt:
DEBUG : Packet arrived
DEBUG : ProcessAuthenticationResponse: SSH\_MSG\_USERAUTH\_INFO\_REQUEST
DEBUG : Prompt count = 3
DEBUG : Prompt: Old Password:
DEBUG : Prompt: New Password:
DEBUG : Prompt: Confirm Password:
DEBUG : Sent SSH\_MSG\_USERAUTH\_INFO\_RESPONSE
Was wondering if anyone has seen anything like this and how to work with it.
Full log below:
DEBUG : Setting up fallback kbi prompt based on supplied password
DEBUG : Resolving xxx.xxx.xx.xxx
DEBUG : xxx.xxx.xx.xxx resolved to xxx.xxx.xx.xxx
DEBUG : Connecting directly to SFTP server xxx.xxx.xx.xxx:2200
INFO : Connecting to xxx.xxx.xx.xxx:2200 with timeout 30000 ms
DEBUG : Successfully connected to xxx.xxx.xx.xxx:2200
DEBUG : Connected successfully to SFTP server xxx.xxx.xx.xxx:2200
DEBUG : Beginning protocol negotiation
DEBUG : FTPConnection.25 RepeatCallback received 25 bytes
DEBUG : FTPConnection.25 offset=0,length=25
INFO : FTPConnection.25 Server version = 'SSH-2.0-1.82\_sshlib MFT'
DEBUG : FTPConnection.25 Major string = '2'
DEBUG : FTPConnection.25 Minor string = '0'
DEBUG : FTPConnection.25 Version 2.0
DEBUG : FTPConnection.25 Protocol compatible
DEBUG : Server version=SSH-2.0-1.82\_sshlib MFT
DEBUG : Timeout=30000
DEBUG : Sending client version=SSH-2.0-edtFTPnet/PRO\_9.0.0.20
DEBUG : Starting key exchange
DEBUG : Sending SSH\_MSG\_KEXINIT
DEBUG : key exchange method=diffie-hellman-group1-sha1,diffie-hellman-group14-sha1
DEBUG : hostkey algorithms=ssh-dss,ssh-rsa
DEBUG : ciphers=blowfish-cbc,aes128-cbc,aes192-cbc,aes256-cbc,3des-cbc,aes128-ctr,aes192-ctr,aes256-ctr
DEBUG : ciphers=blowfish-cbc,aes128-cbc,aes192-cbc,aes256-cbc,3des-cbc,aes128-ctr,aes192-ctr,aes256-ctr
DEBUG : MACs=hmac-sha1,hmac-md5,hmac-sha1-96,hmac-md5-96,hmac-sha2-256,hmac-sha2-512
DEBUG : MACs=hmac-sha1,hmac-md5,hmac-sha1-96,hmac-md5-96,hmac-sha2-256,hmac-sha2-512
DEBUG : compression algorithms=none,zlib
DEBUG : compression algorithms=none,zlib
DEBUG : Sent SSH\_MSG\_KEXINIT
DEBUG : Reading SSH\_MSG\_KEXINIT reply
DEBUG : Waiting for packet
DEBUG : FTPConnection.25 RepeatCallback received 368 bytes
DEBUG : Packet arrived
DEBUG : Processing SSH\_MSG\_KEXINIT reply
DEBUG : Remote kex alg=diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1
DEBUG : Decided kex alg= DiffieHellmanGroup14Sha1
DEBUG : Remote hostkey alg=ssh-rsa
DEBUG : Decided hostkey alg= RSA
DEBUG : Remote Cipher CS=aes256-cbc,aes256-ctr,3des-cbc,aes128-cbc,aes128-ctr
DEBUG : Decided Cipher C->S= AES128
DEBUG : Remote Cipher SC=aes256-cbc,aes256-ctr,3des-cbc,aes128-cbc,aes128-ctr
DEBUG : Decided Cipher S->C= AES128
DEBUG : Remote MAC CS=hmac-sha2-512,hmac-sha2-256,hmac-sha1,hmac-sha1-96
DEBUG : Decided MAC C->S= HMAC\_SHA1
DEBUG : Remote MAC SC=hmac-sha2-512,hmac-sha2-256,hmac-sha1,hmac-sha1-96
DEBUG : Decided MAC S->C= HMAC\_SHA1
DEBUG : Remote Comp CS=zlib,none
DEBUG : Decided Comp C->S=None
DEBUG : Remote Comp SC=zlib,none
DEBUG : Decided Comp S->C=None
DEBUG : first\_kex\_packet\_follows=False
DEBUG : Processed SSH\_MSG\_KEXINIT reply
DEBUG : Sending SSH\_MSG\_KEXDH\_INIT
DEBUG : DH\_PRIME\_GROUP14
DEBUG : DH\_PRIME\_GROUP14
DEBUG : Sent SSH\_MSG\_KEXDH\_INIT
DEBUG : Reading SSH\_MSG\_KEXDH\_INIT reply
DEBUG : Waiting for packet
DEBUG : FTPConnection.25 RepeatCallback received 848 bytes
DEBUG : Packet arrived
DEBUG : Processing SSH\_MSG\_KEXDH\_INIT reply
DEBUG : DH\_PRIME\_GROUP14
INFO : Verifying host key
DEBUG : Processed SSH\_MSG\_KEXDH\_INIT reply successfully
DEBUG : Sending SSH\_MSG\_NEWKEYS
DEBUG : Sent SSH\_MSG\_NEWKEYS
DEBUG : Established ciphers
DEBUG : Established MACs
DEBUG : Reading SSH\_MSG\_NEWKEYS reply
DEBUG : Processing SSH\_MSG\_NEWKEYS reply
DEBUG : Processed 0 queued messages
DEBUG : Processed SSH\_MSG\_NEWKEYS reply
INFO : Negotiated new keys successfully
DEBUG : Key exchange complete
DEBUG : Sent SSH\_MSG\_SERVICE\_REQUEST 'ssh-userauth'
DEBUG : Waiting for packet
DEBUG : FTPConnection.25 RepeatCallback received 1112 bytes
DEBUG : Packet arrived
DEBUG : Starting user authentication for 'tn000000'
DEBUG : Password authentication
DEBUG : Sent SSH\_MSG\_USERAUTH\_REQUEST
DEBUG : ProcessAuthenticationResponse: SSH\_MSG\_USERAUTH\_BANNER
DEBUG : USERAUTH\_BANNER
DEBUG : - User Banner here blah blah blah
DEBUG : Waiting for packet
DEBUG : FTPConnection.25 RepeatCallback received 68 bytes
DEBUG : Packet arrived
DEBUG : ProcessAuthenticationResponse: SSH\_MSG\_USERAUTH\_FAILURE
ERROR : Auth failure. Try: keyboard-interactive
DEBUG : Trying keyboard-interactive authentication
DEBUG : Starting user authentication for 'tn000000'
DEBUG : Keyboard interactive authentication
DEBUG : Sent SSH\_MSG\_USERAUTH\_REQUEST
DEBUG : Waiting for packet
DEBUG : FTPConnection.25 RepeatCallback received 212 bytes
DEBUG : Packet arrived
DEBUG : ProcessAuthenticationResponse: SSH\_MSG\_USERAUTH\_INFO\_REQUEST
DEBUG : Prompt count = 3
DEBUG : Prompt: Old Password:
DEBUG : Prompt: New Password:
DEBUG : Prompt: Confirm Password:
DEBUG : Sent SSH\_MSG\_USERAUTH\_INFO\_RESPONSE
DEBUG : Waiting for packet
DEBUG : FTPConnection.25 RepeatCallback received 36 bytes
DEBUG : Packet arrived
DEBUG : ProcessAuthenticationResponse: SSH\_MSG\_USERAUTH\_FAILURE
ERROR : Auth failure. Try:
ERROR : Failed to connect - closing connection
ERROR : EnterpriseDT.Net.Ftp.Ssh.SFTPAuthenticationException: Authentication failed
ERROR : at EnterpriseDT.Net.Ftp.Ssh.SSHFTPClient.Connect() | multiple SSH\_MSG\_USERAUTH\_FAILURE and how to code around it | enterprisedt.com | 2021.10 | [
{
"text": "To handle this you'll need to set the authentication type to KeyboardInteractive and set the KBIPrompts property so that it it's able to respond to the prompts being sent by the server (i.e. \"Old Password:\", \"New Password:\" and \"Confirm Password:\".",
"name": "",
"is_accepted": false
}
] |
ca1b5f47c93e3352ba4ce629e87a50d2 | Can edtFTPnet/PRO be used for standard FTP too? | Can edtFTPnet/PRO be used for standard FTP too? | enterprisedt.com | 2021.10 | [
{
"text": "Yes, in SecureFTPConnection just set the Protocol to FTP.",
"name": "",
"is_accepted": true
}
] |
9f1039692de04040df90c79f7766a407 | I have your company e-mail for sales team, e-mail: [[email protected]](mailto:[email protected])
Could you provide me your company contact person name? a sales person will do
| Company Contact person name | enterprisedt.com | 2021.04 | [
{
"text": "Bruce Blackshaw is already in contact with a representative of your company, so he's probably the best person to contact. He sees all messages sent to [email protected], so please use that address to contact him.",
"name": "",
"is_accepted": false
}
] |
c7b97a1d7a99a3ada7082f245c3e983c | Can I use the Van Dyke private key format in edtFTPj/PRO? | Can I use the Van Dyke private key format in edtFTPj/PRO? | enterprisedt.com | 2020.34 | [
{
"text": "[SecureCRT](http://www.vandyke.com/products/securecrt/) by Van Dyke uses a proprietary format for private keys called \"VAN DYKE SSH2\". \n \nWe don't support this private key format. We don't know anyone else who does either. \n \nHowever SecureCRT has the ability to export private keys in the commonly used OpenSSH format, which is supported by edtFTPj/PRO. So if you have a SecureCRT private key, it is best to export it as OpenSSH.\n\n",
"name": "",
"is_accepted": true
}
] |
743868c7c15315b355ebdf428036639f | Hi,
I am getting this error while trying to transfer the file of 275kb
i am using java 1.7 .
destination is Unix
i am getting this error randomly it works for sometime . | SFTP error message:::aiSftp.initialize: SFTP\_ERROR\_MESSAGE:S | enterprisedt.com | 2021.04 | [
{
"text": "SFTP error message:::aiSftp.initialize: SFTP\\_ERROR\\_MESSAGE:SFTP LOGIN FAILED: com.enterprisedt.net.j2ssh.transport.MessageStoreEOFException: The message store has reached EOF",
"name": "",
"is_accepted": false
},
{
"text": "Which version of edtFTPj/PRO are you using? If you're not using the latest version then please update and see if it still happens. \n \n- Hans (EnterpriseDT)",
"name": "",
"is_accepted": false
},
{
"text": "i am using 3.1.2 version of jar. \n \ni am even getting the following error \ncom.enterprisedt.net.j2ssh.transport.TransportProtocolException: IO Error on socket: Broken pipe (errno:32) \n \ntransfering 270 Mb file.",
"name": "",
"is_accepted": false
},
{
"text": "Your release is 5 years old - it is time to upgrade before trying to diagnose the issue any further.",
"name": "",
"is_accepted": false
},
{
"text": "i have restriction to use version 3.9.0.1 jar . \n \nwill this solve the issue..",
"name": "",
"is_accepted": false
},
{
"text": "At this point please lodge a [support ticket](http://enterprisedt.com/support/index.php) and provide us with your purchase reference.",
"name": "",
"is_accepted": false
}
] |
6bf4e6b6556563e8faeafb6abc862160 | Where is the configuration data stored? | Where is the configuration data stored? | enterprisedt.com | 2020.05 | [
{
"text": "The configuration data is stored in a single SQL Server Compact file named **config.sdf**. This file is stored in a subdirectory of the \"ProgramData\" or \"All Users\" data directory. \n \nOn Vista/2008 and later:\n\n\n```\nC:\\ProgramData\\Enterprise Distributed Technologies\\Complete FTP\\config.sdf\n```\nOn Windows XP/2003 and earlier:\n\n\n```\nC:\\Documents and Settings\\All Users\\Application Data\\Enterprise Distributed Technologies\\Complete FTP\\config.sdf\n```\nTwo other ways to locate the file: \n \n1. Open Windows Explorer and type \"%ALLUSERSPROFILE%\\Enterprise Distributed Technologies\\Complete FTP\". You should now see config.sdf in the file-list. \n \nOR \n \n2. From the Windows Start menu open \"CompleteFTP\" and then \"Log Files\". This opens the Logs directory in Windows Explorer. Go up one directory to the directory where config.sdf is located.\n\n",
"name": "",
"is_accepted": true
}
] |
412d16a92fee256d6383f4fc92e3ead5 | Hi All,
I have to admit that i am new to C# development and to this tool. I have downloaded the evaluation copy of edtftpnet-pro-1.0.3. After unzipping it created the dir's for src, bin, examples etc.
Now in my application, i added the reference to bin/edtftpnet-pro-1.0.3.dll and added the following in my class,
using EnterpriseDT.Util.Debug;
using EnterpriseDT.Net.Ftp;
using EnterpriseDT.Net.Ftp.Pro;
My compiler still complains that missing directive or assembly reference, what am i doing wrong here.
Thanks for the help/ | how to add the reference to enterprisedt - urgent please. | enterprisedt.com | 2019.51 | [
{
"text": "forget it i figured it out.\n \n\n \nThough it makes me wonder how long does it take and how well the question will be answered by these forums if i am really stuck on something.",
"name": "",
"is_accepted": false
},
{
"text": "\n> Though it makes me wonder how long does it take and how well the question will be answered by these forums if i am really stuck on something.\n\n\n \n\n \nWe offer e-mail support for our commercial products (including trial versions). E-mail support is generally faster. The forums are mostly aimed at our free products for which we don't offer e-mail support. You can find further information about support [here](http://www.enterprisedt.com/products/edtftpjssl/support.html).\n \n\n \n- Hans (EDT)",
"name": "",
"is_accepted": false
}
] |
dd6c2320ea44ec5d8501ab4e24b1ce4a | Hello,
Reccently a customer told me that the file names he downloaded from his HTTP client page were not correct.
I tried on Firefox and everything worked well. But with Internet Explorer there is a problem:


Thank you in advance if you can help me.
Greetings
J-D Gasser
| Download files with special chars in their name from HTTP works on Firefox but not with Internet Explorer | enterprisedt.com | 2021.04 | [
{
"text": "We have successfully tested a fix for this. Version 9.0 will contain this fix. We expect it will be released in December. Can you wait until then or is it urgent?",
"name": "",
"is_accepted": false
}
] |
1a122566252f9d85463585e07762d695 | I am basically looking for a Log or Notification to exist with the file name and when it was received on the FTP. Could be in .csv or .txt format. | Is it Possible for Complete FTP to Provide a Notification or Log of a Files Received on the FTP Server? | enterprisedt.com | 2021.04 | [
{
"text": "CompleteFTP has something called an *audit log*, which records all logins and transfers. More details are in the User Guide, [here](http://enterprisedt.com/products/completeftp/doc/guide/html/auditing.html).\n\n",
"name": "",
"is_accepted": false
}
] |
9fb2f72a309826daf3dc16f1d83f99bf | Hi,
I wanted to know,how to logingin with source folder using ftpclient to downlod the files from the subfolder of that source folder? . I need full sample code to download the files from the sub folder.
my problem is i cannot able to make the source folder as a current working directory!! can u pls help me on this?
Thanks,
M.vasiharan | FTP Download (pbm to make source folder as working folder) | enterprisedt.com | 2021.04 | [
{
"text": "Pass in full path names, then it doesn't matter.",
"name": "",
"is_accepted": false
}
] |
51ad4e04dcc1dd91144dc65e3061d947 | I just downloaded the edtftpj/pro software and got a license. I need to know how install the license for the software. I am not really familiar on how to install the license. | Need to know how to license the edtftpj/Pro | enterprisedt.com | 2020.10 | [
{
"text": "There are two ways to use the license. You can hard code the license into your Java code, using the values supplied. Alternatively, you can use a license.jar file placed in your Java CLASSPATH. \n\n \n\nThere's more information at <https://enterprisedt.com/products/edtftpjssl/doc/manual/html/howtousethelicensefile.html>.",
"name": "",
"is_accepted": false
}
] |
3a2247499618f9dd87279744b53f54aa | Currently our system is transfering multiple files to sFTP server, however some files was able to transfer successfully, some don't ... when we look into the log, looks like we are getting the following error.
You think it is related to how we handle the connection? or relate to how the sFTP server set up?
Our system flow is like this:
our have multiple threads talk to --> our internal web API --> the API will use EnterpriseDT to open sFTP connection and transfer files
DEBUG [SFTPMessage] 24 Sep 2018 16:02:10.218 : Send : Name=SSH\_FXP\_CLOSE,Type=4,RequestID=5
DEBUG [SSH2Channel] 24 Sep 2018 16:02:10.218 : Transmit 14 bytes
DEBUG [ChannelDataWindow] 24 Sep 2018 16:02:10.218 : Remote window size decreased to 130921
ERROR [SSHFTPClient] 24 Sep 2018 16:02:10.213 : Failed to connect - closing connection
ERROR [SSHFTPClient] 24 Sep 2018 16:02:10.213 : System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'System.Net.Sockets.Socket'.
ERROR [SSHFTPClient] 24 Sep 2018 16:02:10.213 : at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, SocketError& errorCode)
ERROR [SSHFTPClient] 24 Sep 2018 16:02:10.213 : at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
ERROR [SSHFTPClient] 24 Sep 2018 16:02:10.213 : at T6jHMLz3KD4s52B1St.eVurmd5npuafjduMfT.Write(Byte[] , Int32 , Int32 )
ERROR [SSHFTPClient] 24 Sep 2018 16:02:10.213 : at JhNCT1gCqJQH2OPVJI6.EkKdTYgOwQFq9KXlQQs.AuPEff9bcy9(Iao4dApgYZSQxad6U5 , l2XpCfyvMctkqQI0UiF )
ERROR [SSHFTPClient] 24 Sep 2018 16:02:10.213 : at Wmo3Tt8NJZahSAaM45s.mpftTQ8wKeOkYw1MT1d.WPophPjAOZ(Byte[] )
ERROR [SSHFTPClient] 24 Sep 2018 16:02:10.213 : at Wmo3Tt8NJZahSAaM45s.mpftTQ8wKeOkYw1MT1d.DHJp9PHpr2(Byte[] , Boolean )
ERROR [SSHFTPClient] 24 Sep 2018 16:02:10.213 : at Wmo3Tt8NJZahSAaM45s.mpftTQ8wKeOkYw1MT1d.lNypblfhJg(Byte[] )
ERROR [SSHFTPClient] 24 Sep 2018 16:02:10.213 : at A2IO41By3OEfAX9eAZZ.E3IXEXBvrx1t2b9DhJ6.Qs3oXnBTMkH(Byte[] )
ERROR [SSHFTPClient] 24 Sep 2018 16:02:10.213 : at CkgjcsVqWCsEuqnMFxY.SkEwUuVng9qvb3tI3Ok.lDxfOB1Rkj(Byte[] , Int32 , Int32 )
ERROR [SSHFTPClient] 24 Sep 2018 16:02:10.213 : at A2IO41By3OEfAX9eAZZ.E3IXEXBvrx1t2b9DhJ6.xc3oXak9yVI(Byte[] , Int32 , Int32 )
ERROR [SSHFTPClient] 24 Sep 2018 16:02:10.213 : at A2IO41By3OEfAX9eAZZ.E3IXEXBvrx1t2b9DhJ6.xc3oXak9yVI(Byte[] )
ERROR [SSHFTPClient] 24 Sep 2018 16:02:10.213 : at CU3RA7BUA0jNbDGm3ac.rkeRm1BSsOAtLWYwEAQ.iXjCEkO3iK(SFTPMessage )
ERROR [SSHFTPClient] 24 Sep 2018 16:02:10.213 : at CU3RA7BUA0jNbDGm3ac.rkeRm1BSsOAtLWYwEAQ.LTnwnQfZ6b()
ERROR [SSHFTPClient] 24 Sep 2018 16:02:10.213 : at EnterpriseDT.Net.Ftp.Ssh.SSHFTPClient.Connect()
ERROR [SSHFTPClient] 24 Sep 2018 16:02:10.218 : Failed to connect - closing connection
ERROR [SSHFTPClient] 24 Sep 2018 16:02:10.218 : System.ObjectDisposedException: Cannot access a disposed object. | connect to sFTP error with multiple thread | enterprisedt.com | 2020.05 | [
{
"text": "Please open a ticket in our support system, [here](https://enterprisedt.atlassian.net/servicedesk/customer/portal/1). \n\n",
"name": "",
"is_accepted": true
}
] |
53bd0844b42dffc75750361a4d32c2d1 | The Web server allows form based authentication without disabling the AutoComplete feature for the password field.
Some security tests recommend autocomplete should be turned off for any input that takes sensitive information such as credit card number, CVV2/CVC code, U.S. social security number, etc. How do I do this?
| How do I disable autocomplete in the login form input fields? | enterprisedt.com | 2020.05 | [
{
"text": "Here is one way to disable this. \n\n \n\nGo to C:\\ProgramData\\Enterprise Distributed Technologies\\Complete FTP\\Login\\index.jss. \n\n \n\nThe first line is \n\n \n\nvar allowBrowserPasswordStorage = true; \n\n \n\nChange it to \n\n \n\nvar allowBrowserPasswordStorage = false;",
"name": "",
"is_accepted": false
}
] |
aaa114d9d7e37408d5449c96137c2247 | I put a file with a chinese filename. and it returned the error as "cannot create file".How can I do? thank you | Help! Error in FtpClient.Put | enterprisedt.com | 2021.04 | [
{
"text": "Post the log file.\n \n\n \n\n> I put a file with a chinese filename. and it returned the error as \"cannot create file\".How can I do? thank you\n\n",
"name": "",
"is_accepted": false
}
] |
6d3a2404e26899e0a71fe6081b2c1d92 | I am currently using CompleteFTP Enterprise Edition version 10.2.1 on Windows Server 2012.
We are planning to upgrade the Windows Server to 2016 or 2019.
Is it possible to upgrade the CompleteFTP Enterprise Edition to the latest version on the upgraded windows with all the configuration on completeFTP still intact? | Upgrade from version 10.2.1 to latest version | enterprisedt.com | 2021.43 | [
{
"text": "Yes, during the installation of the latest version of CompleteFTP you will be greeted with a pop-up window which asks you if you wish to retain your existing configuration. please check the option to '*keep your existing configuration*'. \n\n",
"name": "",
"is_accepted": false
}
] |
5a0894b649acc2db679376d84b035fae | Hi,
Does edtftpj-pro support remote execution of commands via ssh, or is it strictly limited to file transfer operations? | Does edtftpj-pro support remote execution of commands via ssh? | enterprisedt.com | 2021.25 | [
{
"text": "Yes, edtftpj-pro does support this.",
"name": "",
"is_accepted": false
}
] |
6c286a085fa7ef947a9aa800ef95aa6e | We are currently using Version: 5.2.3 of editftpj-pro.jar . | How to use site method in java | enterprisedt.com | 2019.43 | [
{
"text": "The FTP SITE command is specific to the server you are connecting to. SITE commands are custom commands you can send to the server. For example,SITE IDLE 60 or SITE UMASK 002. \n\nWith the site() command, you just need to send the remainder of the command excluding SITE, .e.g.\n\n\n```\nftp.site(\"IDLE 60\");\n```\n",
"name": "",
"is_accepted": false
}
] |
b15b26afcc3f50f18e6d399753b26bdf | Recently we've had two cases of SAML authentications failing in version 13.1.3 with a 500 server error message and the message 'Invalid algorithm specified' showing in the logs. In both cases the SHA256 hashing algorithm was being used. | SAML logins are failing with the error 'Invalid algorithm specified' | enterprisedt.com | 2021.21 | [
{
"text": "The problem was solved in both cases, by re-importing the site's SSL certificate after it'd been modified to specify the 'Microsoft Enhanced RSA and AES Cryptographic Provider' as the CSP.\n\nThis can be done using the OpenSLL command,\n\n\n```\nopenssl pkcs12 –export –in cert.pem –inkey key.pem –CSP \"Microsoft Enhanced RSA and AES Cryptographic Provider\" –out certAndKey.pfx\n```\nIt can also be done using the certutil command.\n\nFor more details please refer to [this article](https://www.componentspace.com/Forums/Topic1578.aspx).\n\n",
"name": "",
"is_accepted": true
}
] |
cd2beeec79dd32b514620f00ff651779 | I'm using the [SecureFileTransferClient](https://enterprisedt.com/products/edtftpjssl/doc/api/com/enterprisedt/net/ftp/SecureFileTransferClient.html) class because I need to write a Java client that supports both SFTP & FTPS (implicit & explicit), & this seemed like exactly what I need. I'm using the latest pro version 5.2.5. Here are my questions:
1. I would like to use the new function of specifying a minimum TLS version when using FTPS. I can see the new method takes an int, but there is no online doc that explains what that int should be if I only want to accept TLSv1.1 or higher. Can you tell me what that int should be?
2. Your online doc for using implicit FTPS says to do this:
ftp.[setImplicitFTPS(true)](https://enterprisedt.com/products/edtftpjssl/doc/api/com/enterprisedt/net/ftp/ssl/SSLFTPClient.html#setImplicitFTPS%28boolean%29);
ftp.connect();
ftp.[auth](https://enterprisedt.com/products/edtftpjssl/doc/api/com/enterprisedt/net/ftp/ssl/SSLFTPClient.html#auth%28char%29)(SSLFTPClient.[PROT\_PRIVATE](https://enterprisedt.com/products/edtftpjssl/doc/api/com/enterprisedt/net/ftp/ssl/SSLFTPClient.html#PROT_PRIVATE));
But how do I translate that series of commands when using the SecureFileTransferClient, which has no auth() method? Heres what my code looks like so far:
SecureFileTransferClient client=new SecureFileTransferClient();
client.setProtocol(Protocol.FTPS\_IMPLICIT);
client.getAdvancedFTPSettings().setConnectMode(FTPConnectMode.PASV);
client.getAdvancedSSLSettings().setSecurityMechanism(SSLFTPSecurityMechanism.AUTH\_TLS);
client.getAdvancedSSLSettings().setUseUnencryptedCommands(false);
client.setServerValidationEnabled(false);
So with server validation disabled, I need to execute the following command (after I connect to the server) in order for a file upload to work:
client.executeCommand("PROT P");
Is this really the correct way to get the SecureFileTransferClient class to encrypt the data channel?
If server validation is enabled, then even that executeCommand() from above doesnt work when I try to upload a file (the server tells me a 'PROT P' is required, even though I executed that command prior to running client.uploadFile()).
What am I missing here as I try to get implicit FTPS working using the SecureFileTransferClient class?
3. I'm having problems getting key-based auth to work when using SFTP. The following sftp command uses a private key file to connect to a host without needing a password:
*sftp -i /users/wasadm/.ssh/id\_wasadm\_rsa [email protected]*
When I try to emulate that same command in Java, I get this error message:
ERROR [TransportProtocolOutputStream] 3 Jul 2018 00:13:32.607 : sendMessage() failed: Socket closed (state=5)
ERROR [ConnectTask] 3 Jul 2018 00:13:32.607 : 1:Connect[acme.com:22] failed : The host signature is invalid or the host key was not accepted!
com.enterprisedt.net.ftp.ssh.SSHFTPKeyException: The host signature is invalid or the host key was not accepted!
Here is my Java code:
client.setProtocol(Protocol.SFTP);
client.loadSSHServerValidation("/users/wasadm/.ssh/known\_hosts");
client.getAdvancedSSHSettings().setPrivateKeyFile("/users/wasadm/.ssh/id\_wasadm\_rsa");
client.getAdvancedSSHSettings().setPortsInKnownHosts(true); //some hosts do not use the default port of 22
client.getAdvancedSSHSettings().setAuthenticationType(SSHAuthenticationType.PUBLIC\_KEY);
Any idea why the same files used by the built-in sftp command do not work with your Java client?
| Several issues with the multi-protocol client | enterprisedt.com | 2020.10 | [
{
"text": "1. See SSLFTPClient.SSLVersion.TLS\\_V1\\_1 (we'll amend the documentation as it is a bit hard to find).\n\n2. You don't need to do anything other than this to set up implicit mode TLS. \n\n SecureFileTransferClient client=new SecureFileTransferClient(); \n client.setProtocol(Protocol.FTPS\\_IMPLICIT); \n client.setServerValidationEnabled(false);\n\nThe other commands are set internally.\n\n3. I'm not sure. We'll need a debug log to find out, which is going a bit beyond what this forum is for. Please open a support ticket [here](https://enterprisedt.atlassian.net/servicedesk/customer/portal/1).\n\n",
"name": "",
"is_accepted": false
}
] |
e70e38ca2ec727b99e51aecaa568fbda | By default the X-Frame-Options header is set to sameorigin, which means the page can be used in a frame as long as the site including it in a frame is the same as the one serving the page. How can this be changed to prevent pages being loaded in an iframe?
| How do I stop my web pages being rendered in an iframe? | enterprisedt.com | 2020.05 | [
{
"text": "You'll need to change the value of X-Frame-Options to 'deny'.\n\nIn the CompleteFTP manage, go to \n\n*Sites/Settings>HTTP/HTTPS>Advanced HTTP/HTTPS Settings>Custom headers*\n\nYou can change the value there. \n\n",
"name": "",
"is_accepted": false
}
] |
dd1402a970c18482136245164f6f7caf | We are using edtftpj-pro.jar
When we connect to the server with sftp, it is normal at first.
Repeatedly doing the same thing will cause the following problems:
Caused by: java.rmi.RemoteException: com.enterprisedt.net.j2ssh.transport.TransportProtocolException: The connection did not complete
at com.enterprisedt.net.j2ssh.transport.TransportProtocolClient.onStartTransportProtocol(TransportProtocolClient.java:407)
at com.enterprisedt.net.j2ssh.transport.TransportProtocolCommon.startTransportProtocol(TransportProtocolCommon.java:524) | SSHFTPClient - The connection did not complete | enterprisedt.com | 2020.10 | [
{
"text": "We solved the above problem. \n\nWe have included lib in each bundle when creating the OSGi Bundle. \n\nI created a shared Lib bundle and solved it. \n\nI want to make a purchase soon.",
"name": "",
"is_accepted": false
}
] |
9178105348bf231b03e1b3d8586d8f25 | Any news about .NET Core support for edtFTPnet/PRO? | edtFTPnet/PRO for .NET Core | enterprisedt.com | 2020.40 | [
{
"text": "It is still being worked on. It may be ready around October time, but unfortunately at this stage we cannot make a guarantee.",
"name": "",
"is_accepted": false
}
] |
ea4781163203c0f1b3fea1c8e650c9fd | Is edtFTPj/PRO FIPS-140 certified? | Is edtFTPj/PRO FIPS-140 certified? | enterprisedt.com | 2020.34 | [
{
"text": "The answer is no. Karl Levinson at SecLists.Org [explains it very clearly](http://seclists.org/basics/2007/Jan/9). \n\nThis quote explains the main reason why our products are not FIPS-140 or FIPS-140-2 certified:\n\n\n\n> \n> FIPS certification is probably expensive and time consuming for the vendor, so that the products that get it would tend to be older products from larger, more monolithic companies, which may not necessarily guarantee you're getting superlative security.\n> \n> \n> \n\n\nAnd here's an illustration of how FIPS-140 certification can actually result in a lower level of security:\n\n\n\n> \n> With MS Windows, for example, you probably don't want to enable \"FIPS-compliant encryption mode,\" because an older, weaker encryption algorithm will be used for EFS disk encryption, rather than newer, stronger but uncertified protocols.\n> \n> \n> \n\n\n- Hans Andersen (EnterpriseDT)\n\n",
"name": "",
"is_accepted": true
}
] |
b0e5e00efb0e052c3ced459f5bcc1a25 | I am setting up a server to receive files that contain data in a proprietary format. There is a tool that can read the file and insert the data into the database, but how do I invoke this tool from JSS?
The tool doesn't take file path etc. from the command line - it uses a configuration file. So I have a template configuration file which I read, replace the placeholder values with actual values from the event variables, and write to a tmp file. Then I need to invoke the tool with the tmp file as an argument, but I can't see a way to do this...
Thanks! | How do I execute a program from JSS? | enterprisedt.com | 2020.05 | [
{
"text": "Actually, you should be able to invoke the program from JSS by invoking the [System.Diagnostics.Process.Start](https://msdn.microsoft.com/en-us/library/system.diagnostics.process.start(v=vs.110).aspx) method as follows:\n\n\n\n```\nvar programPath = \"C:\\\\directory\\\\myprogram.exe\";\nvar arguments = \"arg1 arg2\";\nSystem.Diagnostics.Process.Start(programPath, arguments);\n```\n\nJSS allows calling out to .NET (in process triggers at least) so that should work.\n\n",
"name": "",
"is_accepted": false
}
] |
b2573e9cef393430cb1cee41767ca814 | I want to get the file list in file modification time order, started with oldest one. How can I do it?
Tried FtpClient.dir(), seems it is not in time order.
Tried FtpClient.modtime(), but the ftp server does not support command "MDTM".
Help, please.
CK. | modtime not work | enterprisedt.com | 2021.04 | [
{
"text": "If dir() doesn't return in time order, you'll have to re-order yourself once you've fetched the listing.\n \n\n \n\n> I want to get the file list in file modification time order, started with oldest one. How can I do it? \n> Tried FtpClient.dir(), seems it is not in time order. \n> Tried FtpClient.modtime(), but the ftp server does not support command \"MDTM\". \n> \n> Help, please. \n> CK.\n\n",
"name": "",
"is_accepted": false
},
{
"text": "How? \n \nmodtime() not work.dir(dirname,true) only return the time in minutes but not in second.",
"name": "",
"is_accepted": false
}
] |
d15b12a27fbf7279956aaa44159229c9 | FTPReply.ReplyData seems to not return the first row of data returned:
```
200- Port = "21"
200- Start time = "10/03/2010 02:10:02 AM"
200- Download = "0.000 KB"
200- Upload = "0.000 KB"
200- Online Users = "0"
200-======================================
```
I'm expecting:
```
Response: 200- Server IP = "192.168.1.6"
Response: 200- Port = "21"
Response: 200- Start time = "10/03/2010 02:10:02 AM"
Response: 200- Download = "0.000 KB"
Response: 200- Upload = "0.000 KB"
Response: 200- Online Users = "0"
Response: 200-======================================
```
FTPReply.ReplyText works fine, returning a string of all expected concatenated rows.
The code I'm using:
```
Try
' Set server and log-in properties
FtpConnection1.ServerAddress = "192.168.1.1"
FtpConnection1.ServerPort = "21"
FtpConnection1.UserName = "username"
FtpConnection1.Password = "password"
' Connect, get files and close
FtpConnection1.Connect()
Dim FTPReply As EnterpriseDT.Net.Ftp.FTPReply = FtpConnection1.InvokeSiteCommand("SHOW SERVER 192.168.1.1.21")
For Each Line As String In FTPReply.ReplyData
Console.WriteLine(Line)
Next Line
FtpConnection1.Close()
Catch ex As Exception
If FtpConnection1.IsConnected Then
FtpConnection1.Close()
End If
MessageBox.Show(Me, ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error)
End Try
```
| FTPReply.ReplyData Bug | enterprisedt.com | 2021.04 | [
{
"text": "It's a bug. It'll be fixed in the next release.\n \n\n \nThanks for letting us know.",
"name": "",
"is_accepted": false
},
{
"text": "Any idea when the next release is?\n \n\n \nThanks.",
"name": "",
"is_accepted": false
},
{
"text": "No idea?",
"name": "",
"is_accepted": false
},
{
"text": "Hope to release before Christmas, so pretty soon now.",
"name": "",
"is_accepted": false
},
{
"text": "Thanks Bruce.",
"name": "",
"is_accepted": false
},
{
"text": "Hi Bruce - Any update on the next release?",
"name": "",
"is_accepted": false
}
] |
7f0a7357aaee3ddd1b4144a2a8d7351b | does edtFtpPro support TLS 1.2? write up only says 1.0. I have a customer who iuses SFTP 1.o and switched to 1.2 this morning....no worky | What TLS 1.x is supported | enterprisedt.com | 2020.45 | [
{
"text": "edtFTPnet/PRO supports TLS 1.1 but does not yet support TLS 1.2. We're actually working on this at the moment, so it won't be too long until it is supported.",
"name": "",
"is_accepted": true
}
] |
4dc695f53e3c85f3eab4e2972229a4a9 | I have a folder name folder **pvt. ltd.**
I am able to upload the file to this folder but not able to download the files.
However if the folder doesn't have any . (period) in between, I am able to download the files successfully inside it. | Can;t download a file which has . (period) in the foldername | enterprisedt.com | 2021.04 | [
{
"text": "Which product of ours are you referring to? Could you repost in the forum for that product please?",
"name": "",
"is_accepted": false
}
] |
8935c64467f87470cca17bed6f1bf9c9 | How strong are the ciphers used in SFTP? | How strong are the ciphers used in SFTP? | enterprisedt.com | 2021.10 | [
{
"text": "There are a few options for ciphers used in SFTP. If you enable logging at the Debug level, you can see which cipher was selected in the negotiation process. \n\n \n\nCipher strength is normally compared in terms of key size. Although key sizes can't really be compared between ciphers, they give a bit of an idea. \n\n \n\nThe ciphers supported in edtFTPnet/PRO for SFTP are listed below, together with their key sizes: \n\n \n\n- TripleDES has an effective key size of 112 bits. \n\n- Blowfish has a key size of 128 bits in SFTP \n\n- AES-128 has a key size of 128 bits (AES-192 has 192 bits, and AES-256 has 256 bits).",
"name": "",
"is_accepted": true
}
] |
6f48a99b9f70d8b1ea9a53467827de53 | com.enterprisedt.net.j2ssh.transport.TransportProtocolException: IO Error on socket: Socket closed
at com.enterprisedt.net.j2ssh.transport.b.a(TransportProtocolOutputStream.java:217)
at com.enterprisedt.net.j2ssh.transport.TransportProtocolCommon.sendMessage(TransportProtocolCommon.java:476)
at com.enterprisedt.net.j2ssh.transport.TransportProtocolCommon.sendDisconnect(TransportProtocolCommon.java:804)
at com.enterprisedt.net.j2ssh.transport.TransportProtocolCommon.disconnect(TransportProtocolCommon.java:256)
at com.enterprisedt.net.j2ssh.SshClient.disconnect(SshClient.java:700)
at com.enterprisedt.net.ftp.ssh.SSHFTPClient.quit(SSHFTPClient.java:1881) | SFTP Client throws this exception, What could be the reason for this issue? | enterprisedt.com | 2020.10 | [
{
"text": "Unfortunately, this doesn't contain enough information to tell us what is going on. Usually, the debug log file is required.",
"name": "",
"is_accepted": false
}
] |
6d72692193b567b624fab1b45dec9a5b | Hi the nuget package for edtFTPnet/Free has version 1.2.2 but was update 2016
Is it really version 1.2.2 from 12 oct 2005 that is listed in your version history?
In that case is it possible you will update to the latest version for edtFTPnet/Free on nuget.
| edtFTPnet/Free nuget package version | enterprisedt.com | 2020.10 | [
{
"text": "Actually the edtFTPnet/Free nuget package wasn't published by us, so we'll try to have it removed. Thanks for bringing this to our attention. \n\nWe have now updated edtFTPnet/Free on Nuget to the latest version, 2.3.0. Please see the package [here](https://www.nuget.org/packages/edtFTPnet-Free). \n\n",
"name": "",
"is_accepted": true
},
{
"text": "We have now updated edtFTPnet/Free on Nuget to the latest version, 2.3.0. Please see the package [here](https://www.nuget.org/packages/edtFTPnet-Free). \n\n",
"name": "",
"is_accepted": false
}
] |
fd2648fcab03e43f2ad8616501952467 | I plan to create a jss authentication extension to authenticate the current logged in user before the execution of a jss script. If the user has been successfully authenticated, I want to then take that users username and password to create an instance of ftp to send files from that user.
Example:
```
authenticateUser(user); //jss authentication extension
//jss script
var ftp = new Ftp();
ftp.hostName="hostName";
ftp.protocol="sftp";
ftp.userName=authenticatedUsersUserName;
ftp.password=authenticatedUsersPassword;
```
| Is it possible to get the logged in username and password from an extension to use in a jss script? | enterprisedt.com | 2020.05 | [
{
"text": "Yes, you can do this. The only complication is that you'll need to store the password by returning a tag from the authenticator's authenticate function, as shown below:\n\n\n```\nfunction checkUserName(userName, userInfo) {\n return userName==\"test\";\n}\n\nfunction authenticate(userName, password, authInfo) {\n return {\n isCorrectPassword: password==\"test\",\n tags: {\n password: password\n }\n };\n}\n\n```\nNote that I've hardcoded it to accept only the credentials test/test.Once you've done that you can access the user-name and password from any JSS process trigger as follows:\n```\nvar userName = system.user.userName;\nvar password = system.user.tags.get(\"password\");\n```\nDoes that answer your question?\n\n",
"name": "",
"is_accepted": false
}
] |
bcb54eed24688a9cf62517a9d38a364c | PCI SSC requires that TLS 1.0 and SSL is no longer PCI compliant. SO we have to use TLS 1.1 and above. And we need to switch off SSL and TLS 1.0. | Does edtFTPj/PRO support TLS 1.1 and above. How do i switch off SSL and TLS 1.0 to comply with PCI? | enterprisedt.com | 2021.04 | [
{
"text": "You can disable SSL by using disableSSL3(true). \n\n \n\nTLS 1.0 can't currently be disabled, although of course servers can disable it. \n\n \n\nedtFTPj/PRO supports TLS 1.1 and TLS 1.2.",
"name": "",
"is_accepted": false
}
] |
d4ab9cd6a50bc60c154bf5a04e1f0786 | Does edtFTPnet/PRO support various proxy types found in FileZilla?

Thanks
| Does edtFTPnet/PRO support various proxy types found in FileZilla? | enterprisedt.com | 2020.05 | [
{
"text": "Yes, anything you can do in Filezilla with proxies you should be able to do with edtFTPnet/PRO.",
"name": "",
"is_accepted": false
}
] |
4ed08c405d772a8630041824e7e7a45c | Can edtFTPj/PRO be used for standard FTP, without using FTPS? | Can edtFTPj/PRO be used for standard FTP, without using FTPS | enterprisedt.com | 2020.34 | [
{
"text": "edtFTPj/PRO operates as a normal FTP client until you call the auth() method. See the [examples](http://www.enterprisedt.com/products/edtftpjssl/doc/examples/readme.html) for sample code to get started.\n\n",
"name": "",
"is_accepted": true
}
] |
a0ad6a1e9fc12d95b0ab23a55d836564 | Hi,
I got the progress indicator to perform as needed on the commandline.
Now my question is how to I take the data and update a swing progress bar / monitor?
I have the progressmonitor class as follows:
import com.enterprisedt.net.ftp.*;
public class ProgressMonitor implements FTPProgressMonitor {
public static long MyNum = 0;
public void bytesTransferred(long count) {
float answer = ( ( (int)count / (int)MyNum )+1 );
System.out.println(count + " : " + answer );
}
}
-----
In the main program, the gui is drawn, and the ftp portion is executed when a button is clicked. The progress bar is already drawn and awaiting use. The progress bar is a publically accessible JProgressbar, called progressBar.
// MySize was defined earlier as a long int.
MySize = ftp.size(targetFile);
//here a new ftpprogressmonitor is created from the classfile
// ProgressMonitor.class (which appears below...)
FTPProgressMonitor monitor = new ProgressMonitor();
// In the Progress Monitor class is the MyNum variable. we set it here.
ProgressMonitor.MyNum = MySize;
//Monitor is setup.
ftp.setProgressMonitor(monitor, 1024);
// Transfer type is set.
ftp.setType(FTPTransferType.BINARY);
// Download the file
ftp.get(tmpOutput, targetFile);
So, How would I get the variable 'answer' from the progressmonitor class back into the main program in order to update the progess bar? | Progress Indicator part 2. | enterprisedt.com | 2021.04 | [
{
"text": "Most likely, you would pass a reference to the progress bar or a related class into your ProgressMonitor constructor, and call it when you are notified of bytes transferred.\n \n\n \n\n> So, How would I get the variable 'answer' from the progressmonitor class back into the main program in order to update the progess bar?\n\n",
"name": "",
"is_accepted": false
},
{
"text": "Thank you. I have worked out the code, and it's clicking along!",
"name": "",
"is_accepted": false
}
] |
e5949312142e8f5769bc03ad9d7bb3c8 | Is there a way I can permanently blacklist or at least auto-ban any IP trying to login with the usernames "root" or "admin"? I get tens of thousands of invalid logins every day on my current SFTP server and I'm evaluating CompleteFTP to replace it. I can't do whitelisting since my clients would connect from anywhere. I am currently evaluating the enterprise version and have written a custom authenticator which works great. Unfortunately I won't really know how effective the auto-ban will be until I put this server in production. I'm also looking for a way to automatically blacklist IP addresses on the auto-ban list. I see that I can do it manually, but I was wondering if it could be done on a trigger. I'm thinking that it might be easier to remove IPs from people blacklisted in error than to fight the billions of zombie computers on a daily basis. | Blacklist IPs from attempted logins with usernames "root" or "admin" | enterprisedt.com | 2021.04 | [
{
"text": "If there was a function to add an IP filter rule (i.e. blacklist) from a script then you could:\n\n\n1. call that function from your custom authenticator if the user-name is root or admin, and\n2. create a JSS process trigger on the auto-ban event and call that function from there, thus making all auto-bans permanent.\n\n\nWould that cover your requirements?\n\n",
"name": "",
"is_accepted": false
}
] |
6b473610ba2ba84e621095934257856a | I was wondering what ciphers edtFTPNet supports for both the PRO and Free version. | What Ciphers Does edtFTPNet support for SFTP | enterprisedt.com | 2020.45 | [
{
"text": "The free version doesn't support SSH/SFTP, so there is no cipher support. \n\n \n\nThe Pro version supports SSL/TLS, and SSH, which are both secure protocols. They support slightly different ciphers. \n\n \n\nThe SSH ciphers are blowfish-cbc,aes128-cbc,aes192-cbc,aes256-cbc,3des-cbc,aes128-ctr,aes192-ctr,and aes256-ctr. \n\n \n\nFor completeness, the SSL/TLS cipher suites are: \n\n \n\nRSA\\_RC4\\_128\\_MD5 \n\nRSA\\_RC4\\_128\\_SHA \n\nRSA\\_RC4\\_40\\_MD5 \n\nRSA\\_RC2\\_40\\_MD5 \n\nRSA\\_DES\\_56\\_SHA \n\nRSA\\_3DES\\_168\\_SHA \n\nRSA\\_DES\\_40\\_SHA \n\nRSA\\_AES\\_128\\_SHA \n\nRSA\\_AES\\_256\\_SHA \n\nRSA\\_AES\\_128\\_SHA256 \n\nRSA\\_AES\\_256\\_SHA256",
"name": "",
"is_accepted": true
}
] |
cfcd8a18ad99fadefcb8ef759017d7b5 | Hello,
We currently have a two-server environment that shares login, etc. information located in hosted environment A. We are moving to a single-server configuration in environment B. Our current version is 10.2.1. I have reviewed the "How do I move..." FAQ document located [here](https://enterprisedt.com/questions/index.php/2518/how-do-i-move-completeftp-to-another-machine), but still have some questions.
Can I install the latest version (12.1.4) and copy the configuration files from 10.2.1 without going through an intermediate file conversion step?
Our file structure and gateway folder definitions will be different. Will that cause a problem? I would be OK with having the configuration come over, and then I would change the relevant gateway folders. However, if the current "home" directory is "D:\ftp\home", is it easy to change it to something like "S:\ftp\home"?
Thank you for your help!
| Migrating from multiple servers to one server in different environment | enterprisedt.com | 2020.05 | [
{
"text": "Yes, you can do this (but please precisely follow the steps in the FAQ you've linked to). \n\n \n\nChanging the current home directory is harder, as each home directory is a Windows folder and needs to be changed individually. I'm not quite sure why it has to be this way so I'll investigate that further - but it won't help you.",
"name": "",
"is_accepted": true
}
] |
fa62a1b260a01ccf603a9983fe2d9b39 | I am trying to add FTP client features to my existing application, using Visual Studio 2003. I cannot add a reference to edtFTPnet.dll. I get an error "This is not a valid assembly or COM component. Only assemblies with extension '.dll' and COM components can be referenced. [...]"
Can anyone help?
Thanks!
Craig | Visual Studio 2003 error: This is not a valid assembly or COM component. | enterprisedt.com | 2020.05 | [
{
"text": "Possibly, this is because the DLL has been compiled against a later version of the .NET framework. \n\n \n\nYou could try rebuilding the DLL using VS 2003.",
"name": "",
"is_accepted": false
}
] |
0ab54b36b44c83d6616978769bb577f6 | I am currently console logging info from my application and I would like to send it to a textfile.
var logFile = new File("/Docs/Logs/logFile.txt");
logFile.writeText("blahblahblah") and logFile.appendText("blahblahblah") gives me an exception: NotStreamableException. | How do I write to a text file using JSS? | enterprisedt.com | 2019.51 | [
{
"text": "I just tried this and it worked fine, although that was with version 12. I don't have a version 11 installation handy right now. Have you had a look at the logs to see if there are any clues as to why this is happening? Does /Docs/Logs exist?",
"name": "",
"is_accepted": false
}
] |
23590e0757d0201c4303c4fbc056d0a3 | My site is up and running but I cannot login. I reset the password as described in one the questions but it just prompts saying the service is not started. It is running. I tell it to start it. It says it's still not running. I tried stopping the service and letting the manager start it but got the same results. Any ideas?
Thanks
Dave | Cannot login to manager | enterprisedt.com | 2021.10 | [
{
"text": "Examine the log files (server and manager) for clues. If you can't figure it out, you will need to open a support ticket [here](https://enterprisedt.atlassian.net/servicedesk/customer/portal/1) (please note, you'll need a current support agreement).\n\n",
"name": "",
"is_accepted": false
}
] |
3970c2e944a18f00ebc0c7c6398b02ac | How can I test upgrading to a new version? | How can I test upgrading to a new version? | enterprisedt.com | 2020.05 | [
{
"text": "It is not advisable to directly upgrade a production installation without testing in a stage area first. \n\n \n\nSee [this duplicate question](http://enterprisedt.com/questions/index.php/11604/how-can-i-test-that-a-new-release-works-for-my-server) for details on how to perform this test.\n\n",
"name": "",
"is_accepted": true
}
] |
e766b43bb517e272bb0764b1c896035b | A user recently asked us if CompleteFTP's SAML feature is compatible with Microsoft's ADFS (Active Directory Federation Services - often also written as AD FS). | Can CompleteFTP use an ADFS server for SAML Single Sign-On authentication? | enterprisedt.com | 2019.51 | [
{
"text": "The answer is yes, but keep reading...\n\nFirstly, in version 11.0.0, you'll get an error if you try to import raw IDP metadata directly from ADFS. Version 11.1.0 should be able to handle it, but as I write this version 11.1.0 hasn't yet been released, so if you're on version 11.0.0, you'll need to download the metadata file, open it in a text editor, and remove the nodes with the following names: ds:Signature, RoleDescriptor, SPSSODescriptor. Once you've done that you should be able to import it into CompleteFTP.\n\nSecondly, you need to set the secure hash algorithm (advanced settings tab) to SHA1.\n\nThirdly, you need to tell ADFS which attribute it should send to CompleteFTP as the user-name. To do this you have to create a claim rule with an incoming claim type of your choice (e.g. Windows account name), an Outgoing claim type of 'Name ID', an Outgoing name ID format of 'Unspecified' and Pass through all claim values selected.\n\nFor more information, please refer to [this Oracle blog post](https://blogs.oracle.com/blogbypuneeth/steps-to-configure-saml-sso-with-adfs-as-idp-and-weblogic-server-as-sp), keeping in mind that the step for configuring WebLogic doesn't apply to CompleteFTP.\n\n",
"name": "",
"is_accepted": true
}
] |
d849afc97c812748f713033f0d715a3b | Hi everyone..
I getting the following error during the logon to the FTP server (Windows) from a linux console...
nhsanchez@testlx:~$ ftp-ssl sftp-3
Connected to sftp-3
220-Complete FTP server
220 CompleteFTP v 8.1.3
Name (sftp-3:nhsanchez):
234 AUTH SSL successful.
[SSL Cipher AES256-SHA]
331 Password required for nhsanchez
Password:
230 User nhsanchez logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
**ftp> ls
200 PORT command successful.
150 Opening ASCII mode data connection for listing
ftp: SSL\_connect DATA error -1 - error:1408F10B:SSL routines:SSL3\_GET\_RECORD:wrong version number
226 Transfer complete**
There is any way to solve this issue?, everything seems to be working well from other windows servers.
Thanks in advance | SSL\_connect DATA error | enterprisedt.com | 2021.04 | [
{
"text": "Please capture client logging at the -vvv level and server logging at Debug level, and email the zipped files to support.",
"name": "",
"is_accepted": false
}
] |
820846319ddfb4c6b194e879b82fbc14 | I am using windows 2019 FTP server with Self-signed certificate.
myftp = new Ftp.SecureFTPConnection
myftp.Protocol = ftp.FileTransferprotocol.FTPSExplicit
myftp.ServerValidation = FTP.SecureFTPServerValidationType.AutomaticNoNameCheck
When I start the connection, I get the following Exception:
"The certificate could not be verified: UntrustedRoot - A certification chain processed correctly but terminated in a root certification not trusted by the trust provider".
When connect to the same FTP server using CoreFTP, I have to accept the self-signed certificate for the client to connect.
How do I get this option or automatically accept the self-signed in my client? I am using the latest 9.6.0.40 EDTFTPnetPro.
Thank you. | FTPS with self-signed certificate | enterprisedt.com | 2019.51 | [
{
"text": "See the User Guide, [here](https://enterprisedt.com/products/edtftpnetpro/doc/manual/api/html/P_EnterpriseDT_Net_Ftp_SecureFTPConnection_ServerValidationCertificate.htm), for how to set the server certificate. \n\n",
"name": "",
"is_accepted": false
}
] |
27c946be760a8f34f5b2916c4ca1bf65 | A user writes:
Since audit logging captures everything, it would be nice to be able to exclude either files or IP addresses to log since it may just be "noise". We see this due to using a load balancer which requests an http health page every few seconds, which in turn fills the audit log with "noise". It would be nice to exclude these types of items or source IP addresses.
| How can I exclude certain file names or IP addresses from the audit log file? | enterprisedt.com | 2020.05 | [
{
"text": "There are several ways to do this. One way is to override the default logging configuration and change the filtering. To do this:\n\n1. Open the file C:\\Program Files (x86)\\Complete FTP\\Server\\CompleteFTPService.exe.config\n2. Copy everything from <log4net> to </log4net>, inclusive, to the clipboard\n3. Create a file called LogConfig.xml in C:\\ProgramData\\Enterprise Distributed Technologies\\Complete FTP\\Logs\n4. Paste the content of the clipboard into the new file\n5. Underneath the line starting with, <appender name=\"Audit\", paste the following lines:\n```\n<filter type=\"log4net.Filter.StringMatchFilter\">\n <stringToMatch value=\"123.123.123.123\" />\n <acceptOnMatch value=\"false\" />\n</filter>\n```\n6. Save the file\n7. Restart the CompleteFTP service\n",
"name": "",
"is_accepted": true
}
] |
f13660f784fc99c6ac90970f29e82bd8 | Hello,
I am checking out the edtftpj API and I have tossed together a quick little program to download a jar file and use FTPProgressMonitor to show the chunks as they come down.
Is there some way to use the FTPProgressMonitor to calculate the percent downloaded?
Thanks,
steve | Progress Indicator | enterprisedt.com | 2021.04 | [
{
"text": "The progress monitor reports the bytes downloaded. If you use size() (and it works on your FTP server) to find the total size of the file you are downloading beforehand, you can then work out the percentage downloaded.\n \n\n \n\n> Hello, \n> \n> I am checking out the edtftpj API and I have tossed together a quick little program to download a jar file and use FTPProgressMonitor to show the chunks as they come down. \n> \n> Is there some way to use the FTPProgressMonitor to calculate the percent downloaded? \n> \n> Thanks, \n> steve\n\n",
"name": "",
"is_accepted": false
},
{
"text": "How would I go about passing the size into the monitor?",
"name": "",
"is_accepted": false
},
{
"text": "To use the progress monitor, you need to implement FTPProgressMonitor in a class of your own, e.g. MyFTPProgressMonitor. \n \n\n \nGet the size, and then pass it into MyFTPProgressMonitor via the constructor, e.g.\n \n\n \nFTPProgressMonitor monitor = new MyFTPProgressMonitor(size);\n \n\n \nCall ftp.setProgressMonitor (monitor, interval) to set it up before you do the transfer.\n \n\n \nWhen the bytesTransferred(long count) method is called by the FTPClient, you can work out the percentage transferred each time.\n \n\n \n\n> How would I go about passing the size into the monitor?\n\n",
"name": "",
"is_accepted": false
},
{
"text": ":wink: \n \n\n \nThank you very much!",
"name": "",
"is_accepted": false
},
{
"text": "how can i catch the parameter then?? i dont know how to do it this way?!\n \ncould you give me perhaps a code example..!?\n \n\n \nthanks!",
"name": "",
"is_accepted": false
},
{
"text": "Here is the code from the main program. This creates the progress monitor and passes in the complete size \n \n\n \n// MySize was defined earlier as a long int.\n \nMySize = ftp.size(targetFile);\n \n//here a new ftpprogressmonitor is created from the classfile\n \n// ProgressMonitor.class (which appears below...)\n \nFTPProgressMonitor monitor = new ProgressMonitor();\n \n// In the Progress Monitor class is the MyNum variable. we set it here.\n \nProgressMonitor.MyNum = MySize;\n \n//Monitor is setup.\n \nftp.setProgressMonitor(monitor, 1024);\n \n// Transfer type is set.\n \nftp.setType(FTPTransferType.BINARY);\n \n// Download the file\n \nftp.get(tmpOutput, targetFile);\n \n\n \n-------------------------------\n \nThis is the complete ProgressMonitor.java Classfile.\n \n-------------------------------\n \nimport com.enterprisedt.net.ftp.*;\n \n\n \npublic class ProgressMonitor implements FTPProgressMonitor {\n \n public static long MyNum = 0;\n \n\n \n public void bytesTransferred(long count) {\n \n float answer = ( ( (int)count / (int)MyNum )+1 );\n \n System.out.println(count + \" : \" + answer );\n \n}\n \n}\n \n\n \nHope this helps. If you need the complete code for the main program, let me know.",
"name": "",
"is_accepted": false
}
] |
3d761a47c76eb712ddf9e173de61377e | We've been using CompleteFTP Professional for many years. We have sftp enabled on the server with all authentication methods available. We created an RSA and DSA key public key pair on the server, but have not created any keys for individual users.
Recently, with version 12.1.5, we have two clients out of 1,000+ clients that almost every day, they are unable to upload files because of the RSA fingerprint stores in their machine mismatching the server. In our troubleshooting, the RSA fingerprint presented is different every time, and doesn't match the RSA or DSA key fingerprint public key on the server when viewing it.
This issue persists after updating to 13.0.1. We even manually stored the DSA key fingerprint value from the server into the clients' database tables where this information is stored, but the next day or so, the client complains that the RSA key fingerprint does not match what is stored in the client's database. The key being presented is different than before.
Aside from MITM, any ideas what this could be? | Client notified of changing RSA Key Fingerprints on CompleteFTP Server | enterprisedt.com | 2020.45 | [
{
"text": "This was an interesting problem. It turns out (see the comment) that somewhere on the client side, they had an intrusion prevention system (IPS) that intercepted SSH traffic and changed the server's RSA fingerprint!",
"name": "",
"is_accepted": true
}
] |
056e63f1a8476ed45d8a35f36fc85ddd | Hi,
getSystemType() will return "XXXXXXX" which could be our ftp server setting issue.
Apache commons FTP has a API: ftp.initiateListParsing("unix", "DevRemote/19.1");
does FileTransferClient have a similar API to set windows or unix parser? | set up parsing type API (java)? | enterprisedt.com | 2021.04 | [
{
"text": "You can set your own custom parser. But our parser should work for virtually all Unix formats. Email support at enterprisedt dot com with a log file and we'll take a look.",
"name": "",
"is_accepted": false
}
] |
80998e897cdf86276be5acc8239c9fa2 | I have an application which may have 1 to many independent SFTP transmission threads. I want each of the threads to have their OWN LOG. By using the static properties LogLevel and LogFile, I can easily log all threads to a single log. Is there a way to use the UTIL or other objects to assign an individual log file for each of my transmission threads? If possible, C# code examples would be wonderful. | non-static logging | enterprisedt.com | 2021.21 | [
{
"text": "Hi,\n\nPlease open up a support ticket [here](https://enterprisedt.atlassian.net/servicedesk/customer/portal/1).\n\n",
"name": "",
"is_accepted": false
}
] |
5fc9aead5182fb62e7ed7bd3b66b7a45 | The FTP user's home directory is "/home/user". But the user has access to "/tmp" in the root directory. When trying to do FTPClient.chdir("/tmp"), the following error occurs - "com.enterprisedt.net.ftp.FTPException: 550 Failed to change directory.". The "/tmp" folder is accesible via WinSCP.
Directory structure:
+ / (root)
++ home
++++user (User's home directory)
++tmp
Jar version - edtftpj-pro-5.3.2 | "550 Failed to change directory" while chdir to /tmp folder | enterprisedt.com | 2020.29 | [
{
"text": "Hi,\n\nHave you tried using the *absolute* path in order to chdir ? Also please see a previous similar article on this [here](https://enterprisedt.com/questions/index.php/12993/ftp-error-com-enterprisedt-net-ftp-ftpexception-550?show=12993#q12993).\n\n",
"name": "",
"is_accepted": false
}
] |
c28773a47596f0a905850e1ea033db8b | Does the latest library support ECDH-SHA2* key exchange algorithms?
* ecdh-sha2-nistp256
* ecdh-sha2-nistp384
* ecdh-sha2-nistp521
If not yet, are there any plans or timeline as to when will this be supported?
| Does the latest library support ECDH-SHA2* key exchange algorithms | enterprisedt.com | 2021.43 | [
{
"text": "Yes, edtFTPj/PRO has supported the ECDH-SHA2* key exchange algorithms since 7.0. It also supports ECDSA host keys and client keys.\n\n",
"name": "",
"is_accepted": false
}
] |
ff32978def611b1deb014a77566838c6 | I downloaded the latest version, and I get a license expired exception | enterprisedt.com | 2020.34 | [
{
"text": "You probably downloaded the trial version, which can't be used with the production license.\n\nIf you have a production license, you need the production version, which you can get from our customer site [here](https://connect.enterprisedt.com/) using the credentials supplied to you on purchase. If you know the account's email address, you can also reset the password.\n\n",
"name": "",
"is_accepted": false
}
] |
|
bb8a3298fd0a9c21e0a194efd48ed67d | Does edtFTPj/PRO support TLS 1.3 for FTPS? If not, are there any immediate future plans to do so? | Does edtFTPj/PRO support TLS 1.3 for FTPS? | enterprisedt.com | 2020.29 | [
{
"text": "Not yet. We plan on modifying all our products to support TLS 1.3 in the fairly near future.",
"name": "",
"is_accepted": false
}
] |
511567b3fa12dea25c5f45c8b294bfb2 | What is the CPE naming format for the edtFTPnet/PRO | enterprisedt.com | 2020.05 | [
{
"text": "We don't use the CPE naming format.",
"name": "",
"is_accepted": false
}
] |
|
9ce21d03168d967c01d3371dc6e9240d | when i tried to use the ftp.jar, with Resin server on unix, i got this Error
Exception Message: "<domain> Closing transmission channel"
did any one know why it's happening? | Closing transmission channel | enterprisedt.com | 2021.04 | [
{
"text": "A stack trace would help to pinpoint your problem, and perhaps some more details.\n \n\n \n\n> when i tried to use the ftp.jar, with Resin server on unix, i got this Error \n> Exception Message: \"<domain> Closing transmission channel\" \n> \n> did any one know why it's happening?\n\n",
"name": "",
"is_accepted": false
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.