04-25-2006
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a basic query. I use telnet and ftp very frequently. I want to do it without spending time in typing username and password everytime. I know that if I have .netrc file which contains server address, username, pasword, then just typing ftp will conect to that server with that username and... (10 Replies)
Discussion started by: asutoshch
10 Replies
2. IP Networking
Dumb question I'm sure but how on earth do I transfer files from a sco unix machine to my windows 2000 machine. I'm typing commands on my Win2000 machine. All I can seem to do is move files around on the unix system? (8 Replies)
Discussion started by: Timbash
8 Replies
3. Cybersecurity
Hi All,
If I want to have two user accounts from the same grop in UNIX Solaries. However, I want one of them to be used only for FTP while the other for TELNET. Can anybody tell me how to do that?
Best Regards (13 Replies)
Discussion started by: omran
13 Replies
4. UNIX for Advanced & Expert Users
#!/bin/sh
HOST=HOST_IP
USER=$USER
PASSWD=$PASSWD
FILE="*.htm"
ftp -n $HOST <<END_SCRIPT
quote USER $USER
quote PASS $PASSWD
get $FILE
quit
END_SCRIPT
exit 0
Is there any way to display appropriate error message if the file is not found on the server...... (2 Replies)
Discussion started by: bishweshwar
2 Replies
5. Shell Programming and Scripting
I'm writing a script which needs to run under an 'automation' account and there is already a .netrc machine definition for the server I need to connect to.
If I create a new machine entry in the .netrc with a different account this will, of course, be ignored and the ftp session will connect to... (3 Replies)
Discussion started by: DeepakS
3 Replies
6. Shell Programming and Scripting
Hi,
I am trying to write a ksh script to send an attachment via telnet to an SMTP server.
I'm using MKS Toolkit. mail, mailx, sendmail, nc are not working on the server where I have MKS Toolkit installed.
If I type the following from the command prompt I receive an email:
telnet x.com... (0 Replies)
Discussion started by: dukeEarth
0 Replies
7. Shell Programming and Scripting
Hi
I wanna automate the telnet process for port connection..
# telnet 0 port_number
Trying 0.0.0.0...
Connected to 0.
Escape character is '^]'.
If its connected how to make it disconnect automatically..
And how to check for success or failure.. (0 Replies)
Discussion started by: ningy
0 Replies
8. UNIX for Dummies Questions & Answers
Can this be done? Or do you need some other program installed on the AIX box? (6 Replies)
Discussion started by: NycUnxer
6 Replies
9. UNIX for Dummies Questions & Answers
Hi ,
I want to pull files from ftp monthly once . The files in ftp has a something like 292_fileto_pull and next month it will be 293_fileto_pull for each month the number keeps increasing. i thought in my script if i can use date and increment the number by it
mget *_292_fileto_pull
i... (2 Replies)
Discussion started by: vikatakavi
2 Replies
LEARN ABOUT MOJAVE
curlopt_proxy_transfer_mode
CURLOPT_PROXY_TRANSFER_MODE(3) curl_easy_setopt options CURLOPT_PROXY_TRANSFER_MODE(3)
NAME
CURLOPT_PROXY_TRANSFER_MODE - append FTP transfer mode to URL for proxy
SYNOPSIS
#include <curl/curl.h>
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_PROXY_TRANSFER_MODE, long enabled);
DESCRIPTION
Pass a long. If the value is set to 1 (one), it tells libcurl to set the transfer mode (binary or ASCII) for FTP transfers done via a HTTP
proxy, by appending ;type=a or ;type=i to the URL. Without this setting, or it being set to 0 (zero, the default), CURLOPT_TRANSFERTEXT(3)
has no effect when doing FTP via a proxy. Beware that not all proxies support this feature.
DEFAULT
0, disabled
PROTOCOLS
FTP over proxy
EXAMPLE
TODO
AVAILABILITY
Added in 7.18.0
RETURN VALUE
Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if the enabled value is not supported.
SEE ALSO
CURLOPT_PROXY(3), CURLOPT_HTTPPROXYTUNNEL(3),
libcurl 7.54.0 February 03, 2016 CURLOPT_PROXY_TRANSFER_MODE(3)