This question is answered. Helpful answers available: 1. Correct answers available: 1.


Permlink Replies: 3 - Pages: 1 - Last Post: 27 Dec 25, 21:06 Last Post By: JeffTucker Threads: [ Previous | Next ]
009tony

Posts: 3
Registered: 11-Dec-2015
"An error occured" when uploading albums to my website
Posted: 27 Dec 25, 18:04
 
  Click to reply to this thread Reply
Hello, I have had several separate "jAlbums" on my website for many years. After the latest update to jAlbum 38.2.1, in two of the albums, I changed the folder thumbnail images to a different image (an image that was already within and uploaded to the album) and remade the albums. When I try to upload the amended albums, they start uploading but then stop, showing "An error occurred". Both error messages (attached) state that the albums are stopping when uploading different file types but both error messages contain...

"0.012 seconds (measured here), 2.62 Mbytes per second]
at net.jalbum.remotefs.ftp4j.Ftp4jAdapter.putFile(Ftp4jAdapter.java:403)
at net.jalbum.remotefs.RemoteFSBean.putFile(RemoteFSBean.java:394)
... 11 more
Caused by: it.sauronsoftware.ftp4j.FTPException [code=451, message= Error during read from data connection"

Now the two albums do not look right online. Albums I have not remade since the latest jAlbum update upload to the same website/account/server without a problem. I'd be grateful for any advice on what/where I might start checking.
I'm using Windows 11 Version 23H2
Tony

Edited by: 009tony on 27 Dec 2025, 18:06

Edited by: 009tony on 27 Dec 2025, 18:07
JeffTucker

Posts: 8,014
Registered: 31-Jan-2006
Re: "An error occured" when uploading albums to my website
Posted: 27 Dec 25, 18:27   in response to: 009tony in response to: 009tony
Helpful
  Click to reply to this thread Reply
Take a look at Tools > Upload/Manage, and for your uploading profile, you'll see a half-dozen upload methods. I believe you're using FTP (ftp4j). Try the other "plain FTP" choices: FTP (edtFTPj) or FTP (Apache Commons). One of those might work better.

But ultimately, the real solution is to use SFTP (SSH File Transfer Protocol), which is much more secure and more robust. You'll have to check with your web host to make sure they support SFTP, and on which port number (there's no standard).
009tony

Posts: 3
Registered: 11-Dec-2015
Re: "An error occured" when uploading albums to my website
Posted: 27 Dec 25, 20:23   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Thank you very much, Jeff,
Switching from 'FTPS (FTP over explicit TLS/SSL)' to SFTP (SSH File Transfer Protocol), as you suggested, has resolved the upload issues I was experiencing, and my Albums look normal once again.
Tony
JeffTucker

Posts: 8,014
Registered: 31-Jan-2006
Re: "An error occured" when uploading albums to my website
Posted: 27 Dec 25, 21:06   in response to: 009tony in response to: 009tony
 
  Click to reply to this thread Reply
Excellent. SFTP has never let us down - all the weird errors vanish instantly. :)
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums