09-22-2009
Dummy FTP Client!
We're just about to start testing a new server build. The application has many FTP/SFTP connections going to different servers. I'd like to temporarily replace the FTP/SFTP binaries with a mock version that will allow us to run all our production code as is, but will prevent the FTPs from actually leaving the server under test. I have the same issue for emails as well!
Has anyone come across a mock FTP client that responds like the real thing but doesn't actually connect to the outside world?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Is there any ftp CLIENT(either freeware or sharware) can support passive mode else ncftp?
Thanks! (2 Replies)
Discussion started by: coolmans
2 Replies
2. UNIX for Dummies Questions & Answers
Hi!
Does anyone of you know another good ftp command line Client like Midnight Commander? (not /usr/bin/ftp)
Thanks. (5 Replies)
Discussion started by: donald1111
5 Replies
3. Linux
Hi all,
and again, I need help by you :-)
I am using RH Advanced Server 2.1 with the defaukt wu-ftpd deamon. Now i want to tune the speed of my ftp transfers, but for this I need to increase the buffers for reading/writing from/to a filesystem and the sending/receiving buffers of the network.... (1 Reply)
Discussion started by: malcom
1 Replies
4. UNIX for Advanced & Expert Users
I'm looking for a FTP client that is similar to NCFTP in that I can run a full ftp command in one line without needing to access the client first then typing the ftp commands.
Very simple request but I can't find any other tool like that, I have downloaded Kermit thinking I can use it to tranfer... (3 Replies)
Discussion started by: tamkag
3 Replies
5. Linux
Hi All
Is there any linux log file that captures invalid ftp login attempts in client side? I'm trying to come up with a script that will send an email to owners stating the number of invalid password login attempt when logging in to the ftp server.
its like,
1. i'm in client side...then... (2 Replies)
Discussion started by: 3rr0r_3rr0r
2 Replies
6. Solaris
Can anyone please suggest a agood ftp client(GUI) which would support sftp ...on solaris.
I badly need it. I keep doing the transfers frequently, and some of them are binary and I am not sure how I change the mode to binary.
To avoid this and other hassles, it would help if i have a GUI client.
... (6 Replies)
Discussion started by: Naanu
6 Replies
7. Red Hat
We have RHEL 5.8 in our environment, I had a query whether we can implement an FTP server using vsftpd package and Linux configurations like setsebool without using any external FTP clients like FileZilla etc. I am very confused on this. The FTP functionalities that should be present are download &... (3 Replies)
Discussion started by: RHCE
3 Replies
8. HP-UX
We have two HP-UX machines, both are B.11.31.
When I FTP from the HP-UX boxes to a remote IBM server,-
HP-UX 1:
Connected to xxxx.
220-FTPD1 IBM FTP CS V1R12 at R2, 12:24:39 on 2013-08-30.
220 Connection will close if idle for more than 15 minutes.
Name (xxxx:user):
HP-UX 2:... (2 Replies)
Discussion started by: CaptNemo
2 Replies
9. Shell Programming and Scripting
I am trying to transfer logs from Aix 6.1 to a linux appliance but it is not happening from last one month if i execute the batch command by command i can execute well but if i do it in shell script it is stuck without any error.
Any one know how to generate a FTP client trace to know the issue... (10 Replies)
Discussion started by: ra8ul
10 Replies
10. UNIX for Dummies Questions & Answers
1)check vsftpd service is running
service vsftpd status
2)mkdir -p /var/ftp/pub/Packages
Packages will contain all rpm packages
3)copy the xml file to Packages folder
#cp -arf /mnt/hgfs/share/RHEL_DVD/Packages /var/ftp/pub/Packages
4)install the 3 required rpm
rpm --nodeps -ivh... (0 Replies)
Discussion started by: joj123
0 Replies
LEARN ABOUT DEBIAN
libssh2_sftp_init
libssh2_sftp_init(3) libssh2 manual libssh2_sftp_init(3)
NAME
libssh2_sftp_init - open SFTP channel for the given SSH session.
SYNOPSIS
#include <libssh2.h> #include <libssh2_sftp.h>
LIBSSH2_SFTP * libssh2_sftp_init(LIBSSH2_SESSION *session);
DESCRIPTION
session - Session instance as returned by libssh2_session_init_ex(3)
Open a channel and initialize the SFTP subsystem. Although the SFTP subsystem operates over the same type of channel as those exported by
the Channel API, the protocol itself implements its own unique binary packet protocol which must be managed with the libssh2_sftp_*() fam-
ily of functions. When an SFTP session is complete, it must be destroyed using the libssh2_sftp_shutdown(3) function.
RETURN VALUE
A pointer to the newly allocated SFTP instance or NULL on failure.
ERRORS
LIBSSH2_ERROR_ALLOC - An internal memory allocation call failed.
LIBSSH2_ERROR_SOCKET_SEND - Unable to send data on socket.
LIBSSH2_ERROR_SOCKET_TIMEOUT -
LIBSSH2_ERROR_SFTP_PROTOCOL - An invalid SFTP protocol response was received on the socket, or an SFTP operation caused an errorcode to be
returned by the server.
LIBSSH2_ERROR_EAGAIN - Marked for non-blocking I/O but the call would block.
SEE ALSO
libssh2_sftp_shutdown(3) libssh2_sftp_open_ex(3)
libssh2 0.15 1 Jun 2007 libssh2_sftp_init(3)