bhagirarh / swiftp

Automatically exported from code.google.com/p/swiftp
GNU General Public License v3.0
0 stars 0 forks source link

Write/create error: 451 couldn't open file for writing #125

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem? Please include as much detail as
possible.
1.Open an FTP client such as windows explorer or FlashFXP
2.Succesfully connected to the SwiFTP Server
3.Trying to create a dir or copy a file to a directory on my EXTERNAL MicroSD 
card which is in the phone trough SwiFTP Server 
4. Receive the error "451 couldn't open file <filename> for writing"
5. Getting frustrated
6. Trying again, with FlashFXP, Firefox, Windows Explorer, etc.

What is the expected behavior? What do you see instead?
Expected to be able to copy files or create folders, obviously I can't

NOTE: I can however succesfully write /create to the INTERNAL SD card of the 
phone! So it's an external SD card (permission) issue

What version of SwiFTP are you using?
1.24

What operating system are you using?
Windows 7 Ultimate x64

Which FTP client are you using?
FlashFXP / Windows Explorer

Which Android device and version do you have (Nexus, Droid, Hero, G1,
etc.)?
Samsung Galaxy S i9000 Android 2.1

May we contact you by email to ask questions? If so, what is your email
address?
cwaijers@hotmail.com

Please provide any additional information below. The more details, the
better.

Original issue reported on code.google.com by cwaij...@online.nl on 6 Nov 2010 at 1:43

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Hi there,
does anyone know what it cause the below:

1. I had Open an FTP client such as FileZilla.
2. I had Succesfully connected to the SwiFTP Server.
3. Trying to create a dir or copy a file to a directory on my EXTERNAL MicroSD 
card which is in the phone trough SwiFTP Server 
4. And I Receive the error "451 couldn't open file <filename> for writing"
5. I did try on Samsung Tab 2 7" and it working fine...

As the below log:
Status: Connecting to 192.168.1.58:2121...
Status: Connection established, waiting for welcome message...
Response:   220 SwiFTP 1.24 ready
Command:    USER thatme
Response:   331 Send password
Command:    PASS ****
Response:   230 Access granted
Command:    SYST
Response:   215 UNIX Type: L8
Command:    FEAT
Response:   211-Features supported
Response:    UTF8
Response:   211 End
Command:    OPTS UTF8 ON
Response:   200 OPTS accepted
Status: Connected
Status: Retrieving directory listing...
Command:    CWD /storage/extSdCard
Response:   250 CWD successful
Command:    PWD
Response:   257 "storage/extSdCard"
Error:  Failed to parse returned path.
Command:    TYPE I
Response:   200 Binary type set
Command:    PASV
Response:   227 Entering Passive Mode (192,168,1,58,144,29).
Command:    LIST
Response:   150 Opening BINARY mode data connection for file list
Response:   226 Data transmission OK
Status: Directory listing successful
Status: Retrieving directory listing...
Command:    CWD DL
Response:   250 CWD successful
Command:    PWD
Response:   257 "storage/extSdCard/DL"
Error:  Failed to parse returned path.
Command:    PASV
Response:   227 Entering Passive Mode (192,168,1,58,203,119).
Command:    LIST
Response:   150 Opening BINARY mode data connection for file list
Response:   226 Data transmission OK
Status: Directory listing successful
Status: Connecting to 192.168.1.58:2121...
Status: Connection established, waiting for welcome message...
Response:   220 SwiFTP 1.24 ready
Command:    USER thatme
Response:   331 Send password
Command:    PASS ****
Response:   230 Access granted
Command:    OPTS UTF8 ON
Response:   200 OPTS accepted
Status: Connected
Status: Starting upload of H:\DCIM\Contacts.vcf
Command:    CWD /storage/extSdCard/DL
Response:   250 CWD successful
Command:    PWD
Response:   257 "storage/extSdCard/DL"
Error:  Failed to parse returned path.
Command:    TYPE I
Response:   200 Binary type set
Command:    PASV
Response:   227 Entering Passive Mode (192,168,1,58,155,197).
Command:    STOR Contacts.vcf
Response:   451 Couldn't open file "Contacts.vcf" aka 
"/storage/extSdCard/DL/Contacts.vcf" for writing
Error:  File transfer failed after transferring 360,739 bytes in 1 second
Status: Starting upload of H:\DCIM\Contacts.vcf
Status: Retrieving directory listing...
Command:    PASV
Response:   227 Entering Passive Mode (192,168,1,58,187,221).
Command:    LIST
Response:   150 Opening BINARY mode data connection for file list
Response:   226 Data transmission OK
Command:    PASV
Response:   227 Entering Passive Mode (192,168,1,58,144,74).
Command:    STOR Contacts.vcf
Response:   451 Couldn't open file "Contacts.vcf" aka 
"/storage/extSdCard/DL/Contacts.vcf" for writing
Error:  File transfer failed after transferring 262,144 bytes in 1 second
Status: Starting upload of H:\DCIM\Contacts.vcf
Status: Retrieving directory listing...
Command:    PASV
Response:   227 Entering Passive Mode (192,168,1,58,134,230).
Command:    LIST
Response:   150 Opening BINARY mode data connection for file list
Response:   226 Data transmission OK
Command:    PASV
Response:   227 Entering Passive Mode (192,168,1,58,220,67).
Command:    STOR Contacts.vcf
Response:   451 Couldn't open file "Contacts.vcf" aka 
"/storage/extSdCard/DL/Contacts.vcf" for writing
Error:  File transfer failed after transferring 262,144 bytes in 1 second
Status: Starting upload of H:\DCIM\Contacts.vcf
Status: Retrieving directory listing...
Command:    PASV
Response:   227 Entering Passive Mode (192,168,1,58,173,246).
Command:    LIST
Response:   150 Opening BINARY mode data connection for file list
Response:   226 Data transmission OK
Command:    PASV
Response:   227 Entering Passive Mode (192,168,1,58,210,8).
Command:    STOR Contacts.vcf
Response:   451 Couldn't open file "Contacts.vcf" aka 
"/storage/extSdCard/DL/Contacts.vcf" for writing
Error:  File transfer failed after transferring 262,144 bytes in 1 second
Status: Retrieving directory listing...
Command:    PASV
Response:   227 Entering Passive Mode (192,168,1,58,136,124).
Command:    LIST
Response:   150 Opening BINARY mode data connection for file list
Response:   226 Data transmission OK
Status: Directory listing successful

Expected to be able to copy files or create folders, obviously I can't

NOTE: I can however succesfully write /create to the INTERNAL SD card of the 
phone! So it's an external SD card (permission) issue

As the Below log:
Status: Retrieving directory listing...
Command:    CDUP
Response:   200 CDUP successful
Command:    PWD
Response:   257 "storage/extSdCard"
Error:  Failed to parse returned path.
Status: Directory listing successful
Status: Creating directory '/storage/extSdCard/test'...
Command:    MKD test
Response:   550 Error making directory (permissions?)
Command:    MKD /storage/extSdCard/test
Response:   550 Error making directory (permissions?)

I'm using as below:
a. SwiFTP 1.24
b. Windows 7 Ultimate x86
c. FileZilla 3.8.1
d. Samsung Note II N7105 Android 4.4.2

Thank.

Original comment by firegunz...@gmail.com on 3 Jul 2014 at 12:41