sftp

How to SFTP upload files from PHP

I'm having trouble using PHP to SFTP upload files to a remote server. When I use cURL, I'm getting the error described here: http://stackoverflow.com/questions/1766822/sftp-from-php-undefined-constant-curloptprotocols-and-curlprotosftp I also tried phpseclib as suggested in: http://stackoverflow.com/questions/717854/sftp-from-within-...

Read byte send by user upload asp.net mvc

Currently im trying to write a upload page on asp.net mvc... basically my concept is to ready the request send by user and in the same time, upload it to the new server using sftp... is there any way to read the user upload data at the same time user uploading it to the server in asp.net mvc? Thank you very much ...

How to change permissions for file on sFTP server using phpseclib?

I tried $sftp->chmod('0755', "file.zip"); and $sftp->chmod('0755', "file.zip"); But in both cases the permission has been set to 363 instead ...

PSFTP not executing all batch-file commands

Hi, I have a batch-file with commands to upload my web-app code to its production server, from my dev machine (Windows XP S3) to the live one (CentOS). It cleans, minifys and unifys HTML, CSS and Javascript files. Then it FTPs everything to the server. I'm using vsftpd ssh (server) and PSFTP.exe (client). It connects ok, but when proce...

putty automation for file transfer

Hi, i want to automate the backup process in my system. the existing procedure is, there will be a log file in SERVER1, every friday i need to move that log file to SERVER2 for backup. currently we were using PSFTP(secure FTP) to move the files from one server to another server. and we have to use SFTP even in the new process. what is ...

C#: How to communicate with SFTP server

Hi, I've written a service for our customer that automatically transmits files to given destinations using FTP. For historic reasons I'm using WinInet to perform the FTPing. All works well, but now the customer wants to add one destination that only accepts SFTP connections. I do not really like the idea of implementing this from scrat...

Ruby abstraction

I'm new to Ruby, coming primarily from C# and ActionScript 3 (among other langauges). I'm curious about abstracting functionality. Specifically, wrapping and abstracting Ruby's FTP and SFTP libs. I was searching around and came across a gem called Backup. It really got my attention because it supports backing stuff up via S3, SCP, SF...

sftp using ftplib

Hi All I need to download a file from a host using sFTP. Do you know if is it possible to do that using python ftplib? I saw an example here, but when I try to connect I receive EOFError. I tried this code: import ftplib ftp = ftplib.FTP() ftp.connect( "1.2.3.4", "22" ) This method returns with an error after long time so I cannot p...

interact (stdin/out) with command line programs at runtime in C

I think the thing I want to do is called GUI/command line wrapping sftp(1). I need an easy way to start that program and react on its output while running. Additionally I have to be able to send input to it, full interaction is required. I tried forkpty (emulated TTY), but there wasn't one good example findable using forkpty for that jo...

FTP code producing "secure connection required (code=530)"

I'm using the Secure FTP product from EnterpriseDT. The setup below worked for one of my projects, but it's failing with Rejected--secure connection required (code=530) on another that pointing to a different address. Dim ftp = New EnterpriseDT.Net.Ftp.SecureFTPConnection _ With {.LicenseOwner = "[REDACTED]", _ .LicenseKey...

High performance SSIS Custom Components for Upsert

Anybody know vendor for fast upsert components in SSIS So far I found one from Pragmaticworks - TaskFactory - SSIS Tasks and components I was very impressed with Upsert, Data Clenasing, SFTP and Zip (Much faster than any other solution out there) ...

Upload file from iphone using SFTP protocol

Hi, I have one audio file captured from my iphone. I want to upload this audio file using SFTP protocol? Is is possible? Is there any third party library available? Is it the same as putting file on FTP? Thanks, Jim. ...

java sftp & ftp client library that support file and dir monitoring

Please recommend me some java client library for sftp and ftp that support directory monitoring. Thank you. ...

Eclipse on Ubuntu: How do I access projects remotely over mounted SFTP connections?

Ubuntu allows you to create and "bookmark" connections to other servers via either Public FTP or SSH. I want to work with projects on a remote server this way. However when I attempt to create a project, I cannot browse to the bookmarked connection; it does not show up in the explorer window. Truth is, I know I've done this in the past,...

Secure FTP Connection using PHP

I have an secure FTP Server with the login details and from PHP, am trying to connect to that secure FTP Server using ftp_ssl_connect/ftp_connect and ftp_login function and passing all the parameters properly to the function but I am amazed to see that it does not connect. If I try to connect to that secure FTP Server from command line ...

Connection to secure FTP Server from PHP

This question is in line with this question, I am trying to connect to secure FTP Server and it is not able to connect, wierd part is that I am able to do ssh and connect to the server but when I try to do it from php code using few different approaches but it is not working Approaches: FTP Wrappers ftp_connect & ftp_login ftp_ssl_con...

Any opensource library for accessing SFTP & VPN Tunnel - FTP using C#

HiI need to access the files available in sftp using SFTP in my project (C#).Are there any opensource C# libraries for accessing file available on SFTP folder which can be used in my project? Thanks nrk ...

ChannelSftp.disconnect() not working

Hi, I am using jcraft's jsch library to connect to SFTP server. for local testing im using core FTP mini sftp server. I have quartz job which runs on my jetty server. This job picks up files from SFTP server and saves it to database. This is working fine, however when i use the disconnect api, the connection still exists. These con...

Setup SFTP to use public-key authentication

How do you setup server to server SFTP to use public-key authentication instead of user account and password? ...

sftp with mutual auth using apache vfs

We're trying to sftp to a server that requires mutual authentication. We need to do this programmatically in java. Is there a way to use mutual authentication (client certificates) with apache vfs when connecting to an SSH server? ...