Custom Query (8143 matches)
Results (52 - 54 of 8143)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#12846 | fixed | Wrong data returned (possibly after an ABOR command) | ||
Description |
It appears that after an ABOR command, incorrect data may be returned. In my specific case, I was trying to download file chunks, and providing offsets to FileZilla. The first chunk returned (offset 0) is correct. However, subsequent downloads return incorrect data. This is the C# pseudocode used: [code] public async Task TestFileZilla() {
} code I asked the Rebex support staff to verify their library is issuing the correct calls, and this is their response: So this indeed looks like a FileZilla issue, and it occurs even when I use an offset of “1” every time. To rule out a client-side issue, I captured the FTP traffic using Wireshark and analyzed it. The control connection looks OK, with the client attempting to download the same file twice: TYPE I 200 Type set to I PASV 227 Entering Passive Mode (10,0,0,196,230,208) REST 1 350 Restarting at 1 RETR /incoming/Artifacts.zip 150 Starting data transfer. ABOR 426 Data connection closed; transfer aborted. 226 ABOR command successful. PASV 227 Entering Passive Mode (10,0,0,196,230,209) REST 1 350 Restarting at 1 RETR /incoming/Artifacts.zip 150 Starting data transfer. ABOR 426 Data connection closed; transfer aborted. 226 ABOR command successful. However, data that was transmitted over the second data connection is clearly wrong. Apparently, instead of sending file data that starts at offset 1, FileZilla sends data from seemingly semi-random offsets such as 0x40001 or 0xA0001. So interestingly, FileZilla got the lower 16 bits of the offset correctly, but then used wrong value for the next 16 bits. Out of interest, I added ftpClient.GetList() as the first call in your “for (var i = 0; i < 10; i++)“ loop, and the results were even weirder – on the second iteration, the server actually transmitted some part of Artifacts.zip data instead of the directory listing. Because I also had “ftpClient.LogWriter = new ConsoleLogWriter(LogLevel.Debug)“ in the code, this actually showed up like this:
2023-01-09 17:00:52.526 INFO Ftp(1)[1] Command: TYPE A
2023-01-09 17:00:52.527 INFO Ftp(1)[1] Response: 200 Type set to A
2023-01-09 17:00:52.527 INFO Ftp(1)[1] Command: PASV
2023-01-09 17:00:52.528 INFO Ftp(1)[1] Response: 227 Entering Passive Mode (10,0,0,196,236,89)
2023-01-09 17:00:52.528 INFO Ftp(1)[1] Command: REST 0
2023-01-09 17:00:52.529 INFO Ftp(1)[1] Response: 350 Restarting at 0
2023-01-09 17:00:52.529 DEBUG Ftp(1)[1] Info: Establishing data connection to 10.0.0.196:60505.
2023-01-09 17:00:52.530 DEBUG Ftp(1)[1] Proxy: Connecting to 10.0.0.196:60505 (no proxy).
2023-01-09 17:00:52.531 DEBUG Ftp(1)[1] Proxy: Connection established.
2023-01-09 17:00:52.535 DEBUG Ftp(1)[1] Info: Established data connection from 10.0.0.196:64571.
2023-01-09 17:00:52.535 INFO Ftp(1)[1] Command: MLSD
2023-01-09 17:00:52.536 INFO Ftp(1)[1] Response: 150 Starting data transfer.
2023-01-09 17:00:52.537 DEBUG Ftp(1)[1] Info: Data transfer started.
2023-01-09 17:00:52.537 INFO Ftp(1)[1] Response: 226 Operation successful
Q#D?G?+c?*9?Py?~??mEq?E+???e‼??(+W?F▼?G??t??_?X?♥????]&_?8????▲?♦uP?&u???¶♣Ow?S?h▲??E♂c??}I??↑j?L???♥?Y?ZM??1↑??w0h?♠8?‼?Y??G?w(?DCp??◄g?o???m?# ??r????i?⌂P So please do open a FileZilla ticket for this – it looks like something very wrong is going on at the server indeed! My guess is that it has something to do with “ABOR” command – apparently, although it does stop the current transfer (before all data has been transmitted), part of the remaining data remains in some buffer and is later sent via data connection belonging to a subsequent command. |
|||
#12845 | rejected | Mime type mapping for HTML file for SFTP upload to an Azure Storage Account doesn't upload the file as text/html | ||
Description |
I've purchased FileZilla Pro 3.62.0 which claims to have mime type mapping https://filezillapro.com/docs/v3/advanced/mime-type-mapping/ The target is an SFTP location hosted by an Azure Storage Account = StorageV2 (general purpose v2) with SFTP functionality enabled I can see that mime type for HTML file is already configured in screenshot attached, however after uploading an HTML file to destination, its file type is being set to "application/octet-stream" As per the mime-type mapping it should have been set to "text/html" |
|||
#12843 | outdated | Server unexpectedly closed network connection | ||
Description |
Olá, não estou conseguindo realizar uma conexão sftp mais. Recebo os seguintes logs de erro: 12:06:20 Traçar: Connecting to 192.0.96.181 port 22 12:06:20 Traçar: We claim version: SSH-2.0-FileZilla_3.28.0 12:06:20 Traçar: Server version: SSH-2.0-Atomic ssh-users-gw-107-R26-20 12:06:20 Traçar: Using SSH protocol version 2 12:06:20 Traçar: Doing ECDH key exchange with curve Curve25519 and hash SHA-256 12:06:20 Traçar: Server also has ecdsa-sha2-nistp256/ssh-rsa host keys, but we don't know any of them 12:06:20 Traçar: Host key fingerprint is: 12:06:20 Traçar: ssh-ed25519 256 ba:58:fd:e9:e0:70:88:2b:4b:6a:68:b1:22:c3:77:f1 9F8knmxHsFLLSu12HuHGojvBoRdEEF8Ceo6eHhFyQ50= 12:06:20 Traçar: Initialised AES-256 SDCTR client->server encryption 12:06:20 Traçar: Initialised HMAC-SHA-256 client->server MAC algorithm 12:06:20 Traçar: Initialised AES-256 SDCTR server->client encryption 12:06:20 Traçar: Initialised HMAC-SHA-256 server->client MAC algorithm 12:06:21 Traçar: Pageant is running. Requesting keys. 12:06:21 Traçar: Pageant has 0 SSH-2 keys 12:06:21 Traçar: Server unexpectedly closed network connection 12:06:21 Erro: Server unexpectedly closed network connection 12:06:21 Traçar: CSftpControlSocket::OnTerminate without error 12:06:21 Traçar: CControlSocket::DoClose(66) 12:06:21 Traçar: CControlSocket::ResetOperation(66) 12:06:21 Traçar: CSftpConnectOpData::Reset(66) in state 3 12:06:21 Erro: Não foi possível conectar ao servidor 12:06:21 Traçar: CFileZillaEnginePrivate::ResetOperation(66) |