SFTP file transfer in GWT - gwt

I want to do SFTP file transfer in GWT.
I have file upload page on click SUBMIT button, the uploaded file has to be transfered. how to perform this in GWT?

You cannot perform a FTP file transfer through a web browser.
With GWT, you can send a file to your server with a FileUpload widget (http://www.gwtproject.org/javadoc/latest/com/google/gwt/user/client/ui/FileUpload.html).
Edit:
You have to do this in two steps :
Send your file to your server through a form (FileUpload).
Send this file from your HTTP server to your FTP server (how to transfer a file through SFTP in java?).

Related

How to send powershell output to web server

I have a powershell script that generates an output and I can send it by email as an attachment however now I would need to send that output to an apache web server.
I have searched and I didn't found about it and I don't know if is possible to.
If possible, how is that done?
Thanks

Uploading File on DigitalOcean Server

I have created a SUbdomain in DegitalOcean Server. Now I need to upload a file on my Server and merge this file with a Subdomain. What should I do?
I need every single detail.

Transfer files from Google Drive to Cluster account

The google API is confusing me. I have no idea how to approach this problem.
I have 62GB of data on a google drive account. I want it transferred to my server cluster account. How can I do this without downloading the data to my local device and uploading it to a server; cut out the middle man?
I know perl but the perl module for google drive api is ambiguous at best.
Google Drive server cannot actively upload file to your server. Your server should have authorized Drive API to download from Google Drive. To rephrase, you can't "upload" from Drive to remote server. You should "download" from Drive to remote server.
To do this, you need to authenticate your web application. Then, you can select file and retrieve fileId of the file you want to download to remote server. Then, you send this fileId to your remote server with, for example, simple HTTP request. Your server will then trigger download of the file from Drive.

PDF mail attachments in IIS

I have to send emails with PDF attachments in my application (C#,ASP.NET). That function is working fine in local host, but when i deployed it to the server, attachments are not working. only the email send to the users. Do i need to set any special configuration on windows server 2008 R2 ?
This is not a server related issue. I have used Syncfusion to secure the PDF file. when it deploys to the server, we need to create a new PdfCertificate for the server. Otherwise it will not work on the server.

Serving large file with zend framework thats connected to another sftp server

I'm using the phpseclib for secure ssh and ftp access. My site is on a webserver, that connects to a different backup server and displays the files and folders, imagine a frontend for a backup on several different servers.
Now I would like them to be able to download a file, but I can't think of a better method than temporarily store the file on the front webserver.
I looked at the phpseclib docs and didn't see a great way to transfer a file from one of the backup servers to the frontend server to a client in a fast efficient way without having to fully copy the file from backup server to frontend server before passing it to the client.
Using cURL you can use one of its callback functions to serve a download to the client simultaneously while the file is being downloaded from the backup server by cURL. cURL will support ssh and sftp. This way, you don't have to have the frontend fully download the file from the backup before being able to send it to the client.
I have shown a similar example of this using the FTP protocol in this answer: Streaming a file fromFTP and letting user to download it at the same time
Feel free to ask for more help if you have any questions implementing this solution with SSH and your system.