FTP progress info with Nodejs - node.js

I want to develop a system that allow user to upload files from browser to server then the uploaded files will be transferred to a FTP server. I did it by using ftp-client module already. Now, i want to check the progress info to see how many percents each file is being transferred to FTP server. Could you let me know how to do it ? Which FTP modules could help me this ? Many thanks

Related

Need help in developing a custom WebDav client using node.js

I am developing an open source application which should mount webdav share to local drive letter just like NETDRIVE and WEBDRIVE using node.js and electron-js, so in my application at present I am downloading all files from webdav share which takes a lot of time and not reliable for heavy data. Is there any other approach so that whenever user access a file, only that particular file should be fetched from webdav share, I’ve tried to display files meta data(dummy) structure in directory and kept that directory under file-watcher. So that when user tries to open a file then watcher should capture file open event to get which file was user trying to access, so that in background of application a service will triggered to fetch that particular file using file-path as reference, but none of them are unable to capture file open event. Is there any other approach to do so, correct me if I am in wrong direction.
Thank's
I think you want virtual file-system and recommend Dokan library.
Dokan is the start point of Windows virtual file-system application.
Open Source : Dokan (https://en.wikipedia.org/wiki/Dokan_Library)
Commercial: EldoS CBFS (https://www.eldos.com/cbfs)
Google, Naver use Dokan and NetDrive, RaiDrive(mine) use CBFS.

Possible to set local folder for automatic file uploads

Bit of a loose question so if it gets marked down I'll remove it.. but..
I'm using Primefaces/Spring/Hibernate for Java server.
My application knows a load of file names I need to upload. Those files are on my local computer. Is it possible to tell the application the root directory of these files, for it to then setup uploads for each of these files without me needing to browse for each file individually?
I assume this is a browser security issue, i.e. the user needs to explicitly state which file the application is allowed to know about etc?
If not I'll have to do it in a local application but I was hoping there was a way a mass upload could be kicked off from the browser by just setting the local directory of the files.
I decided to use the Primefaces uploader, upload all the files in the directory and let the application sort them out once it has them on the server.

SmartDL for ftp

I need a python code which can download files from a ftp server. I need a built in multi-part download managing package which can help me to retrieve files faster. I tried SmartDL but the problem is I don't know how to retrieve files in a ftp server. Also I used the add_basic_authentication to ensure that, I am passing the right credentials. Please help me with a solution.
I have no problem using any other solution/package which uses Multipart download.
P.S:- I need to save the Downloaded files on to an Object storage on Cloud. The size of each file may be 300MB and I need to download 20TB of data.
Thanks in anticipation.
Take a look at ftplib, it's a simple FTP library which will permit you to download files from a FTP server.

How do i get a direct download link for my file on Linux VPS

I have recently just got a subscription to a Linux VPS (Ubuntu)
I have logged into the VPS using FileZilla and uploaded my .png file to the VPS. But when i travel to the ip address in my web browser then i am unable to navigate to the directory for the file. I have apache2 running on the web server so when i navigate to the VPS using my browser it says this
It works!
This is the default web page for this server.
The web server software is running but no content has been added, yet.
Can someone please teach me on how to upload my .png file correctly so i can have a download link something similar to
http://myipaddress.com/home/files/mypicture.png
Would highly appreciate any knowledge applicable to my problem. If someone helps me solve the problem then i will happily tip them some cryptocurrency :)
You must put your public files in the directory published by the web server: the "DocumentRoot".
By example, it may be:
/var/www
The published files must also be readable by the Web Server process.
The Apache server on Debian runs with the "www-data" user/group, by default.

how to upload,download, or delete a directory or multiple files in FTP server using CFNetwork?

i have starting learning about FTP Programming, i learn some from simpleFTPSample that using CFNetwork. From this sample i understand how to upload and download a file from ftp server, and also i understand how to get a list file and directory from FTP server. But the problem is, i want to upload, download, and delete a directory or multiple files in FTP server, but i dont know how to do. Can somebody give an example? Can i do it using CFNetwork? Or am i have to add another library for doing this?
Thank you
i think it will help u
http://code.google.com/p/s7ftprequest/
or
http://www.ftponthego.com/
you could use cURL if you have little success with the apple sample code, see here.
http://www.intelliproject.net/articles/showArticle/index/use_curl_iphone_sdk

Resources