Poster:
|
leecherzs |
Date:
|
Jul 16, 2004 4:39am |
Forum:
|
opensource_movies
|
Subject:
|
Re: Help |
OKay its is two stages upload and then import using website.
FTP or upload stage.
sign up to archive for your login/pass
(You should have already done this)
get a FTP client program
graphical or command line your choice
commandline
-use client to connect to
movies-uploads.archive.org
-login with your username and password from website
-set binary mode (IMPORTANT do not skip or file will be trash on remote server)
bin
-make a directory
mkdir myfile
-change directories
cd myfile
- change local directory to where file is contained)
lcd /mystoragedir
-put file
put myfile.mp4
-exit
quit
Note:
if you want to run a local command prefix it with ! example !dir
I wrote a small shell script to do this as a batch process for many files in linux.
posting in case anyone might possibly find useful.
if I have several quicktime files in a directory usage would be
ls *.mov | xargs -l ftpup
of course script must be in your path.
Also you must replace username and password in script with the correct values for your situation.
contents of ftpup script
-------------------------------------
part=`echo $1 | cut -f1 -d"."`
ext=`echo $1 | cut -f2 -d"."`
cat >> ftp_commands << EOF
bin
mkdir $part
cd $part
put $part.$ext
quit
EOF
ncftp -u username -p passwd movies-uploads.archive.org < ftp_commands >> out
rm ftp_commands
This post was modified by leecherzs on 2004-07-16 11:39:35