11-01-2008
Ok, so given that You have wput and a script looking something like this,
Then You should be well on Your way right?
/Lakris
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Using perl 5.8.0, Linux 2.4.20-30.9, RedHat 9.0.
We have many .cgi's that allow privileged users to upload files to the server through a web browser. We've had these .cgi's for years and have never had any problems with them. Recently the files being uploaded are sometimes being given 600... (16 Replies)
Discussion started by: sstevens
16 Replies
2. Shell Programming and Scripting
Hi all
has anyone got a code snippet of how i can ftp a file automatically by running a simple bash script. I have 4 things
IP address xx.xxx.xx.xx
username=satnam
domain = app.sample.ftp
password= satnam_password
Im not sure how to pull these all together to ftp a file?
any ideas? (1 Reply)
Discussion started by: satnamx
1 Replies
3. UNIX for Advanced & Expert Users
Thanks for your help. (3 Replies)
Discussion started by: circuit.muni
3 Replies
4. UNIX for Dummies Questions & Answers
Hello,
Is there a way to upload a directory via ftp in the command line in a single line? I'd be looking for something like this:
ftp -username me -password 12345 /Users/me/mywebsitefolder /publichtml/
But I can't figure out the proper syntax.
Thank you for any help.
-Grey (1 Reply)
Discussion started by: wellington_grey
1 Replies
5. Shell Programming and Scripting
Hi Folks,
I am not good in shell scripting. Please help me with my problem. Is it possible to block the file named "ss.cgi" using the port 25 to upload. (4 Replies)
Discussion started by: gsiva
4 Replies
6. Shell Programming and Scripting
I have ftp url, username and passwd.
My file is named app.log.
How do I upload this to my ftp server???
I read the manual but I didn't understand much...:cool: (4 Replies)
Discussion started by: hakermania
4 Replies
7. UNIX for Advanced & Expert Users
Hi
Please help me writing a shell script for multiupload.
result should look like:
$ ./multiupload.sh /tmp/file.avi
http://www.multiupload.com/P1R9BZ4X3Q
http://i.imgur.com/a2vhH.png
There seems to be no official API. (3 Replies)
Discussion started by: slashdotweenie
3 Replies
8. Shell Programming and Scripting
I have a list of IP address and want to be assess whether FTP is allowing
FTP access. I don't want to use lousy NT shell, but cannot get the syntax down on this. ftphosts.txt is a simple list of IP adresses.
I want to iterate through the IPS and do a simple
ftp IPadress
user ftp password... (15 Replies)
Discussion started by: gdotoli
15 Replies
9. Shell Programming and Scripting
hi!
Iam using my D-link DNS-320 (NAS) with fun_plug installed (a unix client)
I am currently using cron to run a shellscript running a java-application that creates a couple of txt files.
These files needs to be uploaded to a specific folder on my webhosts ftp server-account.
I need a... (16 Replies)
Discussion started by: Nigge
16 Replies
10. Web Development
I used the following code, which I found on the internet to upload files.
<!-- The data encoding type, enctype, MUST be specified as below -->
<form enctype="multipart/form-data" action="upload2.php" method="POST">
<!-- MAX_FILE_SIZE must precede the file input field -->
<input... (2 Replies)
Discussion started by: jgt
2 Replies
LEARN ABOUT DEBIAN
algorithm::checkdigits::mxx_003
CheckDigits::MXX_003(3pm) User Contributed Perl Documentation CheckDigits::MXX_003(3pm)
NAME
CheckDigits::MXX_003 - compute check digits for DEM
SYNOPSIS
use Algorithm::CheckDigits;
$dem = CheckDigits('dem');
if ($dem->is_valid('GD0645027K1')) {
# do something
}
$cn = $dem->complete('GD0645027K');
# $cn = 'GD0645027K1'
$cd = $dem->checkdigit('GD0645027K1');
# $cd = '1'
$bn = $dem->basenumber('GD0645027K1');
# $bn = 'GD0645027K'
DESCRIPTION
ALGORITHM
The algorithm is a variation of the Verhoeff scheme.
0 All letters are changed to numbers.
1 All digits are permutated according to a permutation table.
2 The permutated digits are combined using a dieeder table. The first with the second, the result with the third, this result with the
fourth and so on.
3 The result of the last combination in the dieeder table is in such a way combined that the result is 0 (zero). The number used for this
combination is the checksum.
For details look at the source.
METHODS
is_valid($number)
Returns true only if $number consists solely of numbers and the last digit is a valid check digit according to the algorithm given
above.
Returns false otherwise,
complete($number)
The check digit for $number is computed and concatenated to the end of $number.
Returns the complete number with check digit or '' if $number does not consist solely of digits and spaces.
basenumber($number)
Returns the basenumber of $number if $number has a valid check digit.
Return '' otherwise.
checkdigit($number)
Returns the checkdigit of $number if $number has a valid check digit.
Return '' otherwise.
EXPORT
None by default.
AUTHOR
Mathias Weidner, <mathias@weidner.in-bad-schmiedeberg.de>
THANKS
SEE ALSO
perl, CheckDigits, www.pruefziffernberechnung.de,
perl v5.10.0 2008-05-17 CheckDigits::MXX_003(3pm)