02-11-2013
FTP Queries
Hi,
1) How to get exact permissions, group names for files while transferring with FTP
2) Is there any command to transfer entire directory and sub directories.
Thanks
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Guys need some advice on how to check some of the questions below?
i'm running on an open VMS platform... which i am an idiot to...
appreciate if anyone can give some hints or source on how to check on..
a script that is running on cron job... but doesn't run as the login user name..
1. why... (6 Replies)
Discussion started by: 12yearold
6 Replies
2. UNIX for Advanced & Expert Users
Query 1 : How to check if a directory already exists? If doesn't exist then
create a new one.
Query 2 : I want to put following text using a single echo statement into a
log file and also want to retain the formatting of the text. How it
can be... (3 Replies)
Discussion started by: skyineyes
3 Replies
3. Shell Programming and Scripting
hi guys
Well, i need to have a report generation script or any script which will show me all the content/information of a file when i run that script.
Please help me on this isssue at the earliest.As i am little bit aware of scripting.Thanks in advance!
regards
ash (4 Replies)
Discussion started by: whizkidash
4 Replies
4. Homework & Coursework Questions
Any help on like where to get started on this? I'm just confused.
1. The problem statement, all variables and given/known data:
Enter text here.Queries to satisfy these two report requests (use your CCI database):
Retrieve all rows of active inventory where current on hands is less than... (0 Replies)
Discussion started by: lakers34kb
0 Replies
5. Solaris
Dear All,
Please clarify my queries
My 1st doubt is as you know solaris have default 8 slices out of 8 slices in which slice the OS is stored. Like in windows if you select C drive the Program files are stored in C drive like that in solaris in which slice the OS is stored.
My 2nd doubt is... (2 Replies)
Discussion started by: suneelieg
2 Replies
6. Programming
can these 3 be combined into 1 query?
createtablea1as
selecta.tps_Res_nb,
b.tkt_prod_cd,
b.tkt_prod_typ_nm,
b.prod_intrnl_ds,
b.tkt_prod_typ_nm AS TKT_ENTL_NM,
casewhen b.tkt_prod_nm isnotnullthen b.tkt_prod_nm
when b.tkt_prod_nm isnulland b.prod_intrnl_ds isnotnullthen... (1 Reply)
Discussion started by: dwr80
1 Replies
7. AIX
We have 3PVs, now we want to migrate it to new 2PVs.
OLD PVS
hdisk1 ---- /u01
hdisk2 ------ /u01
hdisk 3 ----- /u02, /u01
new PVs
hdisk4 ---- Free
hdisk5 ---- Free
I check man, it doesn't say anything about offline/online thing, do i need downtime to migrate pv ? also, what i... (6 Replies)
Discussion started by: Fracker
6 Replies
8. IP Networking
Hey everyone,
I have a question, I've been playing around with tcpdump, and noticed my machine making numerous rdns look ups. They are displayed like:
10.80.80.141.51234 > 10.80.80.1.domain: 9950+ PTR? 223.114.55.65.in-addr.arpa. (44)
My question is, if dns works based on numerical... (0 Replies)
Discussion started by: Lost in Cyberia
0 Replies
9. Shell Programming and Scripting
I have Existing FOR loop in script like below. But the zip should happen for only those years in another file generated dynamically.
Existing FOR LOOP -
for i in XYZ_*ABC${YEAR_2014}.csv; do
printf "%s\n" "$i"
done | zip -@ XYZ_2014.zip >> $XYZ_2014.log 2>&1 ||... (2 Replies)
Discussion started by: weknowd
2 Replies
LEARN ABOUT MOJAVE
curlopt_quote
CURLOPT_QUOTE(3) curl_easy_setopt options CURLOPT_QUOTE(3)
NAME
CURLOPT_QUOTE - (S)FTP commands to run before transfer
SYNOPSIS
#include <curl/curl.h>
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_QUOTE, struct curl_slist *cmds);
DESCRIPTION
Pass a pointer to a linked list of FTP or SFTP commands to pass to the server prior to your request. This will be done before any other
commands are issued (even before the CWD command for FTP). The linked list should be a fully valid list of 'struct curl_slist' structs
properly filled in with text strings. Use curl_slist_append(3) to append strings (commands) to the list, and clear the entire list after-
wards with curl_slist_free_all(3). Disable this operation again by setting a NULL to this option. When speaking to a FTP server, prefix the
command with an asterisk (*) to make libcurl continue even if the command fails as by default libcurl will stop at first failure.
The set of valid FTP commands depends on the server (see RFC959 for a list of mandatory commands).
The valid SFTP commands are:
chgrp group file
The chgrp command sets the group ID of the file named by the file operand to the group ID specified by the group operand. The
group operand is a decimal integer group ID.
chmod mode file
The chmod command modifies the file mode bits of the specified file. The mode operand is an octal integer mode number.
chown user file
The chown command sets the owner of the file named by the file operand to the user ID specified by the user operand. The user
operand is a decimal integer user ID.
ln source_file target_file
The ln and symlink commands create a symbolic link at the target_file location pointing to the source_file location.
mkdir directory_name
The mkdir command creates the directory named by the directory_name operand.
pwd The pwd command returns the absolute pathname of the current working directory.
rename source target
The rename command renames the file or directory named by the source operand to the destination path named by the target op-
erand.
rm file
The rm command removes the file specified by the file operand.
rmdir directory
The rmdir command removes the directory entry specified by the directory operand, provided it is empty.
statvfs file
The statvfs command returns statistics on the file system in which specified file resides. (Added in 7.49.0)
symlink source_file target_file
See ln.
DEFAULT
NULL
PROTOCOLS
SFTP and FTP
EXAMPLE
TODO
AVAILABILITY
SFTP support added in 7.16.3. *-prefix for SFTP added in 7.24.0
RETURN VALUE
Returns CURLE_OK
SEE ALSO
CURLOPT_POSTQUOTE(3), CURLOPT_PREQUOTE(3),
libcurl 7.54.0 February 25, 2016 CURLOPT_QUOTE(3)