PB.Ex FTP (Windows)
Re: PB.Ex FTP (Windows)
Hi RSBasic!
change, please, the link to PB.Ex_FTP.zip on your first message (on the first page) from http to https. Otherwise browsers are not happy of http, write different nonsense and don't allow downloading.
change, please, the link to PB.Ex_FTP.zip on your first message (on the first page) from http to https. Otherwise browsers are not happy of http, write different nonsense and don't allow downloading.
- RSBasic
- Moderator
- Posts: 1228
- Joined: Thu Dec 31, 2009 11:05 pm
- Location: Gernsbach (Germany)
- Contact:
Re: PB.Ex FTP (Windows)
Thank you for the hint. I changed my download link.
Over the weekend I will also change the links of my other downloads.
Over the weekend I will also change the links of my other downloads.
Re: PB.Ex FTP (Windows)
You're welcome!
I tried to use your ftp-library. I think it has a problem with working with some ftp-servers like FileZilla.
I checked the working of several famous FTP clients ( such as FileZilla, Total Commander, and WinSCP) with my FileZilla server, and they all worked perfectly. But I couldn't get access to the FTP server using your library. I investigated a log from my FileZilla server. The mistake upon using your library was "GnuTLS error -8: A packet with illegal or unsupported version was received." According to online, it means the FTP client tries to use a lower version than TSL v1.2
All the FTP clients I used above warned me that the FileZilla server used a self-signed certificate but they continued working. I don't know how it affects the server response, but I just report it. If you are interested in investigating the problem, I can give you access to my FTP server.
I tried to use your ftp-library. I think it has a problem with working with some ftp-servers like FileZilla.
I checked the working of several famous FTP clients ( such as FileZilla, Total Commander, and WinSCP) with my FileZilla server, and they all worked perfectly. But I couldn't get access to the FTP server using your library. I investigated a log from my FileZilla server. The mistake upon using your library was "GnuTLS error -8: A packet with illegal or unsupported version was received." According to online, it means the FTP client tries to use a lower version than TSL v1.2
All the FTP clients I used above warned me that the FileZilla server used a self-signed certificate but they continued working. I don't know how it affects the server response, but I just report it. If you are interested in investigating the problem, I can give you access to my FTP server.
- RSBasic
- Moderator
- Posts: 1228
- Joined: Thu Dec 31, 2009 11:05 pm
- Location: Gernsbach (Germany)
- Contact:
Re: PB.Ex FTP (Windows)
That would be helpful if you could set up test access for me.GogaII wrote: Sat Sep 09, 2023 8:02 am You're welcome!
I tried to use your ftp-library. I think it has a problem with working with some ftp-servers like FileZilla.
I checked the working of several famous FTP clients ( such as FileZilla, Total Commander, and WinSCP) with my FileZilla server, and they all worked perfectly. But I couldn't get access to the FTP server using your library. I investigated a log from my FileZilla server. The mistake upon using your library was "GnuTLS error -8: A packet with illegal or unsupported version was received." According to online, it means the FTP client tries to use a lower version than TSL v1.2
All the FTP clients I used above warned me that the FileZilla server used a self-signed certificate but they continued working. I don't know how it affects the server response, but I just report it. If you are interested in investigating the problem, I can give you access to my FTP server.
Re: PB.Ex FTP (Windows)
I've sent a private message to you.RSBasic wrote: Sat Sep 09, 2023 1:19 pm That would be helpful if you could set up test access for me.
- RSBasic
- Moderator
- Posts: 1228
- Joined: Thu Dec 31, 2009 11:05 pm
- Location: Gernsbach (Germany)
- Contact:
Re: PB.Ex FTP (Windows)
Thank you, I'll test it today.
- RSBasic
- Moderator
- Posts: 1228
- Joined: Thu Dec 31, 2009 11:05 pm
- Location: Gernsbach (Germany)
- Contact:
Re: PB.Ex FTP (Windows)
PB.Ex FTP 1.0.7.0 has been released.
Changelog:
Changelog:
- Updated: .NET Framework 4.7.2 > .NET Framework 4.8 (required for TLS 1.3)
- Added: TLS 1.3 support
Thank you for the test access. With this version it works.GogaII wrote: Sat Sep 09, 2023 8:02 am You're welcome!
I tried to use your ftp-library. I think it has a problem with working with some ftp-servers like FileZilla.
I checked the working of several famous FTP clients ( such as FileZilla, Total Commander, and WinSCP) with my FileZilla server, and they all worked perfectly. But I couldn't get access to the FTP server using your library. I investigated a log from my FileZilla server. The mistake upon using your library was "GnuTLS error -8: A packet with illegal or unsupported version was received." According to online, it means the FTP client tries to use a lower version than TSL v1.2
All the FTP clients I used above warned me that the FileZilla server used a self-signed certificate but they continued working. I don't know how it affects the server response, but I just report it. If you are interested in investigating the problem, I can give you access to my FTP server.
Re: PB.Ex FTP (Windows)
Great! Thank you too!
Re: PB.Ex FTP (Windows)
Hi RSBasic,
I think the function FTPProgressEx() doesn't work correctly.
To check it I even used your examples from the archive and I've always received 0.
Except my coding I also used this code from the archive:
Could you have a look at it when you have free time?
P.S. The link to download the archive from the first page still doesn't work correctly. Browsers can't finish this operation.
I think the function FTPProgressEx() doesn't work correctly.
To check it I even used your examples from the archive and I've always received 0.
Except my coding I also used this code from the archive:
Code: Select all
....
Define ErrorOutput$ = Space(128)
Define FileName$ = Space(#MAX_PATH)
Debug "SFTP..."
If OpenFTPEx(1, #PBEx_FTP_Protocol_SFTP, "test.rebex.net", 22, "demo", "password", #PB_UTF8, @ErrorOutput$)
;If OpenFTPEx(1, #PBEx_FTP_Protocol_SFTP, "demo.wftpserver.com", 2222, "demo-user", "demo-user", #PB_UTF8, @ErrorOutput$)
SetFTPDirectoryEx(1, "pub", @ErrorOutput$)
SetFTPDirectoryEx(1, "example", @ErrorOutput$)
;SetFTPDirectoryEx(1, "download", @ErrorOutput$)
;SetFTPDirectoryEx(1, "upload", @ErrorOutput$)
If ExamineFTPDirectoryEx(1, @ErrorOutput$)
While NextFTPDirectoryEntryEx(1, @ErrorOutput$)
FTPDirectoryEntryNameEx(1, @FileName$, @ErrorOutput$)
Debug FileName$
Wend
EndIf
Define a
Define PercentValue = 0
Define TransferRate = 0
Define EstimatedTime = 0
ReceiveFTPFileEx(1, "wftpserver-linux-64bit.tar.gz", "D:\aa.gz", 1, @ErrorOutput$)
For a=1 To 100
FTPProgressEx(1, @PercentValue, @TransferRate, @EstimatedTime, @ErrorOutput$)
Debug PercentValue ; <<<<<<<<<< always = 0
Debug TransferRate ; <<<<<<<<<< always = 0
Debug EstimatedTime ; <<<<<<<<<< always = 0
Debug "--------"
Delay(100)
Next
Delay(10000)
CloseFTPEx(1, @ErrorOutput$)
Else
Debug ErrorOutput$
EndIf
P.S. The link to download the archive from the first page still doesn't work correctly. Browsers can't finish this operation.
- RSBasic
- Moderator
- Posts: 1228
- Joined: Thu Dec 31, 2009 11:05 pm
- Location: Gernsbach (Germany)
- Contact:
Re: PB.Ex FTP (Windows)
Please use the previous version.RSBasic wrote: Sun Sep 10, 2023 9:23 pm Important note: Due to the new version of the .NET library, asynchronous downloading and uploading no longer works. I'll have to fix it later.
Re: PB.Ex FTP (Windows)
Sorry. I've missed this warning (
Ok, I'll look forward to a fix.
Ok, I'll look forward to a fix.
Re: PB.Ex FTP (Windows)
- It's impossible to use version Dll library v. 1.0.6.0 because it doesn't work with FTP servers with TSL 1.2 or higher
In addition I'd like to add some points which I found.
- there is confusion with the value @ErrorOutput and @ErrorOutput$ in the description on the first page. If you ignore it, you will receive a hard-to-diagnose error in the code with many lines (of course, if you don't use EnableExplicit)
-OpenFTPEx() "misses" "0.0.0.0" as a ftp address.
If you need FTP server for test I"ll provide it to you as long as you need.
- RSBasic
- Moderator
- Posts: 1228
- Joined: Thu Dec 31, 2009 11:05 pm
- Location: Gernsbach (Germany)
- Contact:
Re: PB.Ex FTP (Windows)
Since SFTP is supported in the current PB beta version, this library is no longer needed and development is discontinued.
Re: PB.Ex FTP (Windows)
Although I have not used PB.Ex FTP, thank you for your great support!
Greetings ... Kiffi
Greetings ... Kiffi
Hygge