10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi,
how can i know whether a command inside an sftp script has failed or not?
i have a sftp expect script
#!/usr/bin/expect
spawn /usr/bin/sftp abc@ftp.abc.com
expect "sftp>"
send "cd dir\r"
expect "sftp>"
send "mput abc.txt\r"
expect "sftp>"
send "mput def.xls\r"
expect "sftp>"... (5 Replies)
Discussion started by: Little
5 Replies
2. Solaris
Hello guys,
I made a loginlog file to register failed login attempts on my sun-blade 1500 server ( just studying at home) . The code below is how I created the file :
# touch /var/adm/loginlog
# chmod 600 /var/adm/loginlog
# chgrp sys /var/adm/loginlog
After creating the file, I... (1 Reply)
Discussion started by: cjashu
1 Replies
3. Shell Programming and Scripting
Hi,
I have the following bash script(related to ftp) that read the parameters from the properties file and then transfer some files to the remote machine...
following is the bash script ....
#!/bin/sh
. ftp.properties
ftp -vin >> ftp.log <<-!
open $RemoteIp
user... (7 Replies)
Discussion started by: rahul125
7 Replies
4. Shell Programming and Scripting
salmo allikm warhmat allah wabrakato
i have my own server and upload file with ftp with this script
ftp -n xxxxxxxxxcom<<EOF
user xxxx xxxx
binary
put image
bye
EOF i want to convert to sftp or secure protocol
when change to sftp no respond it stop
i don't know how to start
... (7 Replies)
Discussion started by: pua06
7 Replies
5. Shell Programming and Scripting
Hi everyone!
I'm in a need of a shell script that search for all files in a folder, move all those files to a temp folder, and upload those files via FTP. When the file transfer via FTP completes successfully, the file is moved to a completed folder. In case any of those files fails, the file... (4 Replies)
Discussion started by: pulsorock
4 Replies
6. Shell Programming and Scripting
I have put in the "script" command in the .profile of a particular user id that tracks the terminal session when the user id logs in.
But when the user logs on to the server using FTP, how can this be tracked?
Any input will be appreciated. (1 Reply)
Discussion started by: ggayathri
1 Replies
7. Shell Programming and Scripting
Hello Experts,
I have this initial shell script that tracks failed login attempts:
#!/bin/bash
#Fetch failed user logins to file failed-logins.txt
grep -i failed /var/log/secure | awk '{ print $1, $2" ", $3" ", $9" ", $11 }' > failed-logins.txt
#Splitting the failed-logins in... (10 Replies)
Discussion started by: linuxgeek
10 Replies
8. AIX
Hi
Im looking to create a Aix script to monitor a file for once it's been updated and then send an email. I dont have great scripting knowledge and have only come up with the following so far
while true
do
find /home/test/AMQ* -mmin 1 > /home/test/scripts/output/MQERRORS
exec... (2 Replies)
Discussion started by: elmesy
2 Replies
9. AIX
Hi,
While I am trying SFTP my machine to another unix machine ,
it was working fine till 10 min back.
But now i am getting the below error
"Request for subsystem 'sftp' failed on channel 0"
Could you please someone help me to solve or analyise the root cause...
Cheers:b:,
Mahiban (0 Replies)
Discussion started by: mahiban
0 Replies
10. HP-UX
I have tried limiting failed logins to three by the following method
logins -ox \ | awk -F: '($8 != "LK" && $1 != "root") { print $1 }' \ | while read logname; do
/usr/lbin/modprpw -m umaxlntr=3 "$logname"
done
/usr/lbin/modprdef -m umaxlntr=3
but it is failing on the 4th... any ideas?... (1 Reply)
Discussion started by: csaunders
1 Replies
GVFS(7) Conventions and miscellaneous GVFS(7)
NAME
gvfs - GIO virtual file system
DESCRIPTION
GIO provides a VFS API to GLib applications. It includes a 'local' implementation using POSIX. gvfs provides implementations that go beyond
that and allow to access files and storage using many protocols, such as ftp, http, sftp, dav, obexftp, etc. It also provides support for
trash folders, for cd burning and for monitoring interesting devices and volumes on the computer.
Applications use gvfs indirectly, by means of GIO loading the gvfs module that implements the GIO extension points. The gvfs support for
volume monitoring is included in a separate loadable module.
The actual gvfs implementation is distributed over a number of processes. None of these are expected to be started from the commandline,
except for debugging purposes.
Main processes:
o gvfsd - the main gvfs daemon
o gvfs-fuse-daemon - mounts gvfs as a fuse filesystem
o gvfsd-metadata - writes gvfs metadata
Volume monitors:
o gvfs-udisks2-volume-monitor - a udisks-based volume monitor
o gvfs-afc-volume-monitor - a volume monitor for Apple iPhone/iPod Touch devices
Mount backends:
o gvfsd-afc - mounts iPhone/iPod touch volumes
o gvfsd-afp - mounts Apple Filing Protocol volumes
o gvfsd-afp-browse - browses Apple Filing Protocol volumes
o gvfsd-archive - mounts archive files in various formats
o gvfsd-burn - provides a location for burning CDs
o gvfsd-cdda - mounts audio CDs
o gvfsd-computer - provides computer://
o gvfsd-dav - mounts DAV filesystems
o gvfsd-dnssd - browses dnssd
o gvfsd-ftp - mounts over FTP
o gvfsd-http - mounts over HTTP
o gvfsd-localtest - a test backend
o gvfsd-network - provides network://
o gvfsd-obexftp - mounts over obexftp
o gvfsd-recent - provides recent://
o gvfsd-sftp - mounts over sftp
o gvfsd-smb - mounts Windows Shares Filesystem volumes
o gvfsd-smb-browse - browses Windows Shares Filesystem volumes
o gvfsd-trash - provides trash://
ENVIRONMENT
GIO_USE_VFS
If set, specifies the GIO vfs implementation to use. Possible values include 'local' and 'gvfs'.
GIO_USE_VOLUME_MONITOR
If set, specifies the GIO volume monitor implementation to use. Possible values include 'unix', 'GProxyVolumeMonitorUDisks2', as well
as other native volume monitors that are described in the key files in $XDG_DATA_DIRS/gvfs/remote-volume-monitors.
FILES
$XDG_DATA_DIRS/gvfs/mounts
This directory contains key files describing mount daemons.
$XDG_DATA_DIRS/gvfs/remote-volume-monitors
This directory contains key files describing remote volume monitors.
SEE ALSO
GIO documentation[1], gvfsd(1), gvfsd-fuse(1), gvfsd-metadata(1)
NOTES
1. GIO documentation
http://developer.gnome.org/gio
gvfs GVFS(7)