I am trying to get a JSON file from my server to my iPhone. I am using NMSSH for my FTP connection and the connection works.
But I can't retrieve any data from my server. It doesn't matter what path I am using ~/ or / or /someFolder/ or someFolder.…
I'm working on a iOS app which will take some inputs from user and send it to server using SSH and server acknowledges. Sending is working fine, however unable to implement listening from server side.
Sending commands to server is OK. I can…
I am using NMSSH Framework version 2.2.0 to download files from the server.
I found that the file chunk size is fixed to 2000 bytes libssh2_sftp_read() this method returns the fixed size.
I have tried increasing buffer size but it will not increase…
I just tried to use NMSSH for the first time but it simply does not connect for me
import UIKit
import NMSSH
class ViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
// Do any additional setup…
I'm using NMSSH to try to upload a file. I am able to connect and authenticate successfully however the upload hangs and I get the EXC_BAD_ACCESS error on the uploadFile() function call.
I know that it usually means that I'm trying to access an…
I was able to SSH into my IoT device yesterday, but this morning when I try to connect it again. it fails to establish SSH session.
2021-08-25 09:25:53.501096-0400 [1387:464804] NMSSH: Socket connection to 192.168.77.30 on port 22…
I tried to integrate NMSSh into an iOS-App (Xcode 12.2) and followed these instructions, which is in line with what I found in this forum too.
Unfortunately I can't create the framework file as described. I selected my iPhone as device as…
Using NMSSH and NMSFTP, I am able to connect to our company's remote SFTS server. I am also able to upload files to an "Incoming" folder in SFTS site. The issue is, when I try read a JSON file in the "Outgoing" folder using NMSFTP Contents(ofFile:),…
My goal is to create ssh connection between my iPhone and my raspberry pi. I installed this framework by using pods. That was successful, but here comes the problem.
https://github.com/NMSSH/NMSSH
This page writes the following:
Add #import…
I am uploading images to SFTP server from my iOS application. For this I am using NMSSH framework. Now I am uploading the images asynchronously and below is my code. I want to upload images in batches. But I don't have any idea how should I do…
I am trying to use the SFTP library in NMSSH to download files from an ftp server and have been having trouble on my actual device. It works fine in the simulator. When I check for the file's existence in the stored directory (a created folder in…
I am working on a chat application. In that, I have implemented picture uploading and downloading using NMSSH library. Now I am saving the downloaded and uploaded image in app documents file also (saving in iphone gallery too), so that I can display…
Platform: XCode 6.1 (iOS SDK 8.1).
I am using all default settings. I checked out NMSSH from xCode and tried to build the iOS project. It builds without any error, but there are no output files. I don't know where they are created either.
I am new…
I am using NMSSH library in my ios app to open a connection with the server and download a json file and save it to local directory.
I have tried two different sFTP servers to open connection. One is my own server and other one I found a dummy…
I am using NMSSH library to upload file to a SFTP server. The file upload works fine as long as the phone is on but whenever I close the screen or minimise the app the upload seems to fail. Can some one please help with this issue. Here is the code…