Open GoogleCodeExporter opened 8 years ago
[deleted comment]
[deleted comment]
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
Original issue reported on code.google.com by
cwaij...@online.nl
on 6 Nov 2010 at 1:43