Author Topic: PASV error on save  (Read 206 times)

jorick

  • Senior Community Member
  • Posts: 400
  • Hero Points: 17
PASV error on save
« on: November 27, 2024, 06:46:04 PM »
I'm developing a web page in PHP, and almost every time I save the file, I get the following error dialog box pop up:

Could not determine address/port from PASV

After clicking OK, I save the file again and it works.  What causes this, and is there a way to get around it?

The only time I don't get the error is if I save it again within about a minute of the previous save.

Method of saving:
1) Click Save icon on toolbar
2) Answer Save Now? dialog
3) Get the error popup, click OK
4) Click Save icon on toolbar again

SlickEdit Pro 2023 (v28.0.0.6 64-bit Qt5)

Serial number: [redacted]
Licensed number of users: Single user
License file: C:\ProgramData\slickedit\28\slickedit.lic

Build Date: November 24, 2023
Emulation: CodeWright

OS: Windows 10 x64
OS Version: 10.00.0 
Memory: 85% Load, 6943MB/8076MB Physical, 23077MB/32652MB Page File, 5765MB/134217727MB Virtual
Shell Information: C:\WINDOWS\system32\cmd.exe /q
Screen Size: 1920 x 1080 (0 0 1920 1080)

Project Type: Single file project - Other
Language: .php (HTML)
Encoding: UTF-8, no signature

Installation Directory: C:\Program Files\SlickEdit Pro 28.0.0\ (non-removable drive,NTFS,1674475MB free)
Configuration Directory: C:\Users\ricky\AppData\Local\SlickEdit\28.0.0\ (non-removable drive,NTFS,1674475MB free)
Migrated from: C:\Users\ricky\OneDrive\Documents\My SlickEdit Config\24.0.0\
Spill File: C:\Users\ricky\AppData\Local\Temp\slkspill.ricky.15648 (non-removable drive,NTFS,1674475MB free)

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6975
  • Hero Points: 532
Re: PASV error on save
« Reply #1 on: November 27, 2024, 10:16:23 PM »
That's an FTP error. Displayed by macros/ftpq.e line 3950. It looks like it's receiving an unrecognized response. It's trying to parse an address but the address format isn't recognized or is just garbage. There probably isn't a simple work around for this because it can't continue without the address information.

I can't tell more than that without being able to debug the actual ftp site.

jorick

  • Senior Community Member
  • Posts: 400
  • Hero Points: 17
Re: PASV error on save
« Reply #2 on: November 30, 2024, 04:10:03 PM »
Good grief, I'm a ditz!  :-[  After reading your explanation, I figured that the website was logging me out after a minute or two.  The first save logs back in but maybe SE is getting confused about receiving a login response and generates the error.  The second save actually saves the file.

I turned on keep-alive and now it's working perfectly.  I just have to remember to log out at the end of the session.