Opened 11 years ago
Closed 11 years ago
#35088 closed defect (bug) (fixed)
Custom FTP port doesn't work with FTP Sockets
| Reported by: | dd32 | Owned by: | dd32 |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.5 |
| Component: | Filesystem API | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
It seems that PemFTP requires that a (long) be passed as the port, currently when a custom port is specified, we pass it as a string which is causing PemFTP to abort connecting.
See class-ftp.php
It works correctly when using the FTP Extension.
We need to cast the port to an int first.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 35942: