02-19-2004
after you upload the file have perl change the perms on the file.
dont rely on the umask.
but it sounds like some other process is messing around with the files.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am trying to upload .zip files to Unix server and get the error 553 qmerev2002.zip: Permission denied, what is my problem?? I am able to load other files and folders fine. (3 Replies)
Discussion started by: CoastGuard1970
3 Replies
2. UNIX for Advanced & Expert Users
Thanks for your help. (3 Replies)
Discussion started by: circuit.muni
3 Replies
3. 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
4. UNIX for Dummies Questions & Answers
Ok. I am using the Terminal window to ssh into a unix server. I am not sure how to copy a file from my mac onto the unix server. What command do I enter and how do I type the file I want to upload
Example. Say my file is named Test1.doc and it is on the usr/me/test/working/ directory and I want... (3 Replies)
Discussion started by: libertyforall
3 Replies
5. 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
6. Shell Programming and Scripting
Thourgh Perl scripting, Is it possible to upload excel sheet to sharepoint portal ?
If the answer is YES.. Could you please share your thoughts and required CPAN modules or any examples to proceed further?
Regards,
Giridhar S
---------- Post updated at 04:26 AM ---------- Previous update... (0 Replies)
Discussion started by: giridhar276
0 Replies
7. Shell Programming and Scripting
Hi
The below script used to work fine. Suddenly it's uploading empty file. I am very new to perl. Please help me to find out the problem.
#!/usr/bin/perl
#script: upload.pl
use CGI qw/:standard/;
print header,
start_html('File upload');
print_form();
print_results() if... (2 Replies)
Discussion started by: Anupam_Halder
2 Replies
8. UNIX and Linux Applications
I am working on to uploading Video files on Mediawiki and embed to page but not getting success. I tried plugin like MediaPlayer and HTML5Player but these plugins seems having extension limitation as i need to embed files like .wmv, .mpg etc.
I am using mediawiki1.17 and CentOS5.8 x64 bit
... (1 Reply)
Discussion started by: sunnysthakur
1 Replies
9. UNIX for Dummies Questions & Answers
OK i am completely new to this stuff!! let me start from the beginning!!!
I Am connected to Whatbox.ca Via SSH!!
Then I installed plowshare using their guide perfectly
Now They Told Me To refer Plowshare site's Command list for uploading any files to Various... (4 Replies)
Discussion started by: anime12345
4 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
ecaccess-file-mput
ECACCESS-FILE-MPUT(1p) User Contributed Perl Documentation ECACCESS-FILE-MPUT(1p)
NAME
ecaccess-file-mput - Upload Multiple Local Files on the ECaccess File System at once
SYNOPSIS
ecaccess-file-mput -version|-help|-manual
ecaccess-file-mput [-debug] [-progress] [-force] [-umask mode] [-bufsize length] source-local-file [...] target-ecaccess-directory
DESCRIPTION
Allow uploading Multiple Local Files on target-ecaccess-directory at once.
The target-ecaccess-directory is in the form [domain:][/user-id/]path. Please read the "Shell commands -> File Management" section of the
"ecaccess" guide for more information on the ECaccess File System.
Please note this command is not recursive and will only upload plain-files (directories specified as source-ecaccess-file are ignored).
ARGUMENTS
source-local-file [...]
The name(s) of the source File(s).
target-ecaccess-directory
The name of the target ECaccess Directory.
OPTIONS
-progress
Provide a progress meter on the standard terminal, allowing to monitor the file transmission in real-time. The progress bar is
removed from the terminal when the transmission is done. This option is not supported and ignored on Windows platforms.
-force Overrides the interactive mode and upload each file without prompting.
-umask mode
The user file-creation mode mask (umask) is used to determine the file permission for newly created files. The default value is
640.
-bufsize length
Specify the length of the buffer (in bytes) which is used to upload the files. The larger the buffer the smaller the number of
http/s requests. By default a buffer of 10485760 bytes(10MB) is used.
-version
Display version number and exits.
-help Print a brief help message and exits.
-manual Prints the manual page and exits.
-debug Display the SOAP messages exchanged.
EXAMPLES
ecaccess-file-mput $HOME/*.txt home:/xyz/
Upload the local $HOME/*.txt Files in the ECaccess $HOME directory of the user xyz.
SEE ALSO
ecaccess-file-delete, ecaccess-file-get, ecaccess-file-mget, ecaccess-file-modtime, ecaccess-file-chmod, ecaccess-file-rmdir, ecaccess-
file-copy, ecaccess-file-dir, ecaccess-file-mdelete, ecaccess-file-mkdir, ecaccess-file-move, ecaccess-file-put, ecaccess-file-size and
ecaccess.
perl v5.14.2 2012-04-16 ECACCESS-FILE-MPUT(1p)