03-14-2009
restrict file download not upload
hi everybody,
How cud i stop downloading files from FTP and allow uploading files in FTP.
Thanks & reg,
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
how to restrict directories with one type of file creation.
thanks and regards. (4 Replies)
Discussion started by: nk_bastia
4 Replies
2. Shell Programming and Scripting
How can I get the upload and download speed of my pc, provided that my interface is wlan0?
I have though something like:
#!/bin/sh
ups=something
downs=somethingelse
echo "
Your current up speed is $ups
Your current down speed is $downs, but I have no idea how to get them?Are... (5 Replies)
Discussion started by: hakermania
5 Replies
3. Shell Programming and Scripting
I have two files, uploads.txt and downloads.txt. I would like to combine the columns of these files based on the ip address. How can I best do this?
Uploads.txt
192.168.0.147 1565369
192.168.0.13 1664855
192.168.0.6 1332868
Downloads.txt
192.168.0.147 9838820
192.168.0.18 12051718... (7 Replies)
Discussion started by: zanyspydude
7 Replies
4. IP Networking
I am using cgic lib to implement file upload, but the speed is very very slow... what is even worse, the file uploaded to my website is corrupted.
pakages captured by wireshark:
...
9606 56.258491 192.168.7.77 192.168.7.235 HTTP Continuation or non-HTTP traffic... (5 Replies)
Discussion started by: vistastar
5 Replies
5. Shell Programming and Scripting
hi
please help me out here,
i want to use curl command in shell script to test web pages,
what i have is an opening page, when i click on a button on opening page, the next page comes up and then i have to upload a file n then click another button to submit and then comes the output page,... (2 Replies)
Discussion started by: Olivia
2 Replies
6. Shell Programming and Scripting
hi;
I need a script to upload a file using HTTP(curl post) to another system.
Will appreciate ur help.
Thnks; (0 Replies)
Discussion started by: ajaypadvi
0 Replies
7. Ubuntu
Hi,
How to upload multiple file using jsp on eclipse,give me a simple example for that.
Thanks
SN (0 Replies)
Discussion started by: snallusami
0 Replies
8. Programming
When I upload image files they have the same extension twice. And my script doesn't show it even it the path is correct.
Some scripts copy the file from the tmp dir server to the required directory, while others just move it. What happens to the files that were just copied? Do they stay... (1 Reply)
Discussion started by: AimyThomas
1 Replies
9. Solaris
Dear all,
I have made a search on the forum, but couldn't find a related topic about this issue.
* I have created a user on Solaris 10 OS with below command and then set password for the user.
* Now i can FTP to OS with this user (hattesti). Although i can download files under related... (0 Replies)
Discussion started by: byrusber
0 Replies
10. UNIX for Dummies Questions & Answers
Hi,
is it possible to download/retrieve a public SSH key when you are logged in to the remote machine rather than sending the key, for example with ssh-copy-id from your local machine to the remote machine?
I can only ssh into one direction (from the remote machine into the local machine),... (5 Replies)
Discussion started by: gczychi
5 Replies
LEARN ABOUT DEBIAN
backup-manager-upload
BACKUP-MANAGER-UPLOAD(8) backup-manager-upload BACKUP-MANAGER-UPLOAD(8)
NAME
backup-manager-upload - Multiprotocol uploader for backup-manager.
SYNOPSIS
backup-manager-upload [options] date
DESCRIPTION
backup-manager-upload will upload all the archives generated on the given date to the specified host with either ftp or scp. It's also
possible to use this program for uploading data to an Amazon S3 account. Some metadates are available like "today" or "yesterday".
REQUIRED ARGS
--mode=transfer-mode
Select the transfer mode to use : ftp, scp, or s3.
--host=hostname1,hostname2,...,hostnameN
Select a list of remote hosts to connect to.
--user=username
Select the user to use for connection.
OPTIONAL ARGS
--password=password
Select the ftp user's password (only needed for ftp transfers).
--key=path_to_private_key
Select the ssh private key file to use when opening the ssh session for scp transfer. Obviously, this is only needed for scp transfer
mode. If you don't specify a key file, the user's default private key will be used.
--directory=directory
Select the location on the remote host where files will be uploaded. Default is /backup/uploads.
--bucket=bucket
Sets the bucket name for the Amazon S3 service backup into.
--root=directory
Select the local directory where files are. Default is /var/archives
--gpg-recipient=gpg-recipient
Select the gpg public key for encryptiong the archives when uploading with the method ssh-gpg. This can be a short or long key id or a
descriptive name. The precise syntax is described in the gpg man page.
--list
Just list the files to upload.
--ftp-purge
Purge the remote directory before uploading files in FTP mode.
--s3-purge
Purge the remote directory before uploading files in FTP mode.
--ssh-purge
Purge the remote directory before uploading files in SSH mode.
--verbose
Flag to enable verbose mode.
date
Date pattern to select some files to upload, can be a valid date (YYYYMMDD) or 'today' or 'yesterday'.
ERROR CODES
If something goes wrong during an upload, backup-manager-upload will exit with a non null value. In such a case every error messages are
sent to STDERR.
Here are the possible error codes:
bad command line (wrong arguments) : 10
FTP transfer failure : 20
SCP transfer failure : 21
S3 transfer failure : 22
Unknown upload method: 23
SEE ALSO
backup-manager(3)
AUTHORS
Alexis Sukrieh - main code and design
Brad Dixon - Amazon S3 upload method
Jan Metzger - ssh-gpg upload method
perl v5.14.2 2012-05-09 BACKUP-MANAGER-UPLOAD(8)