Questions tagged [ftp-server]

Server for the File Transfer Protocol (FTP), a standard network protocol used to transfer files from one host to another host over a TCP-based network.

225 questions
1
vote
2 answers

Getting error "javax.net.ssl.SSLException: 530 Please login with USER and PASS" while performing ftp

I am getting the below given error while performing ftp from ubuntu machine to same machine. I have done the complete setup and able to transfer file using Filezilla. But while doing the same from code it is giving error. Below I have shown the code…
Love Gupta
  • 975
  • 2
  • 16
  • 31
1
vote
2 answers

Upload file to ftp with unique name in asp.net c#

I wrote below function to upload file to ftp.it's working properly but i need to get uploaded file name.I think ftp server should write file name in response,am i right? public static string UploadFileToFTP(string source,string destination) { …
Mahdi Rostami
  • 305
  • 4
  • 24
1
vote
0 answers

Apache Mina 2.0.9: Simultaneous transfer is not working

I am doing FTP transfer from FileZilla but parallel upload is not working. The server is created using ftplet-api (v1.0.6), ftpserver-core (v1.0.6) and mina-core (v2.0.9). If I upload multiple files, then also, only single file is uploading. With…
chynten
  • 111
  • 8
1
vote
0 answers

A call to SSPI failed, see inner exception using FileZilla Server and System.Net.FtpClient

I am setting up an FTP Server (FileZilla) and using the netftp codeplex project System.Net.FtpClient to connect to it over SSL/TLS using an X509Certificate2. I've downloaded FileZilla Server from sourceforge. I've downloaded System.Net.FtpClient…
Loathing
  • 5,109
  • 3
  • 24
  • 35
1
vote
1 answer

How to get files from FTPS server with java?

I'm trying to acess a folder in a path i created in a ftps server but it returns nothing, it's connecting but does not return anything, if i change the server configuration to just ftp it works. I'm using FileZilla Server and the its configurations…
1
vote
1 answer

Apache FTPServer -- restricting commands like 'DELE'

I am using the Apache Mina FTPServer. As mentioned in the documentation, I am extending the DefaultFtplet class. I am putting the prints (SOPs) in some events mentioned in the documentation like onConnect, etc. and everything is working fine. Now, I…
zeropoint
  • 235
  • 1
  • 4
  • 10
1
vote
1 answer

Embedded FTPServer for UnitTest on Windows: FileUpload 551 error

I want to embed a simple FTPServer into my unit tests for testing FTP client functionality for file upload. I tried the Apache FTPServer (ftpserver-core-1.0.6.jar). The file upload fails with 551 /C://myFile.txt: Error on…
Heri
  • 4,368
  • 1
  • 31
  • 51
1
vote
0 answers

java apache ftpServer file upload and download isn't working

Im using Apache FtpServer and built my own ftp server. I`m using this server on a VM (VPS). Im able to login and list the files however, Im couldn't download or upload files. Every time I try I get the error 220 Service ready for new user. USER…
vyeluri5
  • 487
  • 5
  • 8
  • 18
1
vote
1 answer

Webclient: The remote server returned an error: (401) Unauthorized

I'm trying to upload a file to an ftp server using WebClient, but I keep getting the same error are listed below: The remote server returned an error: (401) Unauthorized. As you can see in the code example, I have tried 4 different uploads methods…
Zaz
  • 1,074
  • 3
  • 17
  • 29
1
vote
0 answers

Safari can't login to my FTP server

I've implemented an FTP server (in Qt/C++), and all clients can login, but Safari tries with anonymous login, and then gives up. This is the control connection log: connection from "192.168.0.102" reply 220 "Welcome to QFtpServer." command "USER…
sashoalm
  • 75,001
  • 122
  • 434
  • 781
1
vote
1 answer

Implementing "TYPE A" in an FTP server

I'm writing an FTP server (in Qt/C++), and right now I with "200 Ok" to "TYPE A", but I really treat it the same as "TYPE I" - files are sent as-is. How should I go about properly implementing TYPE A? Would opening the files in text mode instead of…
sashoalm
  • 75,001
  • 122
  • 434
  • 781
1
vote
0 answers

Having one FTP account with multiple concurrent logins?

I am having deep thoughts about how to use a FTP server. I am having an application, where I want some user files to be stored on a FTP server. So what I am doing is when user save his/her file on the server side I am opening a connection to the FTP…
Hristo Angelov
  • 1,019
  • 1
  • 15
  • 34
1
vote
1 answer

PHP: ftp_get() can download file with same name only once

I'm having a strange problem using ftp_get() on one of the two identical instances. One is on localhost and another on an actual server. I'm using the following to download a file via FTP. Both of the instances download from the same FTP servers…
laketuna
  • 3,832
  • 14
  • 59
  • 104
1
vote
1 answer

Display a PDF file from FTP server inside an ASPX page C#

I have a PDF file on my FTP Server. I want to display the PDF file using ASP.Net. I used google viewer in an iframe control: