EldoS | Feel safer!

Software components for data protection, secure storage and transfer

send file to FTP has a exception

Also by EldoS: CallbackProcess
A component to control process creation and termination in Windows and .NET applications.
#29544
Posted: 05/23/2014 09:52:13
by YiChun Lai (Standard support level)
Joined: 05/21/2014
Posts: 9

Assemblies\WindowsPhone_8
I Open Your Sample
EldoS\SecureBlackbox.NET\Samples\C#\FTPSBlackbox\WindowsPhone\Client

It happen exception like attachment when i send a file to ftp, but file had be send to ftp.


#29545
Posted: 05/23/2014 10:05:52
by Eugene Mayevski (EldoS Corp.)

Please try running the desktop sample - it provides a log of its operations. If it exposes the same error, please post the produced log. Once the desktop application works, it makes sense to continue with mobile application.


Sincerely yours
Eugene Mayevski
#29546
Posted: 05/23/2014 11:16:56
by YiChun Lai (Standard support level)
Joined: 05/21/2014
Posts: 9

Desktop sample is workable.
I Use Desktop setting, but mobile sample still to get a exception code 426.
There are mobile capture and desktop capture.


#29547
Posted: 05/23/2014 11:37:29
by Eugene Mayevski (EldoS Corp.)

From your screenshots it seems that you are connecting to different server computers (10.10.1.1 and 10.10.1.102 respectively). Please try to connect to the same server ( 10.10.1.102 as it works ).

What you have on mobile device now is a network connectivity problem - the client can not open connection to the address and port specified in response to PASV command. This address and port are returned by the server and port number will differ from connection to connection. But in any case you need to address the connectivity issue.


Sincerely yours
Eugene Mayevski
#29649
Posted: 06/01/2014 00:00:00
by YiChun Lai (Standard support level)
Joined: 05/21/2014
Posts: 9

In WP8
Code
>>>220 (vsFTPd 2.3.2)

<<<USER root
>>>331 Please specify the password.

<<<PASS
>>>230 Login successful.

<<<FEAT
>>>211-Features:
EPRT
EPSV
MDTM
PASV
REST STREAM
SIZE
TVFS
UTF8
211 End

<<<CWD /sda1
>>>250 Directory successfully changed.

<<<PWD
>>>257 "/sda1"

<<<TYPE A
>>>200 Switching to ASCII mode.

<<<PASV
>>>227 Entering Passive Mode (10,10,1,1,244,148).

<<<LIST
>>>150 Here comes the directory listing.

>>>226 Directory send OK.

<<<CWD /sda1
>>>250 Directory successfully changed.

<<<TYPE I
>>>200 Switching to Binary mode.

<<<PASV
>>>227 Entering Passive Mode (10,10,1,1,68,218).

<<<STOR /sda1/05061644-001.JPG
>>>150 Ok to send data.

>>>426 Failure reading network stream.


In Desktop
Code
<<<220 (vsFTPd 2.3.2)

>>>USER root
<<<331 Please specify the password.

>>>PASS
<<<230 Login successful.

>>>FEAT
<<<211-Features:
EPRT
EPSV
MDTM
PASV
REST STREAM
SIZE
TVFS
UTF8
211 End

>>>WARNING: This is an EVALUATION version of SecureBlackbox that will expire in 60 days
>>>CWD fgh
<<<550 Failed to change directory.

>>>CWD sda1
<<<250 Directory successfully changed.

>>>PWD
<<<257 "/sda1"

>>>TYPE I
<<<200 Switching to Binary mode.

>>>PASV
<<<227 Entering Passive Mode (10,10,1,1,233,42).

>>>STOR test
<<<150 Ok to send data.

<<<226 Transfer complete.


I have no idea about the 426 Failure reading network stream.
#29650
Posted: 06/01/2014 01:31:54
by Eugene Mayevski (EldoS Corp.)

As I wrote in the previous message, the error seems to be caused by network connectivity problem -- the client for whatever reason can not open data connection to the server.

What server are you connecting to - is it some test server that you installed for testing or this is some specific production server in the internet or this issue happens with any (or several) servers?


Sincerely yours
Eugene Mayevski
#29651
Posted: 06/01/2014 01:42:14
by YiChun Lai (Standard support level)
Joined: 05/21/2014
Posts: 9

I send file to server with Filezilla and your desktop sample, and it is work fine.
But i send file to server with your WP8 sample, "426 Failure reading network stream" is happened.

I try to config the wp8 sample cilent like desktop sample, but error is still happened.
#29652
Posted: 06/01/2014 02:23:18
by Eugene Mayevski (EldoS Corp.)

What server are you connecting to - is it some test server that you installed for testing or this is some specific production server in the internet or this issue happens with any (or several) servers?


Sincerely yours
Eugene Mayevski
Also by EldoS: RawDisk
Access locked and protected files in Windows, read and write disks and partitions and more.

Reply

Statistics

Topic viewed 1213 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!