Opened 10 years ago
Closed 10 years ago
#35088 closed defect (bug) (fixed)
Custom FTP port doesn't work with FTP Sockets
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 4.5 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | Filesystem API | Keywords: | |
| Focuses: | Cc: |
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.
Change History (1)
Note: See
TracTickets for help on using
tickets.
In 35942: