joeyb1275 Posted April 22, 2007 Share Posted April 22, 2007 (edited) This topic is a combination of two other threads that I've been invloved in, ID3 UDF Version 1 and Version 2 Tags and FTP.au3.The ID3FTP.au3 is the latest version of my ID3.au3 with extra functions to supprt reading files on an ftp. Only the ID3v2 can be read from a file on the ftp and the ftp Filename must be in the format of a link... ftp://user:pass@server/filename.mp3ID3FTP.au3 still has the ability to read local files as well.Here is example code,#include-once #include <ID3FTP.au3> #include <Array.au3> $Filename = FileOpenDialog ( "Select Mp3 File", "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}", "Muisc (*.mp3)") ;~ $sFilter = "TIT2|TALB|TPE1|TYER|APIC" ;~ $ID3v2Tag = _ID3TagToArray($Filename,2,$sFilter) $ID3v2Tag = _ID3TagToArray($Filename,2) _ArrayDisplay($ID3v2Tag,"$ID3v2Tag") $ID3v1Tag = _ID3TagToArray($Filename,1) _ArrayDisplay($ID3v1Tag,"$ID3v1Tag") $FTPLinkname = "ftp://user:pass@server/folder/file.mp3" $ID3v2Tag = _ID3TagToArray($FTPLinkname,3) _ArrayDisplay($ID3v2Tag,"$ID3v2Tag") _ID3DeleteFiles()Just change $FTPLinkname to the ftp link that you wantUpdated ID3FTP.au3 20070424FTP.au3ID3FTP.au3 Edited April 25, 2007 by joeyb1275 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now