Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ General Web Design _ Audio in html

Posted by: Zap Driver Dec 28 2021, 10:25 PM

Hi all , I'm new both in this forum and in the coding world

As always I'm not sure where to post this topic...

I'm using WinSCP to transfer files from the PC to the Host

But then an error occurred , see attached photo

IPB Image

Thank you.

Posted by: pandy Dec 29 2021, 10:50 AM

Have you tried several times?

I'm not familiar with WinSCP. I'm just guessing here, but did you try what's suggested in the error message, to turn the transfer resume option off?

Posted by: Zap Driver Dec 29 2021, 02:21 PM

I have tried several times, and several things...

I have deleted, re-named and re-converted even without metadata
(I took a video from YT, you know for "Testing Purposes"!)
but to no avail.

I have looked for the "Transfer resume support" button in
"Options" + "Preferences" but found none.

the original sound file was an mp4,
and this did not receive any error message

I know that the html itself has nothing to do with the file transfer,
but I'll show you the HTML anyway

---------------------------------------------------------------------------------------

(A sound box appears on the Homepage, but is't greyed out)

<!DOCTYPE html>
<html lang="en" dir="ltr">
...<head>
........<meta charset="utf-8">
........<title>Sound</title>
...</head>
.......<body>
..........<audio style="width: 100%;" controls autoplay>
..........<source src="Music/Audio_Test_File.mp3" type="audio/*mpeg" </audio>
.......</body>
</html>

-----------------------------------------------------------------------------------------

This part of the script I got from the Internet
<audio style="width: 100%;" controls autoplay>
<source src="Music/Audio_Test_File.mp3" type="audio/*mpeg" </audio>

---------------------------------------------------------------

This part of the script was Auto created by Atom HTML Editor which I use:

<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Sound</title>
</head>
<body>
</body>
</html>

----------------------------------------------------------------------------

WinSCP (Windows Secure Copy) is a free and open-source SSH File Transfer Protocol (SFTP), File Transfer Protocol (FTP), WebDAV, Amazon S3, and secure copy protocol (SCP) client for Microsoft Windows. Its main function is secure file transfer between a local computer and a remote server. Beyond this, WinSCP offers basic file manager and file synchronization functionality. For secure transfers, it uses the Secure Shell protocol (SSH) and supports the SCP protocol in addition to SFTP.

--------------------------------------------------------------------------

Thank you.

Posted by: Brian Chandler Dec 30 2021, 12:25 AM

The message in the box is presumably the return from SFTP on the host; so "Permission denied" should mean that there is some file permissions problem on the server. Who is hosting the server? They should give you some sort of access, through a "control panel" or similar, and you need to use that to look at the Music directory in your web files, and see why it would not be possible to rename as Audio_Test_File.mp3. Perhaps the file exists already, with no write permission...? How big is the audio file?

Posted by: Zap Driver Dec 30 2021, 12:49 AM

I think this explains it:

Upload file size limit 15 MiB
Forbidden files .htacl, .htaclu, .avi, .mov, .mp2, .mp3, .mpeg, .ram, .asf, .quota, .vbs, .shs, .scr, .exe, .cmd, .torrent, .wmv, .wma, .rm, .zip, .rar, .gz, .tgz
File backup No
Hotlinking protection Yes
FTP simultaneous transfers 2

I use Awardspace for now.

mp4 is Ok though

Posted by: Brian Chandler Dec 30 2021, 08:13 AM

QUOTE(Zap Driver @ Dec 30 2021, 02:49 PM) *

I think this explains it...

Forbidden files .htacl, .htaclu, .avi, .mov, .mp2, .mp3, .mpeg, .ram, .asf, .quota, .vbs, .shs, .scr, .exe, .cmd, .torrent, .wmv, .wma, .rm, .zip, .rar, .gz, .tgz

...[??] mp4 is Ok though


Well, on the face of it you are trying to upload something.mp3, and your free hosting service says you can't host a file called anything.mp3, so it returns a forbidden error. What could be clearer?

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)