View Full Version : DLLs Not Uploading via FTP
princebuster
06-30-2009, 02:48 AM
Only just set things up. Running 2008 & IIS7
Created a very simple .net web app. On attempting to ftp files (through various ftp software solutions) I get 0kb dlls copied up.
Have no problems with any other files i.e. aspx, config and exe files all copy.
On attempting to copy dll get the message:
Transfer failed. You are not permitted to transfer the file "mydodgy.dll"
I've tried recycling the process & stop / start iis but can get no further. Is there some permission I need to alter?
raymondp
06-30-2009, 07:02 AM
Can you send us your FTP log?
princebuster
07-01-2009, 02:17 AM
Currently testing with SmartFTP, I dropped a very small example dll 4kb and started the copy queue. The file showed as copied as a 0kb file, then disappeared as did not copy successfully. Log as follows:
[11:09:36] NOOP
[11:09:36] 200 NOOP command successful.
[11:09:39] TYPE I
[11:09:39] 200 Type set to I.
[11:09:39] SIZE DiscountExample.dll
[11:09:39] 550 The system cannot find the file specified.
[11:09:39] MDTM DiscountExample.dll
[11:09:39] 550 The system cannot find the file specified.
[11:09:39] STAT DiscountExample.dll
[11:09:40] 550 The system cannot find the file specified.
[11:09:40] CWD /bin/DiscountExample.dll
[11:09:40] 550 The system cannot find the file specified.
[11:09:40] TYPE A
[11:09:40] 200 Type set to A.
[11:09:40] PASV
[11:09:40] 227 Entering Passive Mode (89,1**,1**,**,***,46).
[11:09:40] Opening data connection to 89.1**.1**.** Port: 60206
[11:09:40] LIST -aL
[11:09:40] 0 bytes transferred. (0 bytes/s) (31 ms)
[11:09:40] 125 Data connection already open; Transfer starting.
[11:09:40] 226 Transfer complete.
[11:09:40] The operation has been added to the Transfer Queue. Check the Transfer Queue for the status.
[11:10:10] NOOP
[11:10:10] 200 NOOP command successful.
[11:10:21] TYPE I
[11:10:21] 200 Type set to I.
[11:10:21] SIZE DiscountExample.dll
[11:10:21] 550 The system cannot find the file specified.
[11:10:31] CWD /App_Data
[11:10:31] 250 CWD command successful.
[11:10:31] PWD
[11:10:31] 257 "/App_Data" is current directory.
[11:10:31] TYPE A
[11:10:31] 200 Type set to A.
[11:10:31] PASV
[11:10:31] 227 Entering Passive Mode (89,1**,1**,**,***,65).
[11:10:31] Opening data connection to 89.1**.1**.** Port: 60225
[11:10:31] LIST -aL
[11:10:31] 0 bytes transferred. (0 bytes/s) (46 ms)
[11:10:31] 125 Data connection already open; Transfer starting.
[11:10:31] 226 Transfer complete.
raymondp
07-01-2009, 09:58 AM
This is typically caused by the FTP clients Passive Mode setting. Try changing to Active Port mode. Passive Mode is a little finicky but its useful with networks that has firewalls. So you might also want to temporarily disable the firewall when you switch to Active Port mode. Or open port 21 and 20 on your firewall.
princebuster
07-07-2009, 10:36 AM
Now working. Thanks for help.
Prince Buster as in the old Blue Beat ska/reggae artist? What a hard man fe dead!
vBulletin® ©Jelsoft Enterprises Ltd.